Thanks for the advice to use a bootstrapper to achieve the below. Having decided to do this I am now trying to add the correct commands to the wixproj file. Below I am trying to install postgresql-8.2-int.msi before my own msi. However it doesn't know where to find the postgresql-8.2-int.msi file despite me putting it in every place I can think of including C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper.
It seems this has to be created as a package in its own right, which after following MS instructions does not work because I am working off a wix project file rather than a standard VS2005 one. I feel as if I'm missing the point here as it seems extremely complex to achieve a simple process of installing one msi after another. Does anyone have any tips or examples that are doing something similar, as the ones I have seen are only working with standard prerequisites and not necessarily with a wix project. <ItemGroup> <BootstrapperFile Include="postgresql-8.2-int.msi"> <ProductName>postgresql-8.2-int.msi</ProductName> </BootstrapperFile> <BootstrapperFile Include="CallManager.msi"> <ProductName>Call Manger 4.0</ProductName> </BootstrapperFile> </ItemGroup> <Target Name="BuildBootstrapper" Inputs="$(OutDir)$(TargetFileName)" Outputs="$(OutDir)\Setup.exe" Condition=" '$(OutputType)'=='package' "> <GenerateBootstrapper ApplicationFile="$(TargetFileName)" ApplicationName="Call Manager 4.0" BootstrapperItems="@(BootstrapperFile)" ComponentsLocation="Relative" Culture="en-US" OutputPath="$(OutputPath)" /> </Target> <Import Project="$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets" /> <PropertyGroup> <BuildDependsOn>$(BuildDependsOn);BuildBootstrapper</BuildDependsOn> </PropertyGroup> Graham Vickrage wrote: > I am a newbie and am strugglilng with the following problem. > > I need to install a 3rd party DB (postgresql) as part of my installation > proceedure. I have figured out how to do this silently using a .bat file > to launch the DB msi from my msi using > > <Property Id='MSINSTALLER'>C:\temp\WixUI\InstallPG.bat</Property> > <CustomAction Id="ManagedInstall" Property="MSINSTALLER" > ExeCommand='"[SourceDir]"' Return="ignore"></CustomAction> > > . However once the DB starts to install it comes up with the error message. > > "Another installation is in progress. You must complete that..." > > Is there any way around this, can someone suggest another way of doing > it that avoids this problem. > > Many thanks in advance. > > Graham > > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users