Resume dialog appears after machine restart - Advanced Installer Community
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Resume dialog appears after machine restart

Hi Support,

We have an .msi file with feature based pre-requisites. It is successfully installed at first time installation. After restarting the machine manually resume dialog will displayed.This behaviour will appears only on some machines and the extracted pre-requisites from %APPDATA% folder are not removed after successful installation of .msi. So, it seems to be this resume dialog is displayed due to these extracted pre-requisites. It's an urgent requirement so please suggest me how to resolve this issue as soon as possible.

Thanks & Regards,
Meena
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Resume dialog appears after machine restart

Hello Meena,

The extracted prerequisite setups could not be deleted after installation if you have enabled the "Do not remove prerequisite files" option from "Prerequisites page -> Packages tree node -> Frameworks and Runtimes right pane -> Global Prerequisite Options section".

The resume dialog of your prerequisites setup may appear if you have enabled the "Reboot system after installing this prerequisite" option from "Prerequisite Properties Tab". When this option is enabled AI creates during installation a scheduled task or a registry entry under the "Run" registry key which will launch the setup after the system restart. So, the related behavior could be caused if somehow the installation package fails to delete the above created schedule task or Run registry entry after installation.

Can you please search for any scheduled task or registry entry created under the Run key, which could trigger the above behavior, and remove them?

Also, in order to investigate the root cause of this issue it will be very useful if you could isolate the behavior in a pattern or test case and send it us so we can test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Re: Resume dialog appears after machine restart

Hi Daniel,

I didn't enabled the "Do not remove prerequisite files" option from "Prerequisites page -> Packages tree node -> Frameworks and Runtimes right pane -> Global Prerequisite Options section". Even though the extracted prerequisites are not removed.
And also I didn't check the "Reboot system after installing this prerequisite" option from "Prerequisite Properties Tab" But still the problem persists.
I have sent the sample test case to support at advanced installer dot com through email. In that feature based pre-requisite is pointed from the physical location. But, in our case we have to add the feature based URL pre-requisite. Please suggest us the best way to resolve this issue at the earliest.

Thanks,
Meena
Meena
Posts: 36
Joined: Thu Dec 12, 2013 9:07 am

Re: Resume dialog appears after machine restart

Hi Support,

Any updates on this issue?

Thanks,
Meena
schwarzsurfer
Posts: 49
Joined: Wed Feb 10, 2016 11:06 am

Re: Resume dialog appears after machine restart

Hello,

I have the same problem. One of my installers creates this scheduled task and restarts every reboot of the computer. And I really don't know why... Setup says "finished" and the logfile says "product installation successful"... It is only one installer that shows this behavior - it's the only one that registers a lot of DLLs and OCXs.. perhaps there is a problem? Or do you have any other idea? I removed all prerequisites, removed services to install... still the same problem. And this problem only happens when I install the package with /qn parameter. With full UI everything is fine...

Thanks"

Marian
Ich weiß, dass ich nichts weiß!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Resume dialog appears after machine restart

Hello Marian,

Can you please send us the .aip (project file) to support at advancedinstaller dot com so we can investigate its settings?

Also, do you replicate the issue on multiple machines?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
schwarzsurfer
Posts: 49
Joined: Wed Feb 10, 2016 11:06 am

Re: Resume dialog appears after machine restart

Hello,

I found the reason for this behaviour. I tried to install an older Microsoft Runtime package as prerequisite on a Server 2008/2012, which apparently wasn't fully compatible. The runtime installer seems to fail and return some error return code, so the main MSI installer retries to install this prereqisiste after every reboot, but fails everytime. The restart of the installation was caused by a planned task created from the MSI during install.

I removed the runtime installer package and placed the necessary and compatbile dll and ocx files manually and now everything works fine.

Marian
Ich weiß, dass ich nichts weiß!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Resume dialog appears after machine restart

Hello Marian,

I'm glad you sorted things out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”