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
- :
- chained package only working on the 2nd installation
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
‎Oct 15, 2008
09:15 AM
chained package only working on the 2nd installation
Hello,
I have further errors i don't understand.
If i installed a chained-msi-package the first time on Windows XP SP3 with no Windows Installer 4.5, the package installes WIN Installer 4.5, then .Net 2.0 and starts then with the main installation, but no chained package is installed.
I attached the log-file, some words are in german, if anyone needs a translation, i will do it but its to much work to translate all german parts...
Chained packages are python.msi and LinuDent.msi, i found them in line 564 first.
Perhaps the answer of the problem is, i have to restart after installing the installer 4.5, but how can i do this?
When i delete the first installation and restart, then all packages installing.
Thanks and bye
Cheese
I have further errors i don't understand.
If i installed a chained-msi-package the first time on Windows XP SP3 with no Windows Installer 4.5, the package installes WIN Installer 4.5, then .Net 2.0 and starts then with the main installation, but no chained package is installed.
I attached the log-file, some words are in german, if anyone needs a translation, i will do it but its to much work to translate all german parts...
Chained packages are python.msi and LinuDent.msi, i found them in line 564 first.
Perhaps the answer of the problem is, i have to restart after installing the installer 4.5, but how can i do this?
When i delete the first installation and restart, then all packages installing.
Thanks and bye
Cheese
(8) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 15, 2008
11:22 AM
Correct; the pending reboot which came from installing Windows Installer 4.5 prevents the chaining from running. You can modify the Windows Installer 4.5 prerequisite to reboot immediately, or maybe you could try to just ignore the reboot (this is not recommended).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2008
01:15 AM
Okay, and how can i say he have to reboot after installing the prerequisite windows installer 4.5? I'm new on InstallShield and havn't found where i can do this...
Tanks
Tanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2008
05:18 AM
Right-click on the prerequisite in the Redistributables view, and select Edit Prerequisite. Under the Application to Run tab, remove the /norestart option from the command line, and then under the Behavior tab select "Reboot the machine and resume on reboot" in the lower dropdown box.
I have a question on this for Michael, if he's listening 😉 The Reboot option above doesn't prompt the user, and the other options are worded a bit confusingly - is there an option to prompt the user before rebooting?
I have a question on this for Michael, if he's listening 😉 The Reboot option above doesn't prompt the user, and the other options are worded a bit confusingly - is there an option to prompt the user before rebooting?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2008
07:49 AM
I thought I'd found it, by replacing /norestart with /promptrestart, but that then gives me a horrible "Hotfix" dialog with a "Don't restart" checkbox. Isn't there an option that gives a simple MessageBox-type prompt?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2008
11:00 AM
I would suggest leaving the command line as provided; while we try to handle it when the prerequisite executable causes a restart, it's cleanest when the prerequisite engine handles it. But otherwise, datamine's suggestions look good to me.
For prompting the user about a reboot, there are two options. In the English UI they are: "Prompt the user only if no reboot is detected...," and "Prompt the user to reboot the machine..." Both of these options guarantee that the prerequisite engine will reboot the machine if the user accepts its prompt, but the former assumes the prerequisite executable has already prompted the user (and the user accepted) if it returns a reboot return code, while the latter prompts no matter the return code.
For prompting the user about a reboot, there are two options. In the English UI they are: "Prompt the user only if no reboot is detected...," and "Prompt the user to reboot the machine..." Both of these options guarantee that the prerequisite engine will reboot the machine if the user accepts its prompt, but the former assumes the prerequisite executable has already prompted the user (and the user accepted) if it returns a reboot return code, while the latter prompts no matter the return code.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2008
11:09 AM
I've found an acceptable combination, which involves (as you suggest) leaving the /norestart in the command line, and setting the Behavior to "Prompt the user to reboot even if nothing is detected, and resume on reboot".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 17, 2008
03:44 AM
Ok, Tanks, i think my problems are solved.
The only thing i'm worried about is, that the restart from the installation after reboot sometime works, sometimes not... I found in the options from the prerequisits nothing, but i think the user should restart the installation, thats no problem.
I have one further question, but has nothing to do with this thread. I try something with own prerequisits for Vista and it don't works, i think this is the damn UAC...
The only thing i'm worried about is, that the restart from the installation after reboot sometime works, sometimes not... I found in the options from the prerequisits nothing, but i think the user should restart the installation, thats no problem.
I have one further question, but has nothing to do with this thread. I try something with own prerequisits for Vista and it don't works, i think this is the damn UAC...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 10, 2010
10:40 PM
Hello,
I've tried these options to no avail - 4.5 installs unprompted (good), then the installation continues without the chained package (bad). At completion of the primary installer, I am prompted to restart, but no further processing takes place after the restart. Any clues? Thanks.
- Matt -
datamine wrote:
Right-click on the prerequisite in the Redistributables view, and select Edit Prerequisite. Under the Application to Run tab, remove the /norestart option from the command line, and then under the Behavior tab select "Reboot the machine and resume on reboot" in the lower dropdown box.
I have a question on this for Michael, if he's listening 😉 The Reboot option above doesn't prompt the user, and the other options are worded a bit confusingly - is there an option to prompt the user before rebooting?
I've tried these options to no avail - 4.5 installs unprompted (good), then the installation continues without the chained package (bad). At completion of the primary installer, I am prompted to restart, but no further processing takes place after the restart. Any clues? Thanks.
- Matt -
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)