PDA

View Full Version : Relative Paths.



gflengeris
05-18-2004, 05:06 PM
Can I set the path for my source files to be relative to where the installshield setup file and msi files are ran from?

This issue arised due to the fact that the files I want to copy to the installdir are in a constantly changing directory due to a release date included in the path.

For example the source path...C:\Files_05182004\Install\Installfiles

Can the setup be run from say the 'Install' level of the above directory since nothing changes except for root folder? Can I set installshield to pull the files relative to the setup.exe's location which is constant?

Is there another way this can be done?

oliverb
05-21-2004, 09:45 AM
You may want to use SRCDISK (contains the disk, NOT PATH, where the installation is launched from) or SRCDIR (contains the path where the installation is launched from).

HTH,