patrick_arena
Level 4

Urgent Help plsss for find setup.exe directory

Hello everyone

Hello everyone
I'm in desperate need for help.
I've got an IS-MSI project with some redistributable installation.
After the installation I need to know the location of the setup.exe file.

Everything worked well before but now that i have inserted SQL among the prerequisites, it needs a restart therefore
the directory found by GetCurrentDir is C:\Windows\System32

What's more PACKAGE_LOCATION is empty...

I tried to put the Get CurrentDir before the prerequisites installation but even in the On Begin prerequisites start first
and this spoils the GetCu rrentDir location

So what can I do to get the setup.exe location?


Thank u in advance for whatever might help me.....


Patrick
Labels (1)
0 Kudos
2 Replies
kaneohe
Level 6

Maybe SRCDIR?
0 Kudos
phill_mn
Level 7

Consider SRCDIR, SourceDir, or SETUPEXEDIR. They each have caveats to consider.
http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/SETUPEXEDIR.htm
0 Kudos