cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gridman
Level 8

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?
Labels (1)
0 Kudos
(2) Replies
Not applicable

You can use SETUPEXEDIR property instead of SRCDISK, then get it by GetDisk function.
0 Kudos
gridman
Level 8

That worked. Thank you!
0 Kudos