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
- :
- Disabling C drive installation
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
Sep 13, 2007
12:46 PM
Disabling C drive installation
Hello! I was wondering how could I do this, I have been searching and can't find the answer. Thanks!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 13, 2007
02:53 PM
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!
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!
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)