I am wondering, what is the recommended way to bundle my .msi file with the 
Windows Installer 4.5 redistributable and the .NET 4.0 framework using the WIX 
3.5 toolset.

I have currently added a <GenerateBootstrapper/> section to my .wixproj file:
    <GenerateBootstrapper ApplicationFile="$(TargetFileName)" ApplicationName="MyApp" BootstrapperItems="@(BootstrapperFile)" 
                          ComponentsLocation="Relative" CopyComponents="True" OutputPath="$(OutputPath)"
                          Path="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper" />

This works for the Installer 4.5, but gives me an error looking for the German 
.NET framework redistributables:
>> error MSB3152: The install location for prerequisites has not been set to 
>> 'component vendor's web site' and the file
>> 'DotNetFX40\dotNetFx40LP_Full_x86_x64de.exe' in item 'Microsoft .NET 
>> Framework 4 (x86 und x64)' can not be located on disk. 

If I omit the .NET framework, I get a "Setup.exe" file, the .msi file and a 
folder "WindowsInstaller4_5" with the installer prerequisites.
As far as I understand, I have to repackage all the files and folders myself 
and unpack them at my target system before I can start "setup.exe".

Is this the best way with WIX 3.5? 
Or should I use Burn? 
Or should I do something else?

Thanks, Ulrich





------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to