Article ID: 189743 - Last Review: September 18, 2004 - Revision: 1.1 Description of Setup.lst sectionsThis article was previously published under Q189743 On This PageSUMMARY
The Package and Deployment Wizard (PDW) uses the information located in the
Setup.lst file to install applications. This file contains all relevant
information for the application to be installed. This article describes the
usage of each section in the Setup.lst file.
MORE INFORMATION
The Setup.lst file is created when the PDW is used to package an
application. It is typically located in the same directory as Setup.exe
(the application used to start the installation).
NOTE: The Setup.lst file is a text file that can be viewed and edited using any text editor. The information below is based on a simple Standard EXE that has been packaged using the Package and Deployment Wizard (PDW). The application installation process has two parts:
BootstrapThe Bootstrap section contains initial information used by Setup.exe to install the application. Included with this is:
[Bootstrap] SetupTitle=Install SetupText=Copying Files, please stand by. CabFile=Hello.CAB Spawn=setup1.exe Uninstal=st6unst.exe TmpDir=msftqws.pdw Cabs=1 Bootstrap FilesThe Bootstrap Files section contains all the necessary files to run the second part of the installation, Setup1.exe. These files must be in place for any Microsoft Visual Basic application to work correctly. The files listed here, one line per file, have the following arguments:File#=Filename, Install Macro, Register, Shared, Date, Size, Version where each argument corresponds to:
[Bootstrap Files] File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,6/13/98 12:00:00 AM,103424,6.0.81.64 File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1 File3=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,6/11/98 4:07:22 PM,17920,2.30.4261.1 File4=@ASYCFILT.DLL,$(WinSysPathSysFile),,,6/11/98 4:07:22 PM,147728,2.30.4261.1 File5=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,6/11/98 4:07:23 PM,164112,5.0.4261.1 File6=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,6/11/98 4:07:24 PM,598288,2.30.4261.1 File7=@MSVBVM60.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,6/13/98 12:00:00 AM,1409024,6.0.81.64 IconGroupsIn this example, there are two groups of icons to be created "Hello" and "Another Group." The IconGroups section dictates the name, location on the Start Menu, and whether the group is a common group or private group on NT machines. The IconGroups section also contains pointers to the "Hello" and "Another Group" sections. These sections instruct Setup1.exe what shortcuts to create including the application to run, title, and the Start In directory for the link. There will be a section name for each group of icons created.
[IconGroups] Group0=Hello PrivateGroup0=True Parent0=$(Programs) Group1=Another Group PrivateGroup1=True Parent1=$(Start Menu) [Hello] Icon1="Hello.exe" Title1=Hello StartIn1=$(AppPath) [Another Group] Icon1="Another.exe" Title1=Another Icon StartIn1=$(AppPath) SetupThe Setup section contains information on the application being installed:
[Setup] Title=Hello DefaultDir=$(ProgramFiles)\Hello AppExe=Hello.exe AppToUninstall=Hello.exe Setup1 FilesThis section is identical to the [BootStrap Files] section in usage. The difference is that the files listed here are installed by the second portion of the installation, Setup1.vbp, and consist of the specific files necessary to run the application.Example of [Setup1 Files] section: [Setup1 Files] File1=@Hello.exe,$(AppPath),,,6/17/98 11:58:25 AM,16384,1.0.0.0 ; The following lines may be deleted in order to obtain extra ; space for customizing this file on a full installation diskette. ; ; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX REFERENCES
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
189739
(http://support.microsoft.com/kb/189739/
)
How to use Package and Deployment Wizard installation macros
| Article Translations
|
Back to the top
