Microsoft KB Archive/216215

= DOC: Site Server Component Deployment Projects INF Incomplete =

Article ID: 216215

Article Last Modified on 6/11/2002

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q216215



SUMMARY
The Site Server documentation for Component Deployment projects includes a sample .inf file. This sample is incomplete. A complete sample is included below.



MORE INFORMATION
The following sample .inf has been modified as follows:


 * The [Version] section was added to the file.
 * All lines not necessary to deploy and register DeployTest.dll as an Application file have been commented out.

To use this file, edit it so that it refers to the component that you wish to deploy and use CabArc to include it and the component DLL in a .cab file.

[Version] Signature  = "$CHICAGO$" Provider   = "Microsoft" AdvancedINF = 2.5

[RInstallApplicationFiles] RequiredEngine = SETUPAPI.DLL CopyFiles = testfiles RegisterOCXs = SelfRegisteringApplicationDlls
 * This is the first section executed
 * RunPostSetupCommands = RunPostSetupCommandsSection
 * RunPreSetupCommands = RunPreSetupCommandsSection


 * [RInstallSharedFiles]
 * This is the second section executed
 * RequiredEngine = SETUPAPI.DLL
 * RunPostSetupCommands = RunPostSetupCommandsSection
 * RunPreSetupCommands = RunPreSetupCommandsSection
 * CopyFiles = SharedDLLs
 * RegisterOCXs = SelfRegisteringSharedDlls


 * [RInstallSystemFiles]
 * This is the third section executed
 * RequiredEngine = SETUPAPI.DLL
 * RunPostSetupCommands = RunPostSetupCommandsSection
 * RunPreSetupCommands = RunPreSetupCommandsSection
 * CopyFiles = SystemDlls
 * RegisterOCXs = SelfRegisteringSystemDlls

[testfiles] DeployTest.dll
 * Test_dll_1.dll
 * bvt.exe


 * [SharedDLLs]
 * Test_dll_2.dll
 * Test_dll_3.dll


 * [SystemDlls]
 * Test_dll_5.dll
 * Test_dll_4.dll

[SelfRegisteringApplicationDlls] C:\WINNT\Profiles\rduke\Desktop\DeployTest\DeployTest.dll


 * [SelfRegisteringSharedDlls]
 * d:\source\active_bvt_area\dll_locations\SharedDLLs\Test_dll_2.dll
 * d:\source\active_bvt_area\dll_locations\SharedDLLs\Test_dll_3.dll


 * [SelfRegisteringSystemDlls]
 * d:\source\active_bvt_area\dll_locations\SystemDlls\Test_dll_4.dll
 * d:\source\active_bvt_area\dll_locations\SystemDlls\Test_dll_5.dll

[RUninstallApplicationFiles] DelFiles = testfiles UnRegisterOCXs = SelfRegisteringApplicationDlls


 * [RUninstallSharedFiles]
 * DelFiles = SharedDLLs
 * UnRegisterOCXs = SelfRegisteringSharedDlls

[SourceDisksFiles] DeployTest.dll = 1
 * Test_dll_1.dll = 1589
 * Test_dll_2.dll = 1589
 * Test_dll_3.dll = 1589
 * Test_dll_4.dll = 1589
 * Test_dll_5.dll = 1589
 * bvt.exe = 1589

[SourceDisksNames] 1 = CRSTestDisk,,0
 * 1589 = CRSTestDisk,,0

[DestinationDirs] testfiles = 0,C:\WINNT\Profiles\rduke\Desktop\DeployTest
 * testfiles = 0,d:\source\active_bvt_area\dll_locations
 * SharedDLLs = 0,d:\source\active_bvt_area\dll_locations\SharedDLLs
 * SystemDlls = 0,d:\source\active_bvt_area\dll_locations\SystemDlls


 * [RunPostSetupCommandsSection]
 * d:\source\active_bvt_area\dll_locations\bvt.exe


 * [RunPreSetupCommandsSection]

