Jump to content


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.
Photo

How do you retrieve the path of the .msi


4 replies to this topic

maznblue

maznblue
  • Full Members
  • 2 posts

Posted 03 April 2008 - 20:16

Is there a way to retrieve the path of the .msi file programmatically that is currently being installed?

VBScab

VBScab
  • Full Members
  • 436 posts

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.

maznblue

maznblue
  • Full Members
  • 2 posts

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.

VBScab

VBScab
  • Full Members
  • 436 posts

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! smile.gif
- 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.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 April 2008 - 23:47

Depending on your situation, SourceDir might help.