> > I have to install MS SQL 2005 Express as part of my > installation. I know the > best (and probably the only) way is to use a bootstrapper. > The one in VS2005 > Setup Project seems to be good (allows to include .NET 2.0 > Framework and > Windows Installer 3.1 on the installation CD). > > Since there is no bootstrapper for WiX yet my idea is to > create an "empty" > Setup Project in VS2005 to have the bootstrapper > configuration and then > overwrite original .msi file by my setup (with the same > filename) generated > by WiX. > > Is such scenario possible ? IOW aren't there any other > dependencies or > requirements for the .msi file generated by the Setup Project > I couldn't > do by WiX (I prefer to use stable version 2.0) ?
This might work but, I think you should just write your own MSBuild project to create the bootstrapper. Google "GenerateBootstrapper" and you should find plenty of information. The following is a sample pulled from our msbuild project, it doesn't install SQL Express but it could if you added another <BootstrapperPackage> to the <ItemGroup>. Just save that to a file and do: Msbuild /t:YourPackageName thefilename.xml And you get a directory filled with the copied in files and a setup.exe that checks for and installs the BootstrapperPackages. We use IEXPRESS.EXE to package up all the files and execute the right commands after the bootstrapper, you might want to look into that or GenerateBootstrapper's ApplicationFile parameter. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> <Visible>True</Visible> <ProductName>.NET Framework 2.0</ProductName> <Install>True</Install> </BootstrapperPackage> <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1"> <Visible>True</Visible> <ProductName>Windows Installer 3.1</ProductName> <Install>True</Install> </BootstrapperPackage> </ItemGroup> <Target Name="YourPackageName"> <MakeDir Directories="DevelopersEdition" /> <GenerateBootstrapper ApplicationName="JAMS Developers Edition" BootstrapperItems="@(BootstrapperPackage)" OutputPath="DevelopersEdition\" SupportUrl="http://www.mvpsi.com/Support.html" /> <Copy SourceFiles="DELicense.rtf" DestinationFolder="DevelopersEdition" /> <Copy SourceFiles="Release\SetupClient.msi" DestinationFolder="DevelopersEdition" /> <Copy SourceFiles="Release\SetupScheduler.msi" DestinationFolder="DevelopersEdition" /> </Target> </Project> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users