home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 May / PCWorld_1999-05_cd.bin / Komunik / MSIE5 / ieak5cd.exe / cmakinst.exe / cmak.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1998-12-16  |  4.9 KB  |  174 lines

  1. [Version]
  2. Signature="$Chicago$"
  3. AdvancedINF=2.5
  4.  
  5. [DefaultInstall_NT]
  6. CustomDestination = CustomDestinationSection 
  7. AddReg=CMAK_AddReg
  8. CopyFiles=CMAK_Common,CMAK_Support,CMAK_INF,CMAK_CmHelp32,CMAK_Iexpress, CMAK_Winf95
  9. UpdateInis= CMAK_Links 
  10.  
  11. [DefaultInstall_95]
  12. CustomDestination = CustomDestinationSection 
  13. AddReg=CMAK_AddReg
  14. CopyFiles=CMAK_Common,CMAK_Support,CMAK_INF,CMAK_CmHelp32,CMAK_Iexpress
  15. UpdateInis= CMAK_Links 
  16.  
  17. [Remove]
  18. Cleanup=1
  19. SmartReboot=N
  20. BeginPrompt=RemoveBeginPromptSection
  21. EndPrompt=RemoveEndPromptSection
  22. CustomDestination=CustomDestinationSection
  23. DelFiles=CMAK_Common,CMAK_Support,CMAK_CmHelp32
  24. DelReg=CMAK_RegUninst
  25. UpdateInis=CMAK_Rem_Links
  26. DelDirs=CleanDirs
  27.  
  28. [RemoveBeginPromptSection]
  29. Prompt=%RemoveBeginPrompt%
  30. ButtonType=YESNO
  31. Title=%CMAKPROGNAME%
  32.  
  33. [RemoveEndPromptSection]
  34. Prompt=%RemoveEndPrompt%
  35.  
  36. [CleanDirs]
  37. ; 49500 = CMAK dir
  38. %49500%\%CMSUPPORTDIR%\%CMHELP_DIR%
  39. %49500%\%CMSUPPORTDIR%
  40. %49500%\Profiles
  41. %49500%
  42.  
  43. [CustomDestinationSection]
  44. ; the 5 is a combination of flags 1 and 4.  Flag 4 tells not to prompt the user
  45. ; for a directory.  Flag 1 tells Iexpress that I am interested in a value, not a
  46. ; key.  We use the program files dir as a default just in case.
  47. 49300,49302 = ProgramFilesDir, 5
  48. 49500 = CustomLDIDSection, 5 
  49.  
  50. [ProgramFilesDir]
  51. HKLM,"Software\Microsoft\Windows\CurrentVersion",'ProgramFilesDir',,"%24%\Program Files"
  52.  
  53. [CustomLDIDSection]
  54. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CMAK.EXE",'Path',,""
  55. "","","","","%49302%\CMAK"
  56.  
  57. [SourceDisksNames]
  58. 1 = , , 0 
  59.  
  60. [DestinationDirs]
  61. ; 49500 = the Program files dir
  62. ; 11 = the system directory
  63. CMAK_Iexpress = 11
  64. CMAK_INF =    11
  65. CMAK_Common = 49500
  66. CMAK_Support = 49500,%CMSUPPORTDIR%
  67. CMAK_CmHelp32 = 49500,%CMSUPPORTDIR%\%CMHELP_DIR%
  68.  
  69. ; note that 49500 = c:\program files\cmak
  70. [CMAK_Links] 
  71. setup.ini, progman.groups,, "CMAKfolder=%CMAKPROG_GRP%" ;creates folder 
  72. setup.ini, CMAKfolder,,"""%CMAKPROGNAME%"",""""""%49500%\CMAK.EXE"""""""
  73. setup.ini, CMAKfolder,, """%CMAKDOCNAME%"",""""""%49500%\%DOCEXE%"""""""
  74. setup.ini, CMAKfolder,, """%CMAKPRODOCNAME%"",""""""%49500%\%CMAKPRODOCFILE%"""""""
  75.  
  76. [CMAK_Rem_Links]
  77. setup.ini, progman.groups,, "CMAKfolder=%CMAKPROG_GRP%" ;creates folder if doesn't exist
  78. setup.ini, CMAKfolder,, """%CMAKPROGNAME%"""    ; deletes link
  79. setup.ini, CMAKfolder,, """%CMAKDOCNAME%"""    ; deletes link
  80. setup.ini, CMAKfolder,, """%CMAKPRODOCNAME%"""    ; deletes link
  81.  
  82. [CMAK_AddReg]
  83. "HKLM", "%CMAppPath%", "", "", "%49500%\CMAK.EXE"
  84. "HKLM", "%CMAppPath%", "Path", "", "%49500%"
  85. "HKLM", "%CMREGROOT%", "EULA", "", ""    
  86. "HKLM", "%CMREGROOT%", "OUTPUT", "", ""    
  87. "HKCR", "%CMAppName%", "", "", "%CMAppName%"
  88. "HKCR", "%CMAppName%\DefaultIcon", "", "", "%49500%\CMAK.EXE,1"
  89. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CMAK", "DisplayName", "", "Microsoft %CMAKPROG_GRP%"
  90. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CMAK", "UninstallString", "", "RunDll32 advpack.dll,LaunchINFSection %11%\CMAK.inf, Remove"
  91.  
  92.  
  93. [CMAK_RegUninst]
  94. "HKLM", "%CMAppPath%"
  95. "HKCR", "%CMAppName%"
  96. "HKLM", "%CMREGROOT%"    
  97. "HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CMAK"
  98.  
  99. ; the 32's are a flag to tell Iexpress not to show the version dialog and just not
  100. ; copy over newer files
  101.  
  102. [CMAK_Common]
  103. cmak.exe, , , 32
  104. cmakeula.txt, , , 32
  105. cmakread.htm, , , 32
  106. cmak_ops.chm, , , 32
  107.  
  108. [CMAK_Support]
  109. readme.txt, readme32.txt, , 32
  110. template.sed, , , 32
  111. template.cmp, template.pmc, , 32
  112. template.cms, template.smc, , 32
  113. template.inf, , , 32
  114. wininet.old, , , 32
  115. advapi32.old, , , 32
  116. comctl32.old, , , 32
  117. rnaph.old, rnaph.dll, , 32
  118.  
  119. [CMAK_CmHelp32]
  120. cmtrb32.rtf, , , 32
  121. cmctx32.rtf, , , 32
  122. cmmgr32.h, , , 32
  123. cmmgr32.hpj, , , 32
  124.  
  125. [CMAK_INF]
  126. cmak.inf, , , 32
  127.  
  128. [CMAK_Iexpress]
  129. iexpress.exe, , , 32
  130. makecab.exe, , , 32
  131. wextract.exe, , , 32
  132.  
  133. [CMAK_Winf95]
  134. w95inf16.dll, , , 32
  135. w95inf32.dll, , , 32
  136.  
  137. ; the 1 tells Iexpress which source disk name to use
  138. [SourceDisksFiles]
  139. cmak.exe=1
  140. cmakeula.txt=1
  141. cmtrb32.rtf=1
  142. cmctx32.rtf=1
  143. cmmgr32.h=1
  144. cmmgr32.hpj=1
  145. readme32.txt=1
  146. template.sed=1
  147. template.pmc=1
  148. template.smc=1
  149. template.inf=1
  150. cmak_ops.chm=1
  151. advpack.dll=1
  152. iexpress.exe=1
  153. makecab.exe=1
  154. wextract.exe=1
  155. w95inf16.dll=1
  156. w95inf32.dll=1
  157.  
  158. [Strings]
  159. CMAKPROG_GRP =            "Connection Manager Administration Kit"
  160. CMAKPROGNAME =            "Connection Manager Administration Kit"
  161. CMAKDOCNAME =            "Release Notes"
  162. CMAKPRODOCNAME =        "Product Documentation"
  163. CMAKPRODOCFILE =        "CMAK_OPS.chm"
  164. DOCEXE =            "cmakread.htm"
  165. CMHELP_DIR =            "CMHelp"
  166. CMREGROOT =            "Software\Microsoft\Connection Manager Administration Kit" ;; DO NOT LOCALIZE ;;
  167. CMAppPath =            "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\cmak.exe"
  168. CMAppName =            "Connection Manager Administration Kit"
  169. CMSUPPORTDIR =            "Support"
  170. RemoveEndPrompt =        "Connection Manager Administration Kit successfully Removed."
  171. RemoveBeginPrompt =        "Would you like to Uninstall Connection Manager Administration Kit?"
  172.  
  173.  
  174.