You can suppress modularization by using soemthing like:

<Property Id="QtExecCmdLine" SuppressModularization="yes" />

Now the compiler will know that [QtExecCmdLine] refers to QtExecCmdLinenot 
QtExecCmdLine.GUID.

But there's a bigger problem.  This will define it in the property table and if 
other merge modules want to make use of this property you are going to have a 
conflict.   So the better thing to do would be to use the <SetProperty/> 
element 
to control when the value gets assigned so that you can be (more) certain of 
it's state when your CA gets called.

BTW, all of this advise was based on it sounding like you are using 
the immediate execution pattern showed on your link.  I wouldn't use this for 
more then launching apps and readme's.  I use CAQuietExec in deferred execution 
in a merge module to make calls to appcmd.exe and it works just fine since you 
want the property name modularized to match the custom action name.    This 
avoids the potential conflicts that I mentioned.

Chris

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



----- Original Message ----
From: Hinrich Aue <hinrich....@kofax.com>
To: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>
Sent: Wed, September 15, 2010 6:59:34 AM
Subject: [WiX-users] properties in merge modules

Hello group,

I have a problem with QtExec.

I am setting the  "QtExecCmdLine" property and all that - like described in
http://wix.sourceforge.net/manual-wix3/qtexec.htm
but the property gets renamed too:
"QtExecCmdLine.moduleguid"

this is because it is in a merge module.
I know that fragments are supposed to be the way to go in WiX - but not for me.
The merge modules are also published as a project itself (some kind od SDK).

So the question is:
is there a way to create a "global" property in a merge module?
My feeling is - if it is not possible - it is a bug.
Or - is the QtExec implementation? Should the <CustomAction> attach the GUID to 
the property on execute?

Thanks in advance

Hinrich Aue
Sr. SW Engineer
Kofax Development GmbH

Wentzinger Strasse 19
79106 Freiburg
Germany

Tel: +49 (0)761 452 69 57234
Fax: +49 (0)761 452 69 58734
hinrich....@kofax.com


________________________________

This communication is only for the use of the intended recipient. It may 
contain 
confidential or proprietary information. If you are not the intended recipient 
or have received this communication in error, please notify the sender via 
phone 
and destroy this communication immediately.

Kofax Deutschland AG
Sitz der Gesellschaft: Freiburg i.Brg.
Amtsgericht Freiburg: HRB 5319
Vorstand: Jörg Grundmann (Vorsitzender), Gabriele Froning
Aufsichtsratsvorsitzender: Stefan Gaiser

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to