Ok, got it working:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
        <Bundle Name="Bootstrap" Version="1.0.0.0" Manufacturer="Bootstrap"
UpgradeCode="537641ca-e876-4bcb-8d57-c6cdc8940c84">
                <BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense" />
                <!-- <Chain>
                        <MsiPackage
            Id="SevenZ465.msi" SourceFile="7z465.msi" Name="7z465.msi" />
                </Chain> -->
                <Chain>
                        <ExePackage SourceFile="7zS_Tools.exe" PerMachine="yes" 
/>
                </Chain>
        </Bundle>
</Wix>


Then I forgot to include WixBalExtension for linking:
candle.exe" setup.wxs
light.exe" -out setup.exe -ext WixBalExtension setup.wixobj -v


This should build the setup.exe

For calling a ExePackage I got it working but not for the MsiPackage.
Seems that burn is here under heavy development :-)

> It looks like you can set your EULA but I haven't gotten that far yet.

Think that cannot be done right now as a reference is set to
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense" />
and it seems that this has no ability to be configurable. Maybe in an
upcoming release...

Regards
Tobias

2010/12/3 Daniel Moody <dani...@gibbscam.com>:
> Like you, I've been playing around with Burn.  Here's what I got to work in
> the 3.6-1125 build:
> -------------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
>  <Bundle Name="Bootstrap" Version="1.0.0.0" Manufacturer="Bootstrap"
> UpgradeCode="537641ca-e876-4bcb-8d57-c6cdc8940c84">
>    <BootstrapperApplicationRef
> Id="WixStandardBootstrapperApplication.RtfLicense" />
>    <Chain>
>      <MsiPackage Id="GibbsMain"
> SourceFile="$(var.SolutionDir)GibbsCAMx64\bin\x64\Release\en-us\GibbsCAM2011
> _x64_v9.9.4.1.msi"/>
>    </Chain>
>  </Bundle>
> </Wix>
> -------------------------------------------
>
> This builds a setup.exe with its own GUI.  I don't know if there is a way to
> use whatever UI the MSI incorporates, and I haven't yet looked into writing
> my own UI.
>
> I've tried adding a few MSIs to the chain, but it has unpredictable results
> and hangs outright on a few of my "testing environment" VMs.
>
> It looks like you can set your EULA but I haven't gotten that far yet.
>
> I hope this helps.  Be sure to share any discoveries you make that might be
> helpful.
>
> Daniel Moody | QA Engineer | Gibbs and Associates
>
> Phone: 805-523-0004
> Email: dani...@gibbscam.com
>
> www.GibbsCAM.com
>
> -----Original Message-----
> Date: Fri, 3 Dec 2010 10:05:43 +0100
> From: Tobias S <tobias.s1...@gmail.com>
> Subject: [WiX-users] Burn Code sample
> To: "General discussion for Windows Installer XML toolset."
>        <wix-users@lists.sourceforge.net>
> Message-ID:
>        <aanlktint3um60+8ecdsyyrm8udnwzr8q0gebbd804...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> Am just playing a bit with burn from the newest build. My goal is just
> to have a working setup.exe package containing a msi to be installed.
> Can anybody post me a workign simple sample for that use case or give
> me a hint based on my below described solution? Based on the actual
> help and the included sample in the wix sources I don't get it.
>
> Thanks,
> Tobias
>
>
>
> Additionally my current code:
>
> --- BEGIN: setup.wxs ---
> <?xml version='1.0' encoding='utf-8'?>
> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
>        <Bundle Name="Aida.Installer.Bootstrapper" Version="1.0.0.0"
> UpgradeCode='9072A488-D27B-4443-B147-56D8C47E0E4E'>
>                <Chain>
>                        <MsiPackage Id='Wix' SourceFile='test.msi'
> Name='test' />
>                </Chain>
>        </Bundle>
> </Wix>
> --- END: setup.wxs ---
>
>
> --- BEGIN: setup.bat ---
> set wivVer=Wix36
>
> "%~dp0%wivVer%\candle.exe" setup.wxs
> "%~dp0%wivVer%\light.exe" -out setup.exe setup.wixobj -v
> --- END: setup.bat ---
>
>
> Given error:
> light.exe : error LGHT0001 : The given key was not present in the
> dictionary.
>
> Exception Type: System.Collections.Generic.KeyNotFoundException
>
> Stack Trace:
>   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
>   at Microsoft.Tools.WindowsInstallerXml.Binder.BindBundle(Output bundle,
> Strin
> g bundleFile)
>   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String
> file
> )
>   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)
> Binder temporary directory located at
> 'C:\Users\TobSch01\AppData\Local\Temp\noqf
> 2omy'.
>
>
>
> ------------------------------
>
> ----------------------------------------------------------------------------
> --
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
>
> ------------------------------
>
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> End of WiX-users Digest, Vol 55, Issue 13
> *****************************************
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to