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 to get MSI package full path name?


3 replies to this topic

simonlin

simonlin
  • Full Members
  • 9 posts

Posted 10 January 2007 - 13:50

Hi folks,

How could I know the MSI package name that I launched.
For example, if I launch a MSI - c:\temp\aaa.msi
I could get the path "c:\temp" by SourceDir.
But I don't know how to get the name "aaa.msi" in custom action.

Could anyone help me?

Regards,
Simon


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 January 2007 - 22:24

You could simply store it in the Property table (you shouldn't rename the msi file post-build anyway)

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 16 January 2007 - 00:13

Grab the "OriginalDatabase" property

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 January 2007 - 17:37

Wouldn't OriginalDatabase give you the (renamed) msi file from the Installer cahce in case of maintenance (repair, uninstall etc.)?