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: How to install files to different drives (Basic MSI)?
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
‎Jun 28, 2007
04:56 PM
How to install files to different drives (Basic MSI)?
If customers want to install some files on the different drive, such as e:, some files are still on [SystemFolder], such as c: where Windows is installed, How can I change the [InstallDir] to e:? while other files still install to c:.
If I change "TARGETDIR" to e: in directory table with InstallChangeFolder dialog, all folder names in directory table with TAGGETDIR as parent will change to e:.
How do I handle this in one installer?
Thanks,
If I change "TARGETDIR" to e: in directory table with InstallChangeFolder dialog, all folder names in directory table with TAGGETDIR as parent will change to e:.
How do I handle this in one installer?
Thanks,
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 29, 2007
12:24 AM
hai,
use different components. and set the destination to wherever you want.
will this cater your need?
-praveen
use different components. and set the destination to wherever you want.
will this cater your need?
-praveen
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 29, 2007
08:19 AM
Hi Praveen,
Thanks for your input.
I know I can set any destination for the component. But it's the end user who decide to install some important files to the different drive.
If I use a customized dialog to list available drives in user's computer, how do I change only the drive name in [INSTALLDIR] after user choose the drive?
Thanks,
Thanks for your input.
I know I can set any destination for the component. But it's the end user who decide to install some important files to the different drive.
If I use a customized dialog to list available drives in user's computer, how do I change only the drive name in [INSTALLDIR] after user choose the drive?
Thanks,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 04, 2007
08:06 AM
set the "ROOTDRIVE" property to the desired letter.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 04, 2007
10:31 AM
This is how I would do it using msi:
Create 2 Directories, for example INSTALLDIR and SAMPLESDIR. Have components that are to be installed under INSTALLDIR reference that directory or one of its sub directories and components that are to be installed under SAMPLESDIR reference that directory or one of its sub directories.
Create a dialog similar to the DestinationFolder one that lets the user set both the INSTALLDIR and SAMPLESDIR directories. A similar result could be achieved using a CustomSetup style dialog and multiple features.
Create 2 Directories, for example INSTALLDIR and SAMPLESDIR. Have components that are to be installed under INSTALLDIR reference that directory or one of its sub directories and components that are to be installed under SAMPLESDIR reference that directory or one of its sub directories.
Create a dialog similar to the DestinationFolder one that lets the user set both the INSTALLDIR and SAMPLESDIR directories. A similar result could be achieved using a CustomSetup style dialog and multiple features.