I need to determine (in a custom action) if certain property was passed through command line. Is it possible?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Parsing command line parameters
Started by
igodunov
, Jan 10 2006 10:55
4 replies to this topic
Posted 10 January 2006 - 15:06
How about MsiGetProperty ?
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 January 2006 - 17:18
It doesn't work in my case. I need to determine if property passed through commandl line - not it's value.
Posted 11 January 2006 - 16:10
Maybe the Installer object has something? If not, I think you need to create a custom DLL and ask the Windows API what parameters were passed to MSIExec.
Or how about interrogating the log file?
Or how about interrogating the log file?
Edited by VBScab, 11 January 2006 - 16:32.
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.