Dynamic default directory

C

Colin

Is it possible to set the default directory to the partition with the
greatest amount of free space?

I'm responsible for distributing a .msi that can install to the default
directory. All the clients have room on their hard drive but it varies as
to which partition has the available space. I would like to avoid having
the client choose where to install the application.
 
K

Kallely Sajan

Yes, very much.
Create a custom action type 35 to set the parent directory of your
application to ROOTDRIVE
Sequence the custom action after CostFinalize in the InstallUISequence table
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top