For deferred custom actions you pass parameters through CustomActionData.
See 
http://blogs.technet.com/alexshev/archive/2008/03/25/property-does-not-exist-or-empty-when-accessed-from-deferred-custom-action.aspx
 for details.

Alex



-----Original Message-----
From: Rajesh P [mailto:rajeshp.bl...@gmail.com] 
Sent: Friday, April 17, 2009 12:15 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Command Line Parameters to Deferred Custom Action on Vista

Hi,

I am developing a WiX installer for Vista. I have a requirement to send some
command line parameters to a Deferred Cusom action.
My inital attempts to send the parameters using public property as follows
have failed:

I tried : msiexec /i myinstaller.msi CMDLINEPROPERTY="arg1 arg2 arg3"

But till now i have not been able to get these arguments reach my custom
action where i am calling MSIGetProperty() go retrievet the property value.
I even tried reading the value from CustomActionData property , but no
success yet.

If anyone has successfully achieved this on a Vista platform , please help
me !!

Thanking you in Advance,

Rajesh
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to