cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
FiMSI32
Level 2

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
Labels (1)
0 Kudos
(1) Reply
Tetsuo
Level 4

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:
0 Kudos