srini
Posts: 81
Joined: Mon Sep 14, 2009 4:22 pm

Reboot after installation

Hello,

In the "Install Parameters" section, for the "Reboot Behaviour" field I have selected the "Force Reboot after install". But after I have installed, there is no reboot (prompt). But I get a reboot prompt when I do an uninstall. What is the problem here?

Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Reboot after installation

Hello,

I am not sure as to why you are encountering this behavior. What operating system are you testing this on? Can you replicate this behavior on other machines? If so, then please send your .aip project file (or a stripped down version that accurately reproduces this behavior) to support at advancedinstaller dot com so we can further investigate the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
infomato
Posts: 3
Joined: Wed Apr 15, 2009 1:47 pm

Re: Reboot after installation

I ran into exactly the same problem (http://www.advancedinstaller.com/forums ... oot#p26968). Did you find any solutions?

Wayne
srini
Posts: 81
Joined: Mon Sep 14, 2009 4:22 pm

Re: Reboot after installation

Not yet Wayne.

I created a stripped down installer with the forced reboot action; that works fine.

What I suspect is, I include other installers in my installer and suppress the REBOOT in them. I am not sure whether they block the the reboot of my installer. The AI team may be able to answer this.

Regards
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Reboot after installation

Hi,

The reboot behavior can be affected in many ways during an install. If the problem persists you can send us the .AIP (project) file and a verbose log of the install so we can investigate them.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
infomato
Posts: 3
Joined: Wed Apr 15, 2009 1:47 pm

Re: Reboot after installation

Hi Srini,

It is very likely to be a bug on AI. I saw the identical problem as you did: reboot with prompt after uninstall but not reboot after install. In my case, I tried all the combination of force reboot, suppress reboot then add force reboot at the exit page. Either case worked as it should. Can you share with me how you do force reboot in your strip down version?

Thanks,

Wayne
srini
Posts: 81
Joined: Mon Sep 14, 2009 4:22 pm

Re: Reboot after installation

Hi Cosmin,

I have attached a minimal installer that just adds a registry value. I have enabled the Force reboot option. The created installer does not reboot after installation; but it prompts for a reboot during uninstallation. I have also attached the created exe file.

Hi Wayne,

Please try the attached version and confirm.

Regards

Srini
Attachments
Scratch.zip
(523.86 KiB) Downloaded 973 times
Scratch.aip
(13.82 KiB) Downloaded 1048 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Reboot after installation

Hi Srini,

Unfortunately the reboot prompt is not shown when using enhanced UI. This is a bug in Advanced Installer and it will be fixed in the 7.4 version. Until then a solution is to disable the enhanced UI.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
srini
Posts: 81
Joined: Mon Sep 14, 2009 4:22 pm

Re: Reboot after installation

Hi Cosmin,

I dont remember what made me to choose the 'Enhanced UI' - but I needed it. If this is the case, then I have to wait for your next release.

Thanks for the update.

Srini
hhelbig
Posts: 20
Joined: Tue Feb 11, 2014 2:06 pm

Re: Reboot after installation

Hi there,

Is there any solution available by now?
I run into the same problem. But I'm using AI 11.4.1!

Best regards
Heiko
Eusebiu
Posts: 4964
Joined: Wed Nov 14, 2012 2:04 pm

Re: Reboot after installation

Hi Heiko,

Didn't the reboot work when you set the "Force reboot after install" option from the "Install Parameters" page of your project?

It is indeed a limitation when you have the "Enhanced User Interface" feature enabled in the "Themes" page, "Settings" tab and you try to set the "REBOOT" property to "Force" on the "Install Execution Stage" section, in the "Custom Actions" page. However, it should work if you use that option from the "Install Parameters" page.

A similar problem was discussed on the "Can REBOOT Property Be Set From A Merge Module" thread.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hhelbig
Posts: 20
Joined: Tue Feb 11, 2014 2:06 pm

Re: Reboot after installation

Thanks Eusebiu!

This solved my problem.
Eusebiu
Posts: 4964
Joined: Wed Nov 14, 2012 2:04 pm

Re: Reboot after installation

You're welcome. I'm glad you got this working.

Juts let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
azartheen
Posts: 1
Joined: Mon Oct 28, 2019 6:28 am

Re: Reboot after installation

srini wrote: Wed Nov 11, 2009 11:25 am Not yet Wayne.

I created a stripped down installer with the forced reboot action; that works fine.

What I suspect is, I include other installers in my installer and suppress the REBOOT in them. I am not sure whether they block the the reboot of my installer. The AI team may be able to answer this.

Regards
how can i add stripped down installer
Catalin
Posts: 7668
Joined: Wed Jun 13, 2018 7:49 am

Re: Reboot after installation

Hello and welcome to our forums,

A "stripped down" installer means an empty project. Basically, open Advanced Installer, create a project and build it without adding any files to it.

Hope this helps.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”