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: accessing drive in InstallScript project
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Sep 05, 2007
01:34 PM
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
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
(2) Replies
‎Sep 05, 2007
03:57 PM
Perhaps see if one of SRCDISK, SRCDIR, or PACKAGE_LOCATION will do the trick.
‎Sep 05, 2007
04:08 PM
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!