Here is the diagnostic output: Initial Items: BootstrapperFile Microsoft.JSharp.2.0 Microsoft.Net.Framework.2.0 Microsoft.Sql.Server.Express.1.0 Microsoft.Windows.Installer.3.1
Target "Bootstrapper" in file "C:\WIX\Test_Dot_NET\Bootstrapper.xml": MSBUILD : warning MSB4010: The "*.tasks" files could not be successfully loade d from their expected location "C:\WIX\Test_Dot_NET". Default tasks will not be available. C:\WIX\Test_Dot_NET\Bootstrapper.xml(18,7): error MSB4036: The "GenerateBootst rapper" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is " public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The ta sk is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\WIX\Test_Dot_NET" directory. Done building target "Bootstrapper" in project "Bootstrapper.xml" -- FAILED. Done building project "Bootstrapper.xml" -- FAILED. Project Performance Summary: 94 ms C:\WIX\Test_Dot_NET\Bootstrapper.xml 1 calls Target Performance Summary: 47 ms Bootstrapper 1 calls Build FAILED. MSBUILD : warning MSB4010: The "*.tasks" files could not be successfully loaded from their expected location "C:\WIX\Test_Dot_NET". Default tasks will not be av ailable. C:\WIX\Test_Dot_NET\Bootstrapper.xml(18,7): error MSB4036: The "GenerateBootstra pper" task was not found. Check the following: 1.) The name of the task in the p roject file is the same as the name of the task class. 2.) The task class is "pu blic" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks f iles located in the "C:\WIX\Test_Dot_NET" directory. 1 Warning(s) 1 Error(s) I don't have any *.tasks file in the project directory. Do I need to create one? Thanks, Hina John Vottero wrote: > > Try adding /v:diag to your command to get diagnostic output and post > that. > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:wix-users- >> [EMAIL PROTECTED] On Behalf Of hina1703 >> Sent: Thursday, October 18, 2007 5:27 PM >> To: wix-users@lists.sourceforge.net >> Subject: Re: [WiX-users] Adding Bootstrapper code to wxs file. >> (Somebody, please guide....) >> >> >> Thanks for your reply John. I tried to build bootstrapper by doing >> msbuild >> bootstrapper.xml, >> but I am getting error: >> error MSB4036: The "GenerateBootstrapper" task was not found. >> >> My bootstrapper.xml looks as below: >> >> <?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="Test_Dot_NET.msi" >> ApplicationName="Test_Dot_NET" >> BootstrapperItems="@(BootstrapperFile)" OutputPath="bin" >> ComponentsLocation="Relative" Culture="pt-PT" >> Path="C:\WIX\Test_Dot_NET\release" /> >> </Target> >> </Project> >> >> Please advise. >> >> Hina >> >> John Vottero wrote: >> > >> > You don't include the bootstrapper xml in the WiX file. You build >> your >> > app.msi from the WiX file. Then you build your bootstrapper by > doing: >> > >> > msbuild bootstrapper_project_file.xml >> > >> > >> >> -----Original Message----- >> >> From: [EMAIL PROTECTED] [mailto:wix-users- >> >> [EMAIL PROTECTED] On Behalf Of hina1703 >> >> Sent: Tuesday, October 16, 2007 12:48 PM >> >> To: wix-users@lists.sourceforge.net >> >> Subject: Re: [WiX-users] Adding Bootstrapper code to wxs file. >> >> (Somebody, please guide....) >> >> >> >> >> >> Please reply..... >> >> >> >> Hina >> >> >> >> hina1703 wrote: >> >> > >> >> > 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#a13237679 >> >> 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#a13284024 >> 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#a13294964 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