home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 February / PCWorld_2002-02_cd.bin / Software / Servis / mfc42+msvcrt / vcredist.exe / RCDATA / CABINET / VCRedist.inf < prev    next >
Windows Setup INFormation  |  2000-08-30  |  3KB  |  109 lines

  1. [Version]
  2. Signature="$CHICAGO$"
  3. AdvancedINF=2.5,%BadAdvpackVer%
  4.  
  5. [SourceDisksNames]
  6. 10="%VCREDIST%",,0 
  7.  
  8. [DefaultInstall]
  9. ;existing gen install INF options
  10. Copyfiles=CopyFileSection
  11. AddReg=Addreg.9x
  12. RegisterOCXs=RegisterDlls
  13. RunPreSetupCommands=RunPreSetupCommandsSection
  14. RunPostSetupCommands=RunPostSetupCommandsSection
  15. CustomDestination=CustomDestinationSection
  16. SmartReboot=A
  17. Cleanup=1
  18. RequiredEngine=SETUPX,%EngineErrorString% 
  19.  
  20. [DefaultInstall.NT]
  21. ;existing gen install INF options
  22. Copyfiles=CopyFileSection.NT
  23. AddReg=Addreg.NT
  24. RegisterOCXs=RegisterDlls.NT
  25. RunPreSetupCommands=RunPreSetupCommandsSection
  26. RunPostSetupCommands=RunPostSetupCommandsSection
  27. CustomDestination=CustomDestinationSection
  28. SmartReboot=A
  29. Cleanup=1
  30. RequiredEngine=SETUPAPI,%EngineErrorString% 
  31.  
  32. [RunPreSetupCommandsSection]
  33. PreSetup.exe
  34.  
  35. [RunPostSetupCommandsSection]
  36. 50comupd.exe /Q:A /R:N 
  37.  
  38. [CopyFileSection]
  39. asycfilt.dll,,,96
  40. atl.dll,atla.dll,,96
  41. comcat.dll,,,96
  42. mfc42.dll,,,96
  43. msvcp60.dll,,,96
  44. msvcirt.dll,,,96
  45. msvcrt.dll,,,96
  46. oleaut32.dll,,,96
  47. olepro32.dll,,,96
  48. stdole2.tlb,,,96
  49.  
  50. [CopyFileSection.NT]
  51. asycfilt.dll,,,96
  52. atl.dll,atlu.dll,,96
  53. comcat.dll,,,96
  54. mfc42.dll,,,96
  55. mfc42u.dll,,,96
  56. msvcp60.dll,,,96
  57. msvcirt.dll,,,96
  58. msvcrt.dll,,,96
  59. oleaut32.dll,,,96
  60. olepro32.dll,,,96
  61. stdole2.tlb,,,96
  62.  
  63.  
  64. [RegisterDlls]
  65. %11%\atl.dll
  66. %11%\mfc42.dll
  67.  
  68. [RegisterDlls.NT]
  69. %11%\atl.dll
  70. %11%\mfc42u.dll
  71.  
  72.  
  73. [DestinationDirs]
  74. CopyFileSection=11
  75. CopyFileSection.NT=11
  76.  
  77. ;*****************************
  78. ; The following lines cause IExpress to require the existence
  79. ; of a reg value that enables the installation of the VC++ 6.0
  80. ; Redistribution Pack.
  81.  
  82. [CustomDestinationSection]
  83. 49030=DestA,18
  84. ;Add more here as needed
  85.  
  86. [DestA]
  87. HKLM,"SOFTWARE\Microsoft\VCRedist","RedistPack","",""
  88.  
  89. [AddReg.9x]
  90. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"atl.dll",,"%11%\regsvr32 /s %11%\atl.dll"
  91. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"comcat.dll",,"%11%\regsvr32 /s %11%\comcat.dll"
  92. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"mfc42.dll",,"%11%\regsvr32 /s %11%\mfc42.dll"
  93. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"oleaut32.dll",,"%11%\regsvr32 /s %11%\oleaut32.dll"
  94. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"olepro32.dll",,"%11%\regsvr32 /s %11%\olepro32.dll"
  95.  
  96. [AddReg.NT]
  97. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"atl.dll",,"%11%\regsvr32 /s %11%\atl.dll"
  98. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"comcat.dll",,"%11%\regsvr32 /s %11%\comcat.dll"
  99. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"mfc42.dll",,"%11%\regsvr32 /s %11%\mfc42.dll"
  100. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"mfc42u.dll",,"%11%\regsvr32 /s %11%\mfc42u.dll"
  101. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"oleaut32.dll",,"%11%\regsvr32 /s %11%\oleaut32.dll"
  102. HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"olepro32.dll",,"%11%\regsvr32 /s %11%\olepro32.dll"
  103.  
  104. [Strings]
  105. VCREDIST="Redistribution Pack"
  106. BadAdvpackVer="Incorrect version of advpack.dll. Please get new version from our web site."
  107. EngineErrorString="The required engine could not be found."
  108.  
  109.