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

Where were They Installed?


1 reply to this topic

Phil Kreiker

Phil Kreiker
  • Members
  • 1 posts

Posted 03 July 2003 - 00:26

After another vendor's application has been installed with MSI, and after my application has been installed with MSI, I would like my application to determine the two folders into which been installed.

Seems like an easy request, but I'm stymied.
40 years programming experience. New to MSI.

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 03 July 2003 - 08:58

Your application needs to call MsiGetComponentPath.

Note that most software installs files into multiple folders, eg. Windows, System32, ProgramFiles, CommonFiles, etc. Make sure you pick the right component.