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
- :
- Absolute or relative path?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Sep 08, 2011
05:00 AM
Absolute or relative path?
Does InstallShield keep absolute or relative paths for a files added to the setup project? For example, InstallShield project is kept in:
C:\MyProject\Setup\Setup.ise
I add this file to setup package:
C:\MyProject\Bin\MyProject.exe
Now I take the whole MyProject directory to drive 😧
D:\MyProject\Setup\Setup.ise
D:\MyProject\Bin\MyProject.exe
Does MyProject.exe points now to correct file on D drive?
C:\MyProject\Setup\Setup.ise
I add this file to setup package:
C:\MyProject\Bin\MyProject.exe
Now I take the whole MyProject directory to drive 😧
D:\MyProject\Setup\Setup.ise
D:\MyProject\Bin\MyProject.exe
Does MyProject.exe points now to correct file on D drive?
(1) Reply
Sep 08, 2011
10:58 AM
That depends on how the link was added. Typically you'll end up a path variable referencing the files. It may be a new path variable of the format PATH_TO_MYPROJECT_FILES which references D:\MyProject, one like PATH_TO_SETUP_FILES which references D:\MyProject\Setup, or a predefined one like ISProjectFolder which references the folder containing your project. If it's the last it'll work straight up; if it's one of the others you will have to go to the Path Variables view to modify the location the path variable references. When entering the path variable reference location manually, you can use other path variables and .. to build relative paths.
However in the Express edition (which you appear to be using due to the .ise file extension) you cannot easily see and manipulate path variables, so it will be hard for you to predict or correct. If you are indeed using the Express edition, you should try to post the question in that forum instead.
However in the Express edition (which you appear to be using due to the .ise file extension) you cannot easily see and manipulate path variables, so it will be hard for you to predict or correct. If you are indeed using the Express edition, you should try to post the question in that forum instead.