Use [#OpenVPNTapINF]
 
see also http://msdn2.microsoft.com/en-us/library/aa368609(VS.85).aspx 

________________________________

Van: [EMAIL PROTECTED] namens Vincent Privat
Verzonden: za 1/26/2008 15:40
Aan: wix-users@lists.sourceforge.net
Onderwerp: [WiX-users] Reference a BinaryKey in ExeCommand



Hi,

I'm trying to do this in a CustomAction:

    <!-- The TAP Adapter interface name. -->
    <Property Id='TAP_ADAPTER'>TAP0901</Property>

    <!-- OpenVPN binaries -->
    <Binary Id="OpenVPNTapInstallEXE"
SourceFile="binaries/openvpn/bin/tapinstall.exe" />
    <Binary Id="OpenVPNTapINF"
SourceFile="binaries/openvpn/driver/OemWin2k.inf" />

    <!-- See http://openvpn.net/INSTALL-win32.html -->
    <CustomAction Id="InstallOpenVPN" Return="check"
BinaryKey="OpenVPNTapInstallEXE"
                  ExeCommand="install [OpenVPNTapINF] [TAP_ADAPTER]" />

The problem is that OpenVPNTapINF is not a property but a Binary, and
I don't know how I can reference it in my ExeCommand arguments ? The
syntax above is not valid :/

Thanks for your help !

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to