home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 May / PCWK5A99.ISO / Freeware / Freezip / freezip.exe / freezip.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1999-02-05  |  6.1 KB  |  192 lines

  1. ;___________________________________________________________
  2. ;      FreeZip version 1.4.7
  3. ;      ⌐1997-1999 Dariusz Stanislawek 
  4. ;      email: ds@null.net
  5. ;      http://www.bigfoot.com/~freezip/
  6. ;___________________________________________________________
  7.  
  8. [version]
  9. signature="$CHICAGO$"
  10. AdvancedINF=2.5, "You need an updated version of Advpack.dll."
  11.  
  12. [DefaultInstall]
  13. CopyFiles=FreeZip.inf.copy,FreeZipCopy,fzHlpCopy
  14. AddReg=FreeZipReg,versionReg
  15.  
  16. [DefaultInstall.NT]
  17. CopyFiles=FreeZip.inf.copy,FreeZipCopy,fzHlpCopy
  18. AddReg=FreeZipRegNT,versionReg
  19.  
  20. [DestinationDirs]
  21. FreeZip.inf.copy=17
  22. FreeZipCopy=13
  23. fzHlpCopy=18
  24. sfxCopy=13
  25. TotallyClean=18
  26. TotallyCleanNT=17
  27.  
  28. [FreeZipCopy]
  29. unzip.exe
  30. zip.exe
  31. freezip.ico
  32.  
  33. [FreeZip.inf.copy]
  34. freezip.inf
  35.  
  36. [fzHlpCopy]
  37. freezip.hlp
  38.  
  39. [sfxCopy]
  40. unzipsfx.exe
  41.  
  42. [TotallyClean]
  43. freezip.gid
  44.  
  45. [TotallyCleanNT]
  46. freezip.PNF,,,1
  47.  
  48. [SourceDisksNames]
  49. 1="",,0
  50.  
  51. [SourceDisksFiles]
  52. freezip.inf=1
  53. unzip.exe=1
  54. zip.exe=1
  55. freezip.ico=1
  56. freezip.hlp=1
  57. ;unzipsfx.exe=1
  58.  
  59. [versionReg]
  60. HKCR,"freezip\Version","used",,"1.4.7"
  61. HKCR,"freezip\Version","1.4.7",,
  62.  
  63. [FreeZipReg]
  64. HKCR,"Directory\shell\Zip\command",,,"%13%\zip.exe -rS Free *"
  65. ;HKCR,"Directory\shell\Zip encrypted\command",,,"%13%\zip.exe -rSe Free *"
  66. HKCR,".zip",,,"freezip"
  67. HKCR,".zip","Content Type",,"application/x-zip-compressed"
  68. HKCR,"freezip",,,"ZIP File"
  69. HKCR,"freezip\DefaultIcon",,,"%13%\freezip.ico"
  70. HKCR,"freezip\Shell",,,"UnZip"
  71. HKCR,"freezip\Shell\UnZip\command",,,"%13%\unzip.exe ""%%1"""
  72. HKCR,"freezip\Shell\UnZip &here\command",,,"%13%\unzip.exe ""%%1"""
  73. HKCR,"freezip\Shell\ListZip\command",,,"%25%\command.com /k %13%\unzip.exe -lM ""%%1"""
  74. HKCR,"freezip\Shell\TestZip\command",,,"%25%\command.com /k %13%\unzip.exe -tM ""%%1"""
  75. HKCR,"freezip\Shell\Pick UnZip folder\command",,,"rundll32.exe advpack.dll,LaunchINFSection %17%\freezip.inf,Pickfolder"
  76. HKCR,"freezip\Shell\Reset UnZip folder\command",,,"rundll32.exe advpack.dll,LaunchINFSection %17%\freezip.inf,Resetfolder"
  77. HKCR,"freezip\Shell\FreeZip Help\command",,,"winhlp32.exe %18%\freezip.hlp"
  78. HKCR,"freezip\Shell\About FreeZip\command",,,"rundll32.exe advpack.dll,LaunchINFSection %17%\freezip.inf,About"
  79. ;HKCR,"freezip\Shell\Make SFX\command",,,"rundll32.exe advpack.dll,LaunchINFSection %17%\freezip.inf,sfx"
  80. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FreeZip,"DisplayName",,"FreeZip" 
  81. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FreeZip,"UninstallString",,"rundll32.exe advpack.dll,LaunchINFSection %17%\freezip.inf,Uninstall" 
  82.  
  83. [FreeZipRegNT]
  84. HKCR,"Directory\shell\Zip\command",,,"%13%\zip.exe -rS Free *"
  85. ;HKCR,"Directory\shell\Zip encrypted\command",,,"%13%\zip.exe -rSe Free *"
  86. HKCR,".zip",,,"freezip"
  87. HKCR,".zip","Content Type",,"application/x-zip-compressed"
  88. HKCR,"freezip",,,"ZIP File"
  89. HKCR,"freezip\DefaultIcon",,,"%13%\freezip.ico"
  90. HKCR,"freezip\Shell",,,"UnZip"
  91. HKCR,"freezip\Shell\UnZip\command",,,"%13%\unzip.exe ""%%1"""
  92. HKCR,"freezip\Shell\UnZip &here\command",,,"%13%\unzip.exe ""%%1"""
  93. HKCR,"freezip\Shell\ListZip\command",,,"%11%\cmd.exe /k %13%\unzip.exe -lM ""%%1"""
  94. HKCR,"freezip\Shell\TestZip\command",,,"%11%\cmd.exe /k %13%\unzip.exe -tM ""%%1"""
  95. HKCR,"freezip\Shell\Pick UnZip folder\command",,,"rundll32.exe advpack.dll,LaunchINFSection %17%\freezip.inf,Pickfolder"
  96. HKCR,"freezip\Shell\Reset UnZip folder\command",,,"rundll32.exe advpack.dll,LaunchINFSection %17%\freezip.inf,Resetfolder"
  97. HKCR,"freezip\Shell\FreeZip Help\command",,,"winhlp32.exe %18%\freezip.hlp"
  98. HKCR,"freezip\Shell\About FreeZip\command",,,"rundll32.exe advpack.dll,LaunchINFSection %17%\freezip.inf,About"
  99. ;HKCR,"freezip\Shell\Make SFX\command",,,"rundll32.exe advpack.dll,LaunchINFSection %17%\freezip.inf,sfxNT"
  100. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FreeZip,"DisplayName",,"FreeZip" 
  101. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FreeZip,"UninstallString",,"rundll32.exe advpack.dll,LaunchINFSection %17%\freezip.inf,Uninstall" 
  102.  
  103. ;-------------------------------------------------------------------
  104.  
  105. [Uninstall]
  106. DelReg=UnFreeZipReg
  107. DelFiles=FreeZipCopy,fzHlpCopy,sfxCopy,TotallyClean,TotallyCleanNT
  108. BeginPrompt=BeginPromptSection
  109. EndPrompt=EndPromptSection
  110. Cleanup=1
  111.  
  112. [UnFreeZipReg]
  113. HKCR,".zip"
  114. HKCR,"freezip"
  115. HKCR,"Directory\shell\Zip"
  116. HKCR,"Directory\shell\Zip encrypted"
  117. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FreeZip
  118.  
  119. [BeginPromptSection]
  120. Prompt="Uninstall FreeZip?"
  121. ButtonType=YESNO
  122. Title="FreeZip"
  123.  
  124. [EndPromptSection]
  125. Prompt="FreeZip was successfully removed"
  126.  
  127. ;-------------------------------------------------------------------
  128.  
  129. [About]
  130. BeginPrompt=BeginPromptSectionAbout
  131. EndPrompt=EndPromptSectionAbout
  132.  
  133. [BeginPromptSectionAbout]
  134. Title="FreeZip"
  135.  
  136. [EndPromptSectionAbout]
  137. Prompt="Version 1.4.7  ⌐1997-1999 Dariusz Stanislawek, ds@null.net   http://www.bigfoot.com/~freezip/"
  138.  
  139. ;-------------------------------------------------------------------
  140.  
  141. [Pickfolder]
  142. CustomDestination=UnZipDir
  143. AddReg=ChangeRegKeys
  144. BeginPrompt=BeginPromptSectionFolder
  145.  
  146. [BeginPromptSectionFolder]
  147. Title="FreeZip"
  148.  
  149. [UnZipDir]
  150. 49100=CustomUnZipDir,1
  151.  
  152. [CustomUnZipDir]
  153. ,,,"Where would you like to always decompress zip files?","C:\0"
  154.  
  155. [ChangeRegKeys]
  156. HKCR,"freezip\Shell\UnZip\command",,,"%13%\unzip.exe -d ""%49100%"" ""%%1"""
  157.  
  158. [Resetfolder]
  159. BeginPrompt=BeginPromptSectionReset
  160. AddReg=ResetRegKeys
  161. EndPrompt=EndPromptSectionReset
  162.  
  163. [BeginPromptSectionReset]
  164. Prompt="Reset UnZip folder?"
  165. ButtonType=YESNO
  166. Title="FreeZip"
  167.  
  168. [ResetRegKeys]
  169. HKCR,"freezip\Shell\UnZip\command",,,"%13%\unzip.exe ""%%1"""
  170.  
  171. [EndPromptSectionReset]
  172. Prompt="Zip files will be always decompressed to the current folder"
  173.  
  174. ;-------------------------------------------------------------------
  175.  
  176. [sfx]
  177. RunPostSetupCommands=sfxCommands
  178.  
  179. [sfxNT]
  180. RunPostSetupCommands=sfxCommandsNT
  181.  
  182. [sfxCommands]
  183. command.com /c copy /b %13%\unzipsfx.exe+Free.zip Free.exe
  184. %13%\zip.exe -A Free.exe
  185.  
  186. [sfxCommandsNT]
  187. cmd.exe /c copy /b %13%\unzipsfx.exe+Free.zip Free.exe
  188. %13%\zip.exe -A Free.exe
  189.  
  190. ;-------------------------------------------------------------------
  191.