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
- :
- Custom INSTALLDIR on chained 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
‎Jan 31, 2017
09:06 AM
Custom INSTALLDIR on chained MSI
Hi,
I've added a chained MSI to my installer, but I want to be able to allow the user to set the INSTALLDIR of the chained MSI. Is there a way to do that?
Thanks,
Bobby
I've added a chained MSI to my installer, but I want to be able to allow the user to set the INSTALLDIR of the chained MSI. Is there a way to do that?
Thanks,
Bobby
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 31, 2017
09:26 AM
You could possibly allow the user to choose a second directory that is used for that installer.
Do you author the chained installer yourself or just including it in your overall install?
Generally, if you add an INSTALLDIR= to the command line then that allows you to pass the parameters. You might try that with the chained installer - but running it outside of yours for a test. Make sure you can control where it installs to by passing in the INSTALLDIR= parameter and if that works then you should just need to set the same command line. If you cannot do a command line with a chained installer then just launch it as a nested installer.
Remember, chained installers are only supported by MSIEXEC.EXE 5.0 or later. If all of your customers are not on that level or cannot install that version of MSIEXEC.EXE for any reason then they won't be able to run your installer. The older way of nesting installers can work fine, too, and definitely lets a person pass the parameters.
I hope that helps some.
Chad
Do you author the chained installer yourself or just including it in your overall install?
Generally, if you add an INSTALLDIR=
Remember, chained installers are only supported by MSIEXEC.EXE 5.0 or later. If all of your customers are not on that level or cannot install that version of MSIEXEC.EXE for any reason then they won't be able to run your installer. The older way of nesting installers can work fine, too, and definitely lets a person pass the parameters.
I hope that helps some.
Chad
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 31, 2017
10:39 AM
Sorry, should have said MSIEXEC.EXE 4.5 or later for chained installs. Probably OK, just a caveat to note in case you have customers on the older operating systems.
Chad
Chad