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 is SETUP.EXE beign launched from??


1 reply to this topic

abraxas

abraxas
  • Members
  • 27 posts

Posted 06 November 2001 - 15:21

Hello I need to find the location of setup.exe on the users machine.  SRCDIR does not work as it points to a temporary directory... this is useless for me.  I have an MSI file which setup.exe will launch in the same directory as the setup executable.  I just need to launch the external MSI file from the MSI.  Placing the MSI file in the supportdir is also impractical for me, so I'm a bit stuck at the moment :(

abraxas

abraxas
  • Members
  • 27 posts

Posted 08 November 2001 - 14:36

I guess this is hopeless... I tried using a few functions from kernel32.dll and they don't seem to help (they're process based for the most part - and the process from which the call orignates is not setup.exe but the IS Script Engine).  So I have to pretty much draw the conclusion that you can never actually know where setup.exe is being executed from on the users machine.