Hi Graham, 

                                                I am a newbie here, but I don't 
think the bootstrapper items go in the wixproj.  I am doing something similar 
to you, but packaging the smo prereqs using the same bootstrapper as a separate 
process. 

                                                I build my application with 
wix, then use the bootstrapper utility to run the prereq msis (checks if 
already existing) and then install my app. 

                                                In order to install the prereqs 
though, I had to create a package for each one and put the package in the 
packages folder at: 

                                                Program Files\Microsoft Visual 
Studio 8\SDK\v2.0\Bootstrapper\Packages\ 

                                                Then I just create my 
bootstrapper using msbuild, not wix.  Here is my first sample build file for my 
bootstrapper: 

                                                <Project 
xmlns="http://schemas.microsoft.com/developer/msbuild/2003";> 

                                                                    <ItemGroup> 

                                                                        
<BootstrapperFile Include="Microsoft.Net.Framework.2.0"> 

                                                                            
<ProductName>Microsoft .NET Framework 2.0</ProductName> 

                                                                        
</BootstrapperFile> 

                                                                        
<BootstrapperFile Include="Microsoft.MSXML.6.0"> 

                                                                            
<ProductName>MS XML 6</ProductName> 

                                                                        
</BootstrapperFile> 

                                                                        
<BootstrapperFile Include="Microsoft.Sql.NativeClient"> 

                                                                            
<ProductName>Sql Native Client</ProductName> 

                                                                        
</BootstrapperFile> 

                                                                        
<BootstrapperFile Include="Microsoft.SqlServer.2005.XMO"> 

                                                                            
<ProductName>SMO Tools</ProductName> 

                                                                        
</BootstrapperFile> 

                                                                    
</ItemGroup> 

                                                                    <Target 
Name="BuildBootstrapper"> 

                                                                        
<GenerateBootstrapper 

                                                                            
ComponentsLocation="Relative" 

                                                                            
ApplicationFile="my.msi" 

                                                                       
ApplicationName="my app name" 

                                                                            
BootstrapperItems="@(BootstrapperFile)" 

                                                                            
OutputPath=".\output"              

                                                                         /> 

                                                                    </Target> 

                                                </Project> 

There are sample packages in the folder already, but let me know if you want to 
see one of mine. 

Hope this helps,  

                                                josh 

Josh Maletz
[EMAIL PROTECTED]

----------------------------------------

                                From: Graham Vickrage <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2007 11:01 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Launching MSI from MSI 

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.

postgresql-8.2-int.msi

Call Manger 4.0

Outputs="$(OutDir)\Setup.exe" Condition=" '$(OutputType)'=='package' ">
ApplicationName="Call Manager 4.0" 
BootstrapperItems="@(BootstrapperFile)" ComponentsLocation="Relative" 
Culture="en-US" OutputPath="$(OutputPath)" />

Project="$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets" />

$(BuildDependsOn);BuildBootstrapper

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
>
> C:\temp\WixUI\InstallPG.bat
> > ExeCommand='"[SourceDir]"' Return="ignore">
>
> . 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


-------------------------------------------------------------------------
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

Reply via email to