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 find the setup.exe directory?


3 replies to this topic

vishwa

vishwa
  • Full Members
  • 63 posts

Posted 05 January 2006 - 08:19


Hello All,
Is there a way to find out in the installation scripts, the directory from which setup.exe is launched?

Thanks,
Vishwa

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 08 January 2006 - 13:51

Did you try SETUPEXEDIR ?

vishwa

vishwa
  • Full Members
  • 63 posts

Posted 11 January 2006 - 19:40

SETUPEXEDIR does not exist in InstallScript. The compiler failed saying it is an undefind variable.
I tried to use MsiGetProperty(), but the result was the same - undefined function.

Is there anyway I can use these MSI related variables/functions in InstallScript ?

Thanks,
Vishwa

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 January 2006 - 20:24

Apologies, I mixed it up. SETUPEXEDIR only exist for MSI projects.
In a InstallScript project you can use SRCDIR or in case of a self extracting package use PACKAGE_LOCATION.