Thanks for the reply. So will the bootstrapper file be .xml file? How can I include xml file into wxs file? Is there any good tutorial avaliable on bootstrapper? I find it very confusing topic with very little help available.
Hina Sebastian Brand-2 wrote: > > Hina, > > You have to split up that file into 2 files, one for the bootstrapper > and one for wix. > > > Best regards, > Sebastian Brand > > Instyler Software - http://www.instyler.com > > > On Oct 16, 2007, at 4:06 PM, hina1703 wrote: > >> >> Hello, >> >> I have a basic question. I am new to XML. I am trying to add a >> bootstrapper >> code to my wxs file. >> >> <?xml version="1.0" encoding="UTF-8"?> >> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/ >> 2003"> >> >> <ItemGroup> >> <BootstrapperFile Include="Microsoft.Net.Framework.2.0"> >> <ProductName>.NET Framework 2.0</ProductName> >> </BootstrapperFile> >> <BootstrapperFile Include=" Microsoft.Windows.Installer.3.1"> >> <ProductName>Windows Installer 3.1</ProductName> >> </BootstrapperFile> >> <BootstrapperFile Include="Microsoft.JSharp.2.0 "> >> <ProductName>Visual J# redistributable</ProductName> >> </BootstrapperFile> >> <BootstrapperFile Include="Microsoft.Sql.Server.Express.1.0"> >> <ProductName>SQL Server 2005 Express Edition</ProductName> >> </BootstrapperFile> >> </ItemGroup> >> <Target Name="Bootstrapper"> >> <GenerateBootstrapper >> ApplicationFile="app.msi" ApplicationName="My app" >> BootstrapperItems="@(BootstrapperFile)" OutputPath="bin" >> ComponentsLocation="Relative" Culture="pt-PT" >> Path="$(BootstrapperPath)" /> >> </Target> >> </Project> >> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> >> <Product Id="{18422F21-C884-45f3-A1BD-FAD31DBEC55B}" >> Name="Test_Dot_NET" >> Language="1033" Version="1.0.0.0" Manufacturer="TestM"> >> >> But it is giving me the error "XML document cannot contain multiple >> root >> level elements". How to use the bootstrapper code to create the >> installer? >> Is there any example available? >> >> Hina >> >> -- >> View this message in context: http://www.nabble.com/Adding- >> Bootstrapper-code-to-wxs-file.-tf4634424.html#a13234324 >> Sent from the wix-users mailing list archive at Nabble.com. >> >> >> ---------------------------------------------------------------------- >> --- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Adding-Bootstrapper-code-to-wxs-file.-tf4634424.html#a13234753 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users