thanks, but I specifically need to know when the user supplies the /passive command-line switch. By default my uninstall is done at UIlevel=3 (or INSTALLUILEVEL_BASIC) witch is the same as using the /passive switch.
So how can i differentiate between the user doing "msiexec /passive /x {xxx-xxx}" vs a normal uninstall. See if it's a normal uninstall I want to display a "Remove User Data" message box and if it's a /passive uninstall I don't want to display anything. Pally Sandher wrote: > > http://msdn.microsoft.com/en-us/library/aa372096.aspx > > > Palbinder Sandher > Software Deployment & IT Administrator > T: +44 (0) 141 945 8500 > F: +44 (0) 141 945 8501 > > http://www.iesve.com > **Design, Simulate + Innovate with the <Virtual Environment>** > Integrated Environmental Solutions Limited. Registered in Scotland No. > SC151456 > Registered Office - Helix Building, West Of Scotland Science Park, > Glasgow G20 0SP > Email Disclaimer > > > > > -----Original Message----- > From: slmnow [mailto:slm...@hotmail.com] > Sent: 23 April 2009 14:55 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Retriving msiexec command-line options > > > Retrieving msiexec command-line options > > Anyone knows how to retrieve the command-line options used to start > installer? I understand how to pass/retrieve properties like > "PROPERTY=PropertyValue" via command line but I have no idea how to > retrieve options like /quiet /passive etc. > > Example: > msiexec /quiet (I would like to know is the user specified /quiet in the > command-line) > > > > > ------------------------------------------------------------------------------ > 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 > > -- View this message in context: http://n2.nabble.com/Retriving-msiexec-command-line-options-tp2683347p2683781.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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