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 discover the location of the install exe?
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
‎Jun 12, 2009
11:29 AM
How to discover the location of the install exe?
Using installscript, how might I be able to discover the directory location of where the install exe is being executed?
For example, if a user downloads my install exe and runs it from D:\Software Downloads, how might I discover the "D:\Software Downloads" path?
For example, if a user downloads my install exe and runs it from D:\Software Downloads, how might I discover the "D:\Software Downloads" path?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 12, 2009
11:48 AM
Hi,
Did u tried SRCDIR or SourceDir?
Did u tried SRCDIR or SourceDir?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 12, 2009
12:46 PM
Thanks, you got me on the right path.
I ultimately had to get the SETUPEXEDIR property and return it as a variable. SRCDIR got me the location of the install .msi, and I needed the .exe.
I ultimately had to get the SETUPEXEDIR property and return it as a variable. SRCDIR got me the location of the install .msi, and I needed the .exe.