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
- :
- Accessing SRCDISK in Custom Action
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 26, 2011
05:51 PM
Accessing SRCDISK in Custom Action
I have a Basic MSI project and I need to access SRCDISK in an InstallScript custom action.
For some reason, SRCDISK has the value of C: instead of the CD-ROM drive.
What should I be doing instead?
For some reason, SRCDISK has the value of C: instead of the CD-ROM drive.
What should I be doing instead?
(2) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 26, 2011
08:58 PM
You can use SETUPEXEDIR property instead of SRCDISK, then get it by GetDisk function.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 27, 2011
12:08 PM
That worked. Thank you!