home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 July / PCWorld_2001-07_cd.bin / Software / Topware / w2ksp2en / w2ksp2.exe / i386 / adminpak.msi / adminpak.CAB / template.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1999-07-14  |  10.3 KB  |  279 lines

  1. ;===========================================================================
  2. ;
  3. ; All of the customizable sections of this file are in the [Strings] section
  4. ; at the bottom.
  5. ;
  6. ;===========================================================================
  7.  
  8.  
  9. ;=============================================
  10. ; These are global settings for the whole file.
  11. ;=============================================
  12.  
  13. [version]
  14. Signature=$chicago$
  15. AdvancedINF=2.5
  16.  
  17. [CmDial32.Dll]
  18.  
  19.  
  20. ; -------------------------------------------------------------------
  21. ; All User Installs
  22. ; -------------------------------------------------------------------
  23. [DefaultInstall]
  24. SmartReboot=N
  25. CustomDestination=CustInstDestSectionAllUsers
  26. RunPreSetupCommands=RunPreSetupCommandsSection
  27. CopyFiles=Xnstall.CopyFiles, Xnstall.CopyFiles.ICM
  28. AddReg=Xnstall.RenameReg, Xnstall.AddReg.AllUsers
  29. RegisterOCXs=RegisterOCXSection
  30.  
  31. ; -------------------------------------------------------------------
  32. ; Launches the All User postinstall commands
  33. ; -------------------------------------------------------------------
  34. [PostInstall]
  35. SmartReboot=N
  36. CustomDestination=CustInstDestSectionAllUsers
  37. RunPostSetupCommands=RunPostSetupCommandsSection
  38.  
  39. ; -------------------------------------------------------------------
  40. ; Single User installs cannot handle the RenameReg Section
  41. ; -------------------------------------------------------------------
  42. [DefaultInstall_SingleUser]
  43. SmartReboot=N
  44. CustomDestination=CustInstDestSectionSingleUsers
  45. RunPreSetupCommands=RunPreSetupCommandsSection
  46. CopyFiles=Xnstall.CopyFiles.SingleUser, Xnstall.CopyFiles.ICM
  47. AddReg = Xnstall.AddReg.Private
  48. RegisterOCXs=RegisterOCXSection
  49.  
  50. ; -------------------------------------------------------------------
  51. ; Launches the Single User postinstall commands
  52. ; -------------------------------------------------------------------
  53. [PostInstall_Single]
  54. SmartReboot=N
  55. CustomDestination=CustInstDestSectionSingleUsers
  56. RunPostSetupCommands=RunPostSetupCommandsSection
  57.  
  58. ; -------------------------------------------------------------------
  59. ; This file section sets up the desktop icon GUID and is thus
  60. ; only needed on legacy systems.
  61. ; -------------------------------------------------------------------
  62. [Xnstall_Legacy]
  63. SmartReboot=N
  64. CustomDestination=CustInstDestSectionAllUsers
  65. AddReg=Xnstall.AddReg.DesktopIcon, Xnstall.AddReg.Icon
  66.  
  67.  
  68. ; These section are kept for legacy compatibility but are no longer used.
  69.  
  70. ; This section was removed and its sections worked into DefaultInstall_SingleUser
  71. ; -------------------------------------------------------------------
  72. ; section to install if for a private individual
  73. ; -------------------------------------------------------------------
  74. [Xnstall_Private]
  75. ;SmartReboot=N
  76. ;CustomDestination=CustInstDestSection
  77. ;AddReg=Xnstall.AddReg.Private
  78.  
  79. ; This section was removed and its sections replaced by DefaultInstall
  80. ; -------------------------------------------------------------------
  81. ; section to install if profile for all users
  82. ; -------------------------------------------------------------------
  83. [Xnstall_AllUser]
  84. ;SmartReboot=N
  85. ;AddReg=Xnstall.AddReg.AllUsers
  86. ;CustomDestination=CustInstDestSection
  87.  
  88. ; -------------------------------------------------------------------
  89. ; Section used to uninstall Private user profiles
  90. ; -------------------------------------------------------------------
  91. [Remove_Private]
  92. Cleanup=1
  93. SmartReboot=N
  94. BeginPrompt=RemoveBeginPromptSection
  95. EndPrompt=RemoveEndPromptSection
  96. RunPreSetupCommands=RunPreUnInstCommandsSection
  97. CustomDestination=CustUnInstDestSectionPrivate
  98. DelFiles=Remove.DelFiles, Remove.DelFiles.ICM
  99. DelReg=Remove.DelReg.Private
  100. DelDirs=CleanDir
  101. RunPostSetupCommands=RunPostUnInstCommandsSection
  102.  
  103. ; -------------------------------------------------------------------
  104. ; Section used to uninstall All User profiles 
  105. ; (no all users in name for legacy reasons)
  106. ; -------------------------------------------------------------------
  107. [Remove]
  108. Cleanup=1
  109. SmartReboot=N
  110. BeginPrompt=RemoveBeginPromptSection
  111. EndPrompt=RemoveEndPromptSection
  112. RunPreSetupCommands=RunPreUnInstCommandsSection
  113. CustomDestination=CustUninstDestSectionAllUsers
  114. DelFiles=Remove.DelFiles, Remove.DelFiles.ICM
  115. DelReg=Remove.DelReg.AllUser
  116. DelDirs=CleanDir
  117. RunPostSetupCommands=RunPostUnInstCommandsSection
  118.  
  119. ; The following SetupCommandsSections allow you to run commands before or
  120. ; after the profile is installed.  The commands will only be executed once.
  121. ; Similarly the following UnInstCommandsSections will allow you to run
  122. ; commands before or after the profile is uninstalled.  An example command line
  123. ; is:
  124. ; Myprogram.exe /<switches> <options>
  125.  
  126. [RunPreSetupCommandsSection]
  127. ; Commands Here will be run Before Setup Begins to install
  128.  
  129. [RunPostSetupCommandsSection]
  130. ;Commands here will be run After setup finishes
  131.  
  132. [RunPreUnInstCommandsSection]
  133. ;Commands here will be run before Uninstall Begins
  134.  
  135. [RunPostUnInstCommandsSection]
  136. ;Commands here will be run after Uninstall Finishes
  137.  
  138. ; -------------------------------------------------------------------
  139. ; These are the registry entries for installation.
  140. ; -------------------------------------------------------------------
  141. [Xnstall.AddReg.DesktopIcon]
  142. "HKCR", "CLSID\%DesktopGUID%",,,"%ServiceName%"
  143. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\%DesktopGUID%",,,"%ServiceName%"
  144. "HKCR", "CLSID\%DesktopGUID%\ShellFolder","Attributes",1,"00","00","00","00"
  145. ; Please make sure the following three commands are alphabetized by the %Open%, %Delete%,
  146. ; and %Settings% entries defined in the Strings section
  147. ; the Connect Command
  148. "HKCR", "CLSID\%DesktopGUID%\Shell\Open\Command",,,"cmmgr32.exe ""%49000%\%ShortSvcName%.cmp"""
  149. "HKCR", "CLSID\%DesktopGUID%\Shell\Open",,,"%Open%"
  150. ; the Delete Command
  151. "HKCR", "CLSID\%DesktopGUID%\Shell\Delete\Command",,,"cmstp.exe /u ""%49000%\%ShortSvcName%\%ShortSvcName%.inf"""
  152. "HKCR", "CLSID\%DesktopGUID%\Shell\Delete",,,"%Delete%"
  153. ; the Properties Command
  154. "HKCR", "CLSID\%DesktopGUID%\Shell\Settings...\Command",,,"cmmgr32.exe /settings ""%49000%\%ShortSvcName%.cmp"""
  155. "HKCR", "CLSID\%DesktopGUID%\Shell\Settings...",,,"%Settings%"
  156.  
  157. [Xnstall.AddReg.AllUsers]
  158. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", "%49001%"
  159. "HKLM", "%AppAct%\Mappings","%ServiceName%","","%49001%\%ShortSvcName%.cmp"
  160.  
  161. [Xnstall.AddReg.Private]
  162. ; Single User Mappings is now written in code.
  163. ;"HKCU", "%AppAct%\Mappings","%ServiceName%","","%%UserProfile%%\%PathFromProfileDir%\%ShortSvcName%.cmp"
  164.  
  165. ; -------------------------------------------------------------------
  166. ; These are the registry settings which
  167. ; are deleted during uninstall.
  168. ; -------------------------------------------------------------------
  169. [Remove.DelReg.AllUser]
  170. "HKLM", "%AppAct%\%ServiceName%"
  171. "HKLM", "%AppAct%\Mappings","%ServiceName%"
  172. "HKCU", "%AppAct%\UserInfo\%ServiceName%"
  173. "HKCR", "CLSID\%DesktopGUID%"
  174. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\%DesktopGUID%"
  175. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%"
  176.  
  177. [Remove.DelReg.Private]
  178. "HKCU", "%AppAct%\%ServiceName%"
  179. "HKCU", "%AppAct%\Mappings","%ServiceName%"
  180. "HKCU", "%AppAct%\SingleUserInfo\%ServiceName%"
  181. "HKCU", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%"
  182.  
  183. [CleanDir]
  184. %49001%\%ShortSvcName%
  185.  
  186. ; -------------------------------------------------------------------
  187. ; These are the directory specifications.
  188. ; -------------------------------------------------------------------
  189.  
  190. [CustInstDestSectionAllUsers]
  191. 49000,49001=AllUSer_LDIDSection, 7
  192.  
  193. [CustInstDestSectionSingleUsers]
  194. 49000,49001=SingleUser_LDIDSection, 7
  195.  
  196. [CustUninstDestSectionAllUsers]
  197. 49000,49001=XConnMgrLDIDSectionAllUsers, 5
  198.  
  199. [CustUnInstDestSectionPrivate]
  200. 49000,49001=XConnMgrLDIDSectionPrivate, 5
  201.  
  202. [SingleUser_LDIDSection]
  203. "HKCU", "%AppAct%", "ProfileInstallPath", "%UnexpectedError%", ""
  204.  
  205. [AllUSer_LDIDSection]
  206. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CMMGR32.EXE", "ProfileInstallPath", "%UnexpectedError%", ""
  207.  
  208. [XConnMgrLDIDSectionAllUsers]
  209. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", ""
  210.  
  211. [XConnMgrLDIDSectionPrivate]
  212. "HKCU", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", ""
  213.  
  214. [DestinationDirs]
  215. Xnstall.CopyFiles=49001, %ShortSvcName%
  216. Xnstall.CopyFiles.SingleUser=49001, %ShortSvcName%
  217. Xnstall.CopyFiles.ICM=49001
  218. Remove.DelFiles=49001, %ShortSvcName%
  219. Remove.DelFiles.ICM=49001
  220.  
  221. [SourceDisksNames]
  222. 55=, , 0
  223.  
  224. ; -------------------------------------------------------------------
  225. ; These are the Prompt Sections
  226. ; -------------------------------------------------------------------
  227.  
  228. [RemoveBeginPromptSection]
  229. Prompt=%BeginPrompt%
  230. ButtonType=YESNO
  231. Title=%UninstallAppTitle%
  232.  
  233. [RemoveEndPromptSection]
  234. Prompt=%EndPrompt%
  235.  
  236.  
  237. [Strings]
  238. ; -------------------------------------------------------------------
  239. ; These are the non localizable strings...
  240. ; -------------------------------------------------------------------
  241. KEY_RENAME = "Software\Microsoft\Windows\CurrentVersion\RenameFiles"
  242. AppAct = "SOFTWARE\Microsoft\Connection Manager"
  243.  
  244. ; -------------------------------------------------------------------
  245. ; These are the localizable strings...
  246. ; -------------------------------------------------------------------
  247. UnexpectedError = "An unexpected error occurred.  Please reboot and try the installation again."
  248.  
  249. ; When you localize these commands (they are the commands for the Desktop Icon on legacy
  250. ; platforms) you must make sure to re-alphabetize the Registry add calls above.  Win95
  251. ; shows the menus in the order they were added and doesn't alphabetize them for you.
  252. Settings = "P&roperties"
  253. Open = "C&onnect"
  254. Delete = "&Delete"
  255.  
  256. ; -------------------------------------------------------------------
  257. ; The following strings are set by the Connection Manager Administration Kit
  258. ; Do not change any of the following strings
  259. ; -------------------------------------------------------------------
  260. ServiceName=""
  261. ShortSvcName=""
  262. DesktopGUID=""
  263. UninstallAppTitle=""
  264. DesktopIcon=""
  265. PhonebookPath=""
  266. BeginPrompt=""
  267. EndPrompt=""
  268. CmLCID="1033"
  269. DisplayLCID=""
  270.  
  271. [CMAK Status]
  272. InfVersion=4
  273.  
  274.  
  275.  
  276. [Extra Files]
  277.  
  278. [Merge Profiles]
  279.