bbackx Posted September 7, 2004 Share Posted September 7, 2004 My first unattended XP-install went prutty well, some minor details (typo's ) need to be adjusted though and some problems should be solved:First:The unattended install of 7-zip went fine, only: the zip-files are still opened with the crappy windows-thing as default. Is there a way to associate .zip, .rar etc... with 7-zip automaticly?Second (last already ):The adjustments in the register aren't executed, I have this in the .cmd-file:REGEDIT /wait /S c:\install\RegTweaks.regThe systemroot is C, and the file is off-course called regtweaks.reg and is situated in the install-folder. The regtweaks.reg file works fine, because when I execute it afterwards, everything is ok. What's wrong?[edit]Ow, there is a third The language of 7-zip should be dutch, can this be changed? Possibly some register tweak?[/edit] Link to comment Share on other sites More sharing options...
bbackx Posted September 7, 2004 Author Share Posted September 7, 2004 Third problem is already solved In the register:HKEY_CURRENT_USER/software/7-zipThe key with name Lang should be C:\Program Files\7-Zip\Lang\nl.txtWould it work when I say in my regtweaks.reg file:[HKEY_CURRENT_USER/software/7-zip]"Lang"="%systemdrive%\Program Files\7-Zip\Lang\nl.txt"Or do I have to say c: in stead of %systemdrive%? Link to comment Share on other sites More sharing options...
bbackx Posted September 7, 2004 Author Share Posted September 7, 2004 Ok, I think I found a sollution for the association of files also, for example the .zip:[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/.zip]@ = "7-zip.zip"(I suppose the @ stands for default? I'm not yet into this register-business)So, now windows knows he has to use 7-zip.zip for .zip-files, but wat is 7-zip.zip? Well, lets define it:[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip]@ = "zip Archive"[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip/DefaultIcon]@ = "C:\Program Files\7-Zip\Formats\zip.dll"[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip/shell][HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip/shell/open][HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip/shell/open/command]@ = "C:\Program Files\7-Zip\7zFMn.exe" "%1"This has NOT BEEN TESTED. I'll try it this afternoon, have to go now. I'll let you know if it worked Link to comment Share on other sites More sharing options...
bbackx Posted September 7, 2004 Author Share Posted September 7, 2004 Ok, it's possible to do it a bit shorter:[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/.zip]@ = "7-zip.zip"[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip]@ = "zip Archive"[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip/DefaultIcon]@ = "C:\Program Files\7-Zip\Formats\zip.dll"[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip/shell/open/command]@ = "C:\Program Files\7-Zip\7zFMn.exe" "%1"But he won't put the link to the folders in the key, it stays empty. How can this be solved? Link to comment Share on other sites More sharing options...
big_gie Posted September 7, 2004 Share Posted September 7, 2004 Don't forget to put double back slash in your tweaks:[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/.zip]@="7-zip.zip"[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip]@="zip Archive"[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip/DefaultIcon]@="C:\\Program Files\\7-Zip\\Formats\\zip.dll"[HKEY_LOCAL_MACHINE/SOFTWARE/Classes/7-zip.zip/shell/open/command]@="C:\\Program Files\\7-Zip\\7zFMn.exe\" \"%1\"" Link to comment Share on other sites More sharing options...
bbackx Posted September 7, 2004 Author Share Posted September 7, 2004 Don't forget to put double back slash in your tweaksIt seems to work perfect now thx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now