We don't use MSBuild and this is just a subset of the actual functionality
that is in the method we use. We have a custom build API that incorporates
this code. The code that I have written is much more robust and allows for
configuration / logging options beyond what the setup.proj offers. I just
posted this as a starting place for someone who would rather programatically
generate the setup.exe.
Regards,
//aj
On 6/16/07, Schrieken, Rene <[EMAIL PROTECTED]> wrote:
I'm not sure why you actually created a console app to do that?
If you put this in a file called setup.proj:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<BootstrapperFile Include="SQL.2005.Backwards.Compatibility">
<ProductName>SQL 2005 Backwards Compatibility</ProductName>
</BootstrapperFile>
<BootstrapperFile Include="Web.Services.Enhancements.2.0.SP2">
<ProductName>WSE 2.0</ProductName>
</BootstrapperFile>
</ItemGroup>
<Target Name="BuildBootstrapper">
<GenerateBootstrapper
ApplicationFile="MyInstall.msi"
ApplicationName="My Product"
<!-- ApplicationUrl=http://mycomputer -->
BootstrapperItems="@(BootstrapperFile)"
<!-- Path="" not needed if the SDK is installed otherwise copy the
the folders of the Bootstrapper directory to a known (relative)
location -->
ComponentsLocation="Relative"
CopyComponents="true"
OutputPath=".\output" />
</Target>
</Project>
And then run form the SDK command prompt:
msbuild setup.proj
You should achieve the same. That relieves you of having to compile stuff.
And you can call the wix compile and link tasks also from the setup.proj file
------------------------------
*From:* [EMAIL PROTECTED] on behalf of Aaron Shurts
*Sent:* Fri 6/15/2007 19:51
*To:* dave_c
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Bootstrap example
The following example generates a setup.exe using the SDK bootstrapper.
http://www.nabble.com/Sharing-some-bootstrap-information-tf3853598.html#a10917299
Regards,
//aj
On 6/15/07, dave_c <[EMAIL PROTECTED]> wrote:
>
>
> Hi there,
>
> Does anyone have an example bootstrap program I can get a hold of or can
> they point me in the right direction.
>
> I've got an MSI that I want/need to install followed by another one and
> then
> I need to run a self extracting executable (although this can probably
> be
> done as a custom action)
>
> Am I constrained in which language this is written in as well
>
> Cheers
>
> --
> View this message in context:
> http://www.nabble.com/Bootstrap-example-tf3929022.html#a11143252
> Sent from the wix-users mailing list archive at Nabble.com<http://nabble.com/>
> .
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users