Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 4

Disabling C drive installation

Hello! I was wondering how could I do this, I have been searching and can't find the answer. Thanks!
Labels (1)
0 Kudos
(1) Reply
Level 7

Interesting requirement! If you don't mind sharing, I'm curious about what's driving that. 🙂

Here's one idea...(Basic MSI)
After INSTALLDIR has been set (by you, by the DestinationFolder dialog, whatever), you can use an InstallScript CA to read the drive. Check out the function ParsePath. Then based on the drive that returns, you could handle it however you wanted to (return to DestinationFolder, abort...)

Hope that helps!
0 Kudos