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: Running a separate installer with no conditions
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 13, 2009
04:11 PM
Running a separate installer with no conditions
I'm trying to use a Basic MSI project to run multiple install programs based on certain conditions, but without having it install anything on its own. Some of the installs are conditional and I've handled those, but what's the best way to run a separate installer that has no conditions? Any ideas??
Thanks!
Clark
Thanks!
Clark
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2009
05:41 PM
Are you using the Chained MSI method?
Let me know,
Bill V.
Let me know,
Bill V.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2009
10:15 AM
I wasn't, but after you mentioned it, I read up on chained msi and tried setting it up, but I'm having problems. Does the chained .msi file need to be installed with one of the components?
Also, is the chained .msi file supposed to run silently with arguments passed from the main install, or is the full .msi installer supposed to be launched? Like I said, I haven't gotten it to work yet, so I'm still unsure how it is supposed to work.
Thanks,
Clark
Also, is the chained .msi file supposed to run silently with arguments passed from the main install, or is the full .msi installer supposed to be launched? Like I said, I haven't gotten it to work yet, so I'm still unsure how it is supposed to work.
Thanks,
Clark
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2009
10:38 AM
Hello again,
The Chained MSI can run with its own settings. You can pass it certain command lines. There is one issue I am not very fond of for Chained MSI(s) though...
That is if the original MSI is installed with a couple MSI(s) chained, and the original MSI is later uninstalled, the chained MSI(s) get uninstalled automatically as well. But to counter this in a way you can uninstall any one of the chained MSI(s) on their own without affecting the other MSI(s).
Your standard options for a chained MSI in IS2009 are as follows:
Installation (run-time path): Where is the MSI located
Product code: Pretty self explanatory
UI level: Choices are pretty standard
Full UI (/qf)
Basic UI (/qb)
Reduced UI (/qr)
No UI (/qn)
Install condition: Any standard conditional statement
Install properties: So you can declare values for any Installer Property
Removal condition: Any standard conditional statement. The default of course is REMOVE="ALL"
Removal properties: So you can declare values for any Installer Property for use during uninstall
Release flags: To declare which builds you want the chained MSI to be part of.
And you can do anything you like within the chained MSI itself.
I hope this helps. Let me know if you have any other questions too.
Thanks,
Bill V.
I attached a screen shot of the Chained MSI configuration screen for reference to these options.
The Chained MSI can run with its own settings. You can pass it certain command lines. There is one issue I am not very fond of for Chained MSI(s) though...
That is if the original MSI is installed with a couple MSI(s) chained, and the original MSI is later uninstalled, the chained MSI(s) get uninstalled automatically as well. But to counter this in a way you can uninstall any one of the chained MSI(s) on their own without affecting the other MSI(s).
Your standard options for a chained MSI in IS2009 are as follows:
Installation (run-time path): Where is the MSI located
Product code: Pretty self explanatory
UI level: Choices are pretty standard
Full UI (/qf)
Basic UI (/qb)
Reduced UI (/qr)
No UI (/qn)
Install condition: Any standard conditional statement
Install properties: So you can declare values for any Installer Property
Removal condition: Any standard conditional statement. The default of course is REMOVE="ALL"
Removal properties: So you can declare values for any Installer Property for use during uninstall
Release flags: To declare which builds you want the chained MSI to be part of.
And you can do anything you like within the chained MSI itself.
I hope this helps. Let me know if you have any other questions too.
Thanks,
Bill V.
I attached a screen shot of the Chained MSI configuration screen for reference to these options.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2009
11:11 AM
Thanks for the information.
I actually prefer that the chained .msi gets uninstalled when you uninstall the main installer, so that's nice.
However, I would like to have the user specify the target directory in the main installer and then pass that parameter to the chained .msi. I assume I would put this information in the Install properties field in the chained msi window. Do you know what syntax I should use for that? I tried:
[CODE]TARGETDIR="[TARGETDIR]"[/CODE]
but that seemed to install my chained .msi to my external hard drive (not sure how that happened). Any thoughts?
Thanks!
Clark
I actually prefer that the chained .msi gets uninstalled when you uninstall the main installer, so that's nice.
However, I would like to have the user specify the target directory in the main installer and then pass that parameter to the chained .msi. I assume I would put this information in the Install properties field in the chained msi window. Do you know what syntax I should use for that? I tried:
[CODE]TARGETDIR="[TARGETDIR]"[/CODE]
but that seemed to install my chained .msi to my external hard drive (not sure how that happened). Any thoughts?
Thanks!
Clark
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 14, 2009
11:38 AM
I think I got it worked out. This is the syntax I needed:
[CODE]TARGETDIR="[INSTALLDIR]"[/CODE]
[CODE]TARGETDIR="[INSTALLDIR]"[/CODE]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 15, 2009
01:30 PM
Very good!
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)