DOC: Site Server Component Deployment Projects INF Incomplete

ID: Q216215


The information in this article applies to:


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:

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]
;This is the first section executed
RequiredEngine = SETUPAPI.DLL
;RunPostSetupCommands = RunPostSetupCommandsSection
;RunPreSetupCommands = RunPreSetupCommandsSection
CopyFiles = testfiles
RegisterOCXs = SelfRegisteringApplicationDlls

;[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]
;Test_dll_1.dll
;bvt.exe
DeployTest.dll

;[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]
;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
DeployTest.dll = 1

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

[DestinationDirs]
;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
testfiles = 0,C:\WINNT\Profiles\rduke\Desktop\DeployTest

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

;[RunPreSetupCommandsSection] 


REFERENCES

Site Server / Creating a Component Development Project

Additional query words:


Keywords          : kbdocfix prodsitesrv3 
Version           : winnt:3.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: March 27, 1999