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
- :
- How to find current directory where the install file resides.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Aug 13, 2019
10:24 AM
Can InstallShield script determine the current directory where the installation is occurring from? For example if I deploy my setup.exe file to a folder on the server named "C:\MyDeploy", and then proceed with the installation, is there a way for installscript to find out that the directory setup.exe resides in is "C:\MyDeploy"?
(1) Solution
Aug 13, 2019
10:40 AM
Hi @FlexeraFan ,
To find out current directory where the setup.exe resides:
- You can use SRCDIR variable which provides the location of an uncompressed setup.exe for InstallScript projects.
- If the location to a compressed single setup.exe is needed, the PACKAGE_LOCATION variable can be used.
Thanks,
Jenifer
(1) Reply
Aug 13, 2019
10:40 AM
Hi @FlexeraFan ,
To find out current directory where the setup.exe resides:
- You can use SRCDIR variable which provides the location of an uncompressed setup.exe for InstallScript projects.
- If the location to a compressed single setup.exe is needed, the PACKAGE_LOCATION variable can be used.
Thanks,
Jenifer