User Tools

Site Tools


userspace:7-zip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userspace:7-zip [2013/09/09 14:26]
ME_AS
userspace:7-zip [2021/08/23 08:37] (current)
Line 2: Line 2:
 Script by Lars_k \\ Script by Lars_k \\
 (ME_AS: Added Regfile (FileExtensions linked to 7-Zip)) \\ (ME_AS: Added Regfile (FileExtensions linked to 7-Zip)) \\
 +(dominik: Hint for Windows 10)\\
 Tested with opsi 4.0.1 \\  Tested with opsi 4.0.1 \\ 
 Test with W7 32 & 64 Bit \\  Test with W7 32 & 64 Bit \\ 
 The installion-files available Download from : [[http://www.7-zip.org/]] \\ The installion-files available Download from : [[http://www.7-zip.org/]] \\
  
 +Update for Windows 10: 
 +Replace
 +<code>
 +if not ( $NTVersioninfo$ >= "5.1" )
 +</code>
 +by
 +<code>
 +if CompareDotSeparatedNumbers(GetMsVersionInfo,"6.0") < "0"
 +</code>
 +Do that in both scripts!\\
 +You may also want to remove the Variable $NTVersioninfo$ from script.\\
 +This change is required because "GetMsVersionInfo" returns "10.0" (with dot!) when used under win10.\\
 +That is not working with "greater as", "smaller as" comparator.\\
 +
 +Minor Bug: File extensions are linked with 7zip, but 7zip does not show that in its options.
  
 Tree: \\ Tree: \\
Line 95: Line 111:
 [Sub_uninstall] [Sub_uninstall]
 ; Prüft ob eine 64 Bit Version installiert ist. ; Prüft ob eine 64 Bit Version installiert ist.
-if ( FileExists("%ProgramFiles64Dir%\7-zip") )+; Ergänzt. Prüft auf vorhandene uninstall.exe da z.B. benutzte .dlls bis zum reboot im Verz. bleiben und inst. dann scheitert 
 +if ( FileExists("%ProgramFiles64Dir%\7-zip\uninstall.exe") )
  comment "64 Bit Version gefunden"  comment "64 Bit Version gefunden"
  Set $uninstallstring$ = "MsiExec"  Set $uninstallstring$ = "MsiExec"
Line 105: Line 122:
  
 ; Prüft ob eine 32 Bit Version installiert ist. ; Prüft ob eine 32 Bit Version installiert ist.
-if ( FileExists("%ProgramFiles32Dir%\7-zip") )+; Ergänzt. Prüft auf vorhandene uninstall.exe da z.B. benutzte .dlls bis zum reboot im Verz. bleiben und inst. dann scheitert 
 +if ( FileExists("%ProgramFiles32Dir%\7-zip\uninstall.exe") )
  comment "32 Bit Version gefunden"  comment "32 Bit Version gefunden"
  Set $uninstallstring$ = "%ProgramFiles32Dir%\7-zip\Uninstall.exe"   Set $uninstallstring$ = "%ProgramFiles32Dir%\7-zip\Uninstall.exe" 
userspace/7-zip.1378736783.txt.gz · Last modified: 2021/08/23 08:37 (external edit)