This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to identify the directory location of setup.exe at runtime
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 26, 2015
12:23 PM
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.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 27, 2015
04:56 AM
You can use SETUPEXEDIR for MSI based (Basic MSI, InstallScript-MSI) projects to get the setup.exe location.