cancel
Showing results for 
Search instead for 
Did you mean: 
Pratik_Tayde
Pilgrim

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
Highlighted
rrinblue22
Pilgrim

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

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