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
- :
- Installing Program Files Under C Drive
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
‎Feb 15, 2012
10:04 AM
Installing Program Files Under C Drive
How do I configure InstallShield 2012 to install the program files in a directory off the C-Drive? The executable and other files would go under C:\MyApp.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 15, 2012
01:22 PM
This is generally a bad practice as beleive it or not, it's possible to have a Windows Installation without a C:\ Drive. Normally you would use [WindowsVolume]MyApp to set InstallDir to which 99% of the time is C:\ BTW, it's also another violation of best practices to install to root like that outside of ProgramFilesFolder. ProgramFilesFolder has been a standard since 1995... and you aren't supposed to do that and the days of Windows 3.1 are over. ( I know, but we've always done it that way.... )
Now I've also had people insist to install things like D:\Data\MyApp. When I mention this bad practice they say "oh, our customer will always have a 😧 drive" to which I say "what about your development test VM's? I don't see a 😧 on those!!"
My compromise in those situations is to default to [WindowsVolume]Data\MyApp and use a CustomAction that checks for a 😧 and it's suitability ( fixed disk not removable media ) and if valid use a Set Directory command to override it to the hard coded D:\Data\MyApp value.
Now I've also had people insist to install things like D:\Data\MyApp. When I mention this bad practice they say "oh, our customer will always have a 😧 drive" to which I say "what about your development test VM's? I don't see a 😧 on those!!"
My compromise in those situations is to default to [WindowsVolume]Data\MyApp and use a CustomAction that checks for a 😧 and it's suitability ( fixed disk not removable media ) and if valid use a Set Directory command to override it to the hard coded D:\Data\MyApp value.