Msiexec /I my.msi MYPROP=1 Will set the public property MYPROP. The you use it in a custom action condition for running your cmd file.
Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vivek Sent: Tuesday, September 16, 2008 8:46 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Passing Control parameter with MSIEXEC command Hi, What i am trying to achieve is, i have a file "xyz.cmd" which is doing some registry cleanup, i wish to run this file only if i pass a parameter from command line (e.g. msiexec /i myinstall.msi -myparam) to my msi file. Is there a way i can do this, i looked for the mail archive all i found is to enable a feature from command line. Thanks in advance. Vivek -- View this message in context: http://n2.nabble.com/Passing-Control-parameter-with-MSIEXEC-command-tp1093015p1093015.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users