Is there a way to retrieve the path of the .msi file programmatically that is currently being installed?
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.
How do you retrieve the path of the .msi
Started by
maznblue
, Apr 03 2008 20:16
4 replies to this topic
Posted 04 April 2008 - 09:05
Other than retrieving the entire command line string using an API call, I think the only other option would be to start the installer with the argument to create a log file and then parse that file.
- 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.
Posted 04 April 2008 - 16:29
Thanks for the reply, your the log file suggestions is the only thing I could think of as well.
Posted 04 April 2008 - 16:31
The major flaw in our thinking of course is that, if one is going to run a command line, one already knows the location of the MSI!
- 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.
Posted 05 April 2008 - 23:47
Depending on your situation, SourceDir might help.
Stefan Krüger
InstallSite.org twitter facebook