BillMcLean
08-25-2008, 09:47 PM
In the Build Settings dialog, there is the option for building a Standard and Custom bootstrapper. The Standard option does everything including providing the bootstrap builder with the correct package code from the Summary Information from the MSI file just built. However it seems to newly create both the bootstrap_config.xml and the bootstrapper_main.lua, making this unsuitable for custom work.
When building a Custom bootstrapper, you need to specify the packagecode on a custom commandline. In order to get the most current packagecode from the MSI, the MSI has to be built first. After the MSI has been built, the package code can be extracted from the MSI using using the vba script WiSumInf.
Unless I know the PackageCode ahead of time, I can not use msifactory.exe in a build script, since I am faced with the chicken and egg problem.
What sequence of command line tools can be used to:
1) Create the MSI File???
2) extract the package-code from the msi file.
3) create the bootstrap file presenting package-code.
Of course I want it to use the msiproj file to drive the process.
Bill
When building a Custom bootstrapper, you need to specify the packagecode on a custom commandline. In order to get the most current packagecode from the MSI, the MSI has to be built first. After the MSI has been built, the package code can be extracted from the MSI using using the vba script WiSumInf.
Unless I know the PackageCode ahead of time, I can not use msifactory.exe in a build script, since I am faced with the chicken and egg problem.
What sequence of command line tools can be used to:
1) Create the MSI File???
2) extract the package-code from the msi file.
3) create the bootstrap file presenting package-code.
Of course I want it to use the msiproj file to drive the process.
Bill