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
- :
- Re: Target Drive Changed From C: to D:
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
Aug 06, 2012
03:38 PM
Target Drive Changed From C: to D:
Hello.
I have a question for the community.
My installation gets put on the 😧 drive for my clients occasionally when I want it to stay on the C: drive. I would prefer to avoid "hard coding" the targetdir for the obvious reasons, if possible.
Is there a way I can keep dynamic links, avoid hard coding, etc. but ensure that the targetdir remains on the C: drive? Or at least give the user the control to choose, so I can tell them to always pick the C: drive?
Also, how is the MSI deciding to install to 😧 instead of C:? Is it choosing based on free drive space, etc?
Thanks,
Jeremy
I have a question for the community.
My installation gets put on the 😧 drive for my clients occasionally when I want it to stay on the C: drive. I would prefer to avoid "hard coding" the targetdir for the obvious reasons, if possible.
Is there a way I can keep dynamic links, avoid hard coding, etc. but ensure that the targetdir remains on the C: drive? Or at least give the user the control to choose, so I can tell them to always pick the C: drive?
Also, how is the MSI deciding to install to 😧 instead of C:? Is it choosing based on free drive space, etc?
Thanks,
Jeremy
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 08, 2012
03:31 AM
Hi
Yes, it'll be choosing based on the hard disk with the most free space. It's related to the way your TARGETDIR is resolving.
check out ROOTDRIVE property..
By adding a ROOTDRIVE property with a value of C:\ will force the msi to always install to C:
Yes, it'll be choosing based on the hard disk with the most free space. It's related to the way your TARGETDIR is resolving.
check out ROOTDRIVE property..
By adding a ROOTDRIVE property with a value of C:\ will force the msi to always install to C: