Showing results for 
Show  only  | Search instead for 
Did you mean: 
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.....

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

0 Kudos
Level 7

Consider SRCDIR, SourceDir, or SETUPEXEDIR. They each have caveats to consider.
0 Kudos