You can set properties on the command line.
Msiexec /i MyMsi.msi AUTOLOGIN=1
Then test the AUTOLOGIN property as appropriate, e.g. in the Condition for a
component or action.
--
Mike Dimmick
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Srilatha Punna
Sent: 14 February 2008 17:14
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom command line parameters in Wix
Run time, some thing like msiexec /i MyExe.exe -AUTOLOGIN
----- Original Message -----
From: Bob Arnson <mailto:[EMAIL PROTECTED]>
To: Srilatha Punna <mailto:[EMAIL PROTECTED]>
Cc: wix-users@lists.sourceforge.net
Sent: Wednesday, February 13, 2008 6:47 PM
Subject: Re: [WiX-users] Custom command line parameters in Wix
Srilatha Punna wrote:
Can we write custom command line switches in Wix?
Here's my scenario. I want to have an optional switch -AUTOLOGIN in the
command line, then evaluate if the switch is specified in Wix xml. Any help
on this appreciated.
Are you asking about build-time properties or runtime properties?
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
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