Translating from ancient to v3 WiX

2 messages Options
Embed this post
Permalink
John Cooper (Volt)

Translating from ancient to v3 WiX

Reply Threaded More More options
Print post
Permalink
I'm translating some v1 and v2 WiX files to v3 Wix, but I'm having trouble dealing with a CustomAction construct.

In the old source I'll see:

<CustomAction Directory=""
                                VBScriptCall="SOME-VB-SCRIPT-INLINE"
                                Id="I_DO_SOME_VB_INLINE">

Now, after passing the file through wixcop -f and doing some editing, candle reports that Directory is inappropriate for several reasons.  Candle also reports that this CA needs a BinaryKey, FileKey, or Property.

What v3 construct would best mimic the archaic behavior above?

--
John M. Cooper
Collabera at Microsoft

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Blair-2

Re: Translating from ancient to v3 WiX

Reply Threaded More More options
Print post
Permalink
Not sure, but could it possibly be this?

<CustomAction Id="I_DO_SOME_VB_INLINE"
Script="vbscript"><![CDATA[SOME-VB-SCRIPT-INLINE]]></CustomAction>

-----Original Message-----
From: John Cooper (Collabera) [mailto:[hidden email]]
Sent: Friday, October 23, 2009 12:56 PM
To: [hidden email]
Subject: [WiX-users] Translating from ancient to v3 WiX

I'm translating some v1 and v2 WiX files to v3 Wix, but I'm having trouble
dealing with a CustomAction construct.

In the old source I'll see:

<CustomAction Directory=""
                                VBScriptCall="SOME-VB-SCRIPT-INLINE"
                                Id="I_DO_SOME_VB_INLINE">

Now, after passing the file through wixcop -f and doing some editing, candle
reports that Directory is inappropriate for several reasons.  Candle also
reports that this CA needs a BinaryKey, FileKey, or Property.

What v3 construct would best mimic the archaic behavior above?

--
John M. Cooper
Collabera at Microsoft

----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users