Re: [WiX-users] Retriving msiexec command-line options

2009-04-30 Thread slmnow
100% agree. I should have put more thought into your last point. While this code has worked in my testing, I seriously doubt I could get away with using it in a final build. Bob Arnson-6 wrote: > > slmnow wrote: >> Maybe I didn't explain this well. Anyway I found a solution. >> >> Afte

Re: [WiX-users] Retriving msiexec command-line options

2009-04-29 Thread Bob Arnson
slmnow wrote: > Maybe I didn't explain this well. Anyway I found a solution. > > After searching my install log I found a very handy property: > CLIENTPROCESSID. > Your approach relies on functionality that: * Is undocumented. * Is unsupported. * Doesn't support programmatic i

Re: [WiX-users] Retriving msiexec command-line options

2009-04-29 Thread slmnow
Maybe I didn't explain this well. Anyway I found a solution. After searching my install log I found a very handy property: CLIENTPROCESSID. CLIENTPROCESSID is the process ID of the msiexec.exe that is working with the loaded msi database. I added this property to the wix project: Added

Re: [WiX-users] Retriving msiexec command-line options

2009-04-25 Thread Bob Arnson
slmnow wrote: > So how can i differentiate between the user doing "msiexec /passive /x > {xxx-xxx}" vs a normal uninstall. You can't. There's no difference between how ARP runs your uninstall and how someone might run it programmatically or via the command line. -- sig://boB http://joyofsetup

Re: [WiX-users] Retriving msiexec command-line options

2009-04-23 Thread Pally Sandher
From: slmnow [mailto:slm...@hotmail.com] Sent: 23 April 2009 16:03 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Retriving msiexec command-line options thanks, but I specifically need to know when the user supplies the /passive command-line switch. By default my uninstall i

Re: [WiX-users] Retriving msiexec command-line options

2009-04-23 Thread slmnow
land 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.source

Re: [WiX-users] Retriving msiexec command-line options

2009-04-23 Thread Pally Sandher
d 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-

[WiX-users] Retriving msiexec command-line options

2009-04-23 Thread slmnow
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: msiexe