Yes, this is how I got it working but my requirement was to have just command 
line switch -AUTOLOGIN instead of a property. So I wanted to know if there is a 
way we can do that.

Thanks,
Sri
  ----- Original Message ----- 
  From: Mike Dimmick 
  To: 'Srilatha Punna' ; 'Bob Arnson' 
  Cc: wix-users@lists.sourceforge.net 
  Sent: Thursday, February 14, 2008 1:43 PM
  Subject: RE: [WiX-users] Custom command line parameters in Wix


  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 

    To: Srilatha Punna 

    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://boBhttp://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

Reply via email to