Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

253 lines
9.3 KiB

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