We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

FGump
Posts: 65
Joined: Thu Jan 05, 2006 7:23 pm

Why reboot after install?

I've made my setup with AI and it's been working perfectly. Recently I made the following changes to my setup which is now causing it to say "Your computer must be restarted..." at the end of the installation.

1). Updated to AI 4.5 from 4.4
2). Made setup an EXE instead of MSI because of adding a prerequiste
3). The prequiste that I added was checking if the MySQL ODBC drivers are installed. If not, I run the external MSI setup for that (which forced the setup to become an EXE instead of MSI).

If I install the MySQL ODBC setup (MSI) by itself, it does NOT say the computer must be restarted. Furthermore, if the drivers are already installed, my AI setup doesn't even install them. I do not have the "force reboot" option checked in AI. Could this actually be set in the AI file and not show on the screen?

Nothing else in the setup/package has changed. It includes my application and some OCX controls, just as it always has. So, my question is why suddenly does it say that the user's computer must be restarted after the installation is complete (after pressing Finish in AI setup).

Thank you very much,

Frank
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Frank,

In order to investigate the problem please sent the AIP file (if not contain any confidential informations) or a test project that exhibits the same behavior to support at advancedinstaller dot com.

Also please point us to an URL form where we can download that prerequisite file.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
FGump
Posts: 65
Joined: Thu Jan 05, 2006 7:23 pm

Could it be this?

Thank you Gigi. How do I upload the .aip file to you? Anyhow, I opened it up and found this in the merge modules section (you'll have to copy it from here and paste it into a better editor):

<COMPONENT cid="caphyon.advinst.msicomp.MsiMergeModsComponent">
<ROW Module="MDAC28.msm" Path="..\..\..\..\..\Program Files\Common Files\Merge Modules\MDAC28.msm" Feature="MainFeature" Directory="APPDIR" Params="MDAC28_INSTALL_REBOOT=0;MDAC28_INSTALL_SEQUENCE=EXEC;MDAC28_SUPPRESS_REBOOT=NotSuppress;"/>

This is the first part under the merge modules. Notice how it has some params at the end and it says "MDAC28_SUPPRESS_REBOOT=NotSuppress;"

I'm thinking this MDAC 2.8 is what is causing the reboot!? I do believe I might have changed this from MDAC 2.7 before. How did that get in there (part of the merge module)? It doesn't seem to matter if MDAC 2.8 is already installed or not, it always wants to reboot. How can I change it or should I?

Also, I have read somewhere that there is some option (ISINSTALL_MDAC_BYVERSION) you can set that doesn't reboot is the
same version is already present. Do you know anything about this?

Thank you very much,

Frank
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If that merge module is configurable, you can configure it to suppress the reboot. To configure a merge module switch to "Merge Modules" page select the merge module and choose "Configure" from context menu.

I think that MDAC28_SUPPRESS_REBOOT=Suppress is the parameter you can configure but I'm not sure. You should contact the merge module author on this.

Kind Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”