Hi All, I am able to prepare bootsrapper for windows installer and framework 3.5SP1. It is working fine for XP but not in server 2003, it is failing due to windows installer already installed in server 2003. There should be condition on installer its self not to install windows installer on server 2003. It mean bootstrapper should be smart enough to detect OS and based on OS detected it should behavior. Not getting appropriate solution for OS depended Bootsrapper. Find following code, I have written in project file.
<ItemGroup> <BootstrapperFile Include="Microsoft.Net.Framework.3.5"> <ProductName>.NET Framework 3.5</ProductName> </BootstrapperFile> <BootstrapperFile Include="Microsoft.Windows.Installer.3.1"> <ProductName>Windows Installer 3.1</ProductName> </BootstrapperFile> </ItemGroup> <ItemGroup> <EmbeddedResource Include="LocalizationStrings.wxl" /> </ItemGroup> <Target Name="Bootstrapper" Inputs="$(OutDir)$(TargetFileName)" Outputs="$(OutDir)\Setup.exe" Condition=" '$(OutputType)'=='package' "> <GenerateBootstrapper ApplicationFile="$(TargetFileName)" ApplicationName="Streamline Installer" BootstrapperItems="@(BootstrapperFile)" ComponentsLocation="Relative" CopyComponents="True" OutputPath="$(OutputPath)" Path="C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\" /> </Target> <Import Project="$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets" /> <PropertyGroup> <BuildDependsOn>$(BuildDependsOn);Bootstrapper</BuildDependsOn> </PropertyGroup> Let me know if anybody have any solution on it. Regards, Jagdish Sakhiya "Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment." www.cybage.com ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users