cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Pratik_Tayde
Level 2

How to identify the directory location of setup.exe at runtime

I am building the project as compressed single executable and thus all the required files are embedded inside my setup.exe.
Now I want to get the path where my setup.exe is stored.

for e.g. my setup.exe is present at E:\test\setup.exe then I want the path E:\test
How can I get that?

Package_location is giving me the path of windows installer which is embeded in my setup.exe (E:\test\setup.exe)
and the srcdir is giving the path of temp folder.
Labels (1)
0 Kudos
(1) Reply
rrinblue22
Level 9

You can use SETUPEXEDIR for MSI based (Basic MSI, InstallScript-MSI) projects to get the setup.exe location.
0 Kudos