cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jedimaster_mark
Level 7

accessing drive in InstallScript project

Hello all:

Normally I work with MSI projects, but we maintain one (very important) project in InstallScript. This is the first I've worked with InstallScript, so I'm rather ill-versed in some of the nuances.

I have a project that can take one of two distinct install paths. The project will always be launched from a CD, and the decision on which path it takes will always be found within a file that has a known name on the CD.

So, I need to read in this text file. The problem is that I need to be able to access the CD's location. Is there a built-in property that always refers to the system's CD/DVD drive, or better yet a property that automatically refers to the location of the installer (in case the user has more than one CD drive?)?

Many thanks to all of you,
Mark
Labels (1)
0 Kudos

(2) Replies
RobertDickau
Flexera Alumni

Perhaps see if one of SRCDISK, SRCDIR, or PACKAGE_LOCATION will do the trick.
0 Kudos
jedimaster_mark
Level 7

RobertDickau wrote:
Perhaps see if one of SRCDISK, SRCDIR, or PACKAGE_LOCATION will do the trick.


Hmm, I imagine one of them should. Thanks for the pointer!
0 Kudos