home *** CD-ROM | disk | FTP | other *** search
/ Popular Software (Premium Edition) / mycd.iso / SYSTEM / PWIN97 / PRECOPY2.CAB / eudcedit.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1997-02-25  |  5.4 KB  |  144 lines

  1. ; EUDCEDIT.INF
  2. ;
  3. ; This is the Setup information file to install Eudcedit
  4. ; as an Optional Component.
  5. ;
  6. ; Copyright (c) 1993,1994 Microsoft Corporation
  7. ;
  8.  
  9. [version]
  10. LayoutFile=layout.inf
  11. signature="$CHICAGO$"
  12. SetupClass=BASE
  13.  
  14. ;Destination Directories for CopyFiles Sections
  15. [DestinationDirs]
  16. EudceditCopyFiles       = 24,%OEM_PROGRAMF%\%OEM_ACCESSOR%    ; LDID_SHARED
  17. EudceditCopyFiles_HELP  = 18                      ; LDID_HELP
  18. mfcdlls.files          = 11                      ; LDID_SYS
  19. Eudcedit.Win.Del        = 25                      ; LDID_SHARED
  20. Register_Eudcedit.Copy  = 17                      ; LDID_INF
  21.  
  22. [BaseWinOptions]
  23. Register_Eudcedit
  24.  
  25. [Register_Eudcedit]
  26. AddReg=Register_Eudcedit.AddReg
  27. CopyFiles=Register_Eudcedit.Copy
  28.  
  29. [Register_Eudcedit.Copy]
  30. eudcedit.inf
  31.  
  32. [Register_Eudcedit.AddReg]
  33. ;Registers Eudcedit so it shows up in Maint Mode Setup, set initial status to uninstalled:
  34. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents,"Eudcedit",,"eudcedit"
  35. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\eudcedit,INF,,"eudcedit.inf"
  36. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\eudcedit,Section,,"mseudcedit"
  37. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\eudcedit,Installed,,"0"
  38.  
  39.  
  40. [Optional Components]
  41. MSEudcedit
  42.  
  43. [MSEudcedit]
  44. CopyFiles      = EudceditCopyFiles, EudceditCopyFiles_HELP
  45. UpdateInis     = EudceditInis
  46. AddReg         = EudceditReg, Eudcedit.install.reg
  47. DelReg         = EudceditDelReg
  48. Delfiles       = Eudcedit.Win.Del
  49.  
  50. OptionDesc     = %MSEUDCEDITOPT_DESC%
  51. Tip            = %MSEUDCEDITOPT_TIP%
  52. Parent         = AccessTop
  53. InstallType    = 10 ;Typical, Custom.
  54. IconIndex      = 62  ;Eudcedit
  55. Uninstall      = MSEudcedit_remove
  56.  
  57. [test]
  58. AddReg         = EudceditReg
  59.  
  60. [MSEudcedit_remove]
  61. ; note that if you install any shared MFC DLL's, you should NOT delete them when
  62. ; uninstalling Eudcedit
  63. DelFiles       = EudceditCopyFiles, EudceditCopyFiles_HELP
  64. UpdateInis     = EudceditInis.remove
  65. AddReg         = Eudcedit.remove.reg
  66. DelReg         = EudceditReg
  67.  
  68. ;List of files to copy to the \chicago directory goes here:
  69. ;(need to make sure the gooey files are hidden in the AddReg section below)
  70. [EudceditCopyFiles]
  71. eudcedit.exe
  72.  
  73. [EudceditCopyFiles_HELP]
  74. EUDCEDIT.HLP
  75. EUDCEDIT.CNT
  76.  
  77. ;list of files to copy to the \chicago\system directory goes here:
  78. [mfcdlls.files]
  79. mfc30.dll
  80. mfcans32.dll
  81. mfco30.dll
  82. mfcd30.dll
  83. mfcn30.dll        ; new one added with mfc 3.01 version
  84. mfcuia32.dll
  85.  
  86. [Eudcedit.Win.Del]
  87. eudcedit.exe     ; bugbug (leave in for M8) - no longer in Windows dir
  88.  
  89. [EudceditInis]
  90. setup.ini, progman.groups,, "group4=%APPS_DESC%"                ;creates Accessories folder (if not already there0
  91. setup.ini, group4,, """%EUDCEDIT_LINK%"", ""%24%\%PROGRAMF%\%ACCESSOR%\EUDCEDIT.EXE"""   ;creates link in Accessories folder
  92.  
  93. [EudceditInis.remove]
  94. setup.ini, progman.groups,, "group4=%APPS_DESC%"     ;creates Accessories folder (if not already there0
  95. setup.ini, group4,, """%EUDCEDIT_LINK%"""             ;deletes link
  96.  
  97. [Eudcedit.install.reg]
  98. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\eudcedit,Installed,,"1"
  99.  
  100. [Eudcedit.remove.reg]
  101. ; sets status for Maint Mode Setup to 'not installed'
  102. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents\eudcedit,Installed,,"0"
  103.  
  104. [EudceditReg]
  105.  
  106. ; create the long-name for "Program Files"
  107. ; Note that when you rename a long name, VFAT changes the short name from
  108. ; foobar~1 to foobar~2.  To avoid this, we introduce a hack in the form of
  109. ; an intermediate rename
  110. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,2,%24%
  111. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,2,"%Old_Program_Files%" ; bugbug - leave in for M8
  112. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,2,!$!$!$!$.$!$
  113. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,2,"%Program_Files%,1"
  114. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,2,"%24%\%PROGRAMF%"
  115. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%ACCESSOR%,2,!$!$!$!$.$!$
  116. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,2,"%Accessories%,1"
  117.  
  118. ; set up the per-app path
  119. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\EUDCEDIT.EXE",,,"%24%\%PROGRAMF%\%ACCESSOR%\EUDCEDIT.EXE"
  120.  
  121. [EudceditDelReg]
  122.  
  123. ; User-visible strings
  124. [Strings]
  125. APPS_DESC = "╕╜╝■"
  126. EUDCEDIT_LINK = "╘∞╫╓│╠╨≥"
  127. EUDCEDIT_DOC = "╘∞╫╓│╠╨≥╬─╡╡"
  128. MSEUDCEDITOPT_DESC = "╘∞╫╓│╠╨≥"
  129. MSEUDCEDITOPT_TIP = "╙├╙┌┤┤╜¿╙├╗º╢¿╥σ╡─╫╓╖√╡─▒α╝¡╞≈íú"
  130.  
  131. ; Directory names - note that that short versions must match the truncated
  132. ; 8 char names for the long versions, or else we're busted!
  133. ; also need to put the short versions in the [DestinationDirs] section above
  134. ; Used by eudcedit, hypertrm, backup, paint, & marvel
  135. Old_Program_Files = "Old Program Files"    ; bugbug - leave for M8
  136. OLD_PROGRAMF = "Programf"    ; bugbug - leave for M8
  137. Program_Files = "Program Files"
  138. PROGRAMF = "Progra~1"    ; first 6 chars of Program_Files, + "~1"
  139. OEM_PROGRAMF = "Progra~1"    ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
  140. Accessories = "Accessories"
  141. ACCESSOR = "Access~1"    ; first 6 chars of Accessories, + "~1"
  142. OEM_ACCESSOR = "Access~1"    ; first 6 chars of Accessories, + "~1"  - in OEM codepage (not Ansi)
  143.  
  144.