home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 June B / Pcwk6b98.iso / Outlk98 / En / OL98 / OMF95.CAB / omf95_1.cab / olfext.inf < prev    next >
Windows Setup INFormation  |  1998-03-04  |  6KB  |  191 lines

  1. ; This is the Setup information file to install Symantec WinFax Starter Edition
  2.  
  3. [version]
  4. signature="$CHICAGO$"
  5. ;need to tell INFInstall to use ADVPACK.DLL-it implements CustomDestination
  6. AdvancedINF=2.5
  7.  
  8. [DestinationDirs]
  9. ;>49000 indicates custom LDID
  10. MFCCopyFiles     = 11  ;System directory
  11. OlfCopyFiles     = 49001
  12. OlfCopyCover     = 49003
  13. OlfCopyECF       = 49002
  14. OlfCopyQView     = 49001
  15. UninstCopyFiles  = 17  ;INF directory
  16. OlfDataDirCreate = 49001,data  ;create the data directory
  17.  
  18. [DefaultInstall]
  19. CustomDestination = FileDest
  20. CopyFiles = MFCCopyFiles,OlfCopyFiles,OlfCopyCover,OlfCopyECF,OlfCopyQView,UninstCopyFiles
  21. CopyFiles = OlfDataDirCreate
  22. AddReg    = OlfReg,OlfECFReg,OlfQViewReg,OlfUninstReg
  23.  
  24.  
  25. ;==============================================================================================
  26. ; File Copy sections.
  27. ;==============================================================================================
  28. [MFCCopyFiles]
  29.  
  30. [OlfCopyFiles]
  31. Dccmodem.dat
  32. dccres32.dll
  33. dccutilc.dll
  34. dccutili.dll
  35. mime32.dll
  36. olfcover.dll
  37. olfext.dll
  38. filedb.dll
  39. wfxiif32.dll
  40. olfmod32.exe
  41. wfxmsrvr.exe
  42. olfsetup.exe
  43. reglib32.dll
  44. wfxres32.dll
  45. wfxrstrz.dll
  46. wfxut32i.dll
  47. wfxvw32i.dll
  48. wfxolhok.exe
  49. wfxhok16.dll
  50. olfext.hlp
  51. olfext.cnt
  52.  
  53. [OlfCopyCover]
  54. cover1.cvp
  55. cover2.cvp
  56. cover3.cvp
  57. cover4.cvp
  58. cover5.cvp
  59.  
  60. [OlfCopyECF]
  61. olfext.ecf
  62.  
  63. [OlfCopyQView]
  64. fvfxs.dll
  65. wfqvw32.hlp
  66. wfqvw32.cnt
  67.  
  68. [OlfDataDirCreate]
  69. mscreate.dir
  70.  
  71. [UninstCopyFiles]
  72. olfext.inf
  73.  
  74.  
  75. ;==============================================================================================
  76. ; Register section
  77. ;==============================================================================================
  78. [OlfReg]
  79. HKCU,"Software\Microsoft\Office\8.0\Outlook\OLFax"  ;uninstall
  80. HKLM,"Software\Microsoft\Office\8.0\Outlook\OLFax"  ;uninstall
  81. HKCU,"Software\Microsoft\Office\8.0\Outlook\OLFax\7.0\General","OutlookCoverPath",,"%49001%\cover\"
  82. HKCU,"Software\Microsoft\Office\8.0\Outlook\OLFax\7.0\General","OutlookDefaultCover",,"%49001%\cover\cover1.cvp"
  83. HKLM,"Software\Microsoft\Office\8.0\Outlook\OLFax\7.0\WinFax","Exepath",,"%49001%\"
  84. HKLM,"Software\Microsoft\Office\8.0\Outlook\OLFax\7.0\WinFax","Fax Path",,"%49001%\data\"
  85. HKLM,"Software\Microsoft\Office\8.0\Outlook\OLFax\7.0\WinFax","Cover Path",,"%49001%\cover\"
  86. HKLM,"Software\Microsoft\Office\8.0\Outlook\OLFax\7.0\WinFax","Version",,"8.0"
  87.  
  88. [OlfECFReg]
  89. HKLM,"SOFTWARE\Microsoft\Exchange\Client\Extensions","Outlook Setup Extension",,"4.0;Outxxx.dll;7;000000000000000;0000000;OutXXX"
  90.  
  91. [OlfQViewReg]
  92. HKCR,".fxo"  ;uninstall
  93. HKCR,".fxo",,,"FXOfile"
  94. HKCR,"FXOfile"  ;uninstall
  95. HKCR,"FXOfile",,,"FXO File"
  96. HKCR,"FXOfile","EditFlags",1,00,00,00,00
  97. HKCR,"FXOfile\DefaultIcon",,,"%49001%\fvfxs.dll"
  98. HKCR,"FXOfile\QuickView",,,"*"
  99. HKCR,"FXOfile\Shell\open\command",,,"%11%\viewers\quikview.exe -f:%1"  ;should get from reg.
  100. HKCR,"QuickView\.FXO"  ;uninstall
  101. HKCR,"QuickView\.FXO",,,"FXO File"
  102. HKCR,"QuickView\.FXO\{00021120-0000-0000-C000-000000000046}",,,"FXO Viewer"
  103. HKCR,"CLSID\{00021120-0000-0000-C000-000000000046}"
  104. HKCR,"CLSID\{00021120-0000-0000-C000-000000000046}",,,"FXO File Viewer"
  105. HKCR,"CLSID\{00021120-0000-0000-C000-000000000046}\InprocServer32",,,"%49001%\fvfxs.dll"
  106. HKCR,"CLSID\{00021120-0000-0000-C000-000000000046}\InprocServer32","ThreadingModel",,"Apartment"
  107.  
  108. [OlfUninstReg]
  109. ;Reg key that puts entry in Add/Remove files CPL applet dialog
  110. HKLM,%RegUninst%,"DisplayName",,"%UninstDesc%" 
  111. ;call ADVPACK uninstaller
  112. HKLM,%RegUninst%,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\olfext.inf, Uninstall" 
  113.  
  114.  
  115. ;==============================================================================================
  116. ; Directory specifications.
  117. ;==============================================================================================
  118. [FileDest]
  119. ;path for template
  120. ;7 means return path in Reg key && fail with message if Reg key doesn't exist
  121. 49001 = TemplPathKey,7
  122. ; we need to use a custom LDID that looks up a Reg key to append the Templates path and the LFN
  123. ; of the subdir - 5 means return path in Reg key && don't prompt user
  124. 49002 = DummyECFRegKey,5 
  125. 49003 = DummyCoverRegKey,5 
  126.  
  127. [TemplPathKey]
  128. "HKLM","SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE","Path","",""
  129. "","","","%FailMsg%",""
  130.  
  131. [DummyECFRegKey]
  132. "HKLM","SOFTWARE\DummyApp\DummyKey","","","%49001%\Addins"
  133.  
  134. [DummyCoverRegKey]
  135. "HKLM","SOFTWARE\DummyApp\DummyKey","","","%49001%\Cover"
  136.  
  137.  
  138. ;==============================================================================================
  139. ; Uninstall section
  140. ;==============================================================================================
  141. [Uninstall]
  142. BeginPrompt = BeginPromptSection
  143. EndPrompt = EndPromptSection
  144. CustomDestination = FileDest
  145. Delfiles = OlfCopyFiles,OlfCopyCover,OlfCopyECF,OlfCopyQView,UninstCopyFiles
  146. Deldirs = RemoveFolder
  147. ;Clean up uninstall keys
  148. DelReg  = OlfReg,OlfQViewReg,OlfUninstReg,DelUninstallKey
  149. AddReg  = OlfECFReg
  150. Cleanup = 1
  151.  
  152. [BeginPromptSection]
  153. Prompt = "%BeginPrompt%"
  154. ButtonType = YESNO
  155. Title = %PackageName%
  156.  
  157. [EndPromptSection]
  158. Prompt = "%EndPrompt%"
  159.  
  160. [RemoveFolder]
  161. %49002%
  162. %49003%
  163.  
  164. [DelUninstallKey]
  165. HKLM,%RegUninst%
  166.  
  167.  
  168. ;==============================================================================================
  169. ; SourceDisksNames section
  170. ;==============================================================================================
  171. [SourceDisksNames]
  172. 1 = "Olfax",,0
  173.  
  174.  
  175. ;==============================================================================================
  176. ; Strings section
  177. ;==============================================================================================
  178. [Strings]
  179. PackageName = "Symantec WinFax Starter Edition Extension"
  180. RegUninst   = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Olfax"
  181. UninstDesc  = "Symantec WinFax Starter Edition (Remove only)"
  182.  
  183. ;Error Messages
  184. FailMsg     = "Microsoft Outlook is required. Setup Incomplete."
  185. FailMsgNoQView = "Microsoft QuickView is required. Setup Incomplete."
  186.  
  187. ;Prompt for Uninstall
  188. BeginPrompt = "Are you sure that you want to remove Symantec WinFax Starter Edition?"
  189. EndPrompt   = "Symantec WinFax Starter Edition was successfully removed."
  190.  
  191.