Issues with Enterprise Edition - reboot - Advanced Installer Community
vigyan
Posts: 3
Joined: Fri May 09, 2014 8:10 am

Issues with Enterprise Edition - reboot

Version : Advanced Installer Enterprise Edition

Issues:

(1) I have suppressed all reboots in my installer with the following property (copying from AIP file). We use merge modules and we also have a service which is installed as part of installer. The problem is that when we uninstall, even though below property is set - I still get a reboot prompt. Why is it so? How can I suppress reboot completely? Please let me know if you want me to share the AIP file

Code: Select all

<ROW Property="REBOOT" MultiBuildValue="DefaultBuild:ReallySuppress"/>
(2) Even though I select all Windows 7 and Windows 8 in "Launch Conditions" as Supported OS, in some windows 7 machines I still get a error message which says "_ERR_SYSTEM_NOT_SUPPORTED". Why is it? What am I doing wrong?

Thanks
Sanjay.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Issues with Enterprise Edition - reboot

Hello Sanjay and welcome to Advanced Installer forums,
1 )The problem is that when we uninstall, even though below property is set - I still get a reboot prompt.
In order to reboot the machine where your installation package runs, you can go in the Install Parameters page and select for the Reboot Behavior the Prompt for Reboot when required option. Also you can enable Perform the reboot if required without showing any prompts option if you want to reboot automatically without prompting the user.

In the Custom Actions page you add the Set installer property predefined custom action with sequence. You should add it after “Install Execution Stage” >> “Finish Execution” stage. You can disable the Uninstall option and Maintenance option from the Execution Stage Condition.
You can edit its event options like that:
Property: field: REBOOT
Argument: field: Force

You can also take a look on our Change in the reboot behaviour forum thread which debates this subject.
(2) Even though I select all Windows 7 and Windows 8 in "Launch Conditions" as Supported OS, in some windows 7 machines I still get a error message which says "_ERR_SYSTEM_NOT_SUPPORTED". Why is it? What am I doing wrong?
I'm not sure why you encountered this behavior.
I've tested your scenario but I cannot replicate it. So, can you please attach a sample .AIP(project file) which replicates this behavior so I can build the sample and investigate this?
Can you please tell us what is your target machine software configuration (OS version, OS language, SP level, Windows Installer version) where you can replicate the behavior?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vigyan
Posts: 3
Joined: Fri May 09, 2014 8:10 am

Re: Issues with Enterprise Edition - reboot

Dan

Thanks a ton for the quick one.

1. I do not want a reboot. Why is it prompting for a reboot even when I have the property set that I don't want a reboot?

2. Please see attached my AIP file - Why is it that in some Windows 7 machines it is not detecting them as Win 7 and says not supported? Also see attached the dialogue boxes I get for this and above problem

Sanjay.
Attachments
OSCheck.png
OSCheck.png (4.79 KiB) Viewed 3255 times
TestProject.aip
(110.98 KiB) Downloaded 172 times
reboot.png
reboot.png (7.84 KiB) Viewed 3255 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Issues with Enterprise Edition - reboot

Hello Sanjay,
1. I do not want a reboot. Why is it prompting for a reboot even when I have the property set that I don't want a reboot?
reboot.png
reboot.png (5.01 KiB) Viewed 3252 times
The restart message is given automatically by the Windows Installer if it detects some resources are still in use. Are you sure you close the application before launching the
installation of the new version. Also any other related resources should not be in use, for example if you have a service, it should be stopped.
Please take a look on our How do I detect a service? article which may be useful to you.

The Reboot Behavior which you set in the Install Parameters page and I was refer in my previos reply is about this dialog:
RebootApp.png
RebootApp.png (20.69 KiB) Viewed 3252 times
Please see attached my AIP file - Why is it that in some Windows 7 machines it is not detecting them as Win 7 and says not supported? Also see attached the dialogue boxes I get for this and above problem
I've tested your project but I cannot replicate the described behavior. Can you please attach e verbose log as well?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vigyan
Posts: 3
Joined: Fri May 09, 2014 8:10 am

Re: Issues with Enterprise Edition - reboot

Thanks. Both issues solved.

OS issue was due to a problem in our exe files itself.

Reboot issue: There is a property called "InstallValidate" in advanced installer. This property will check wwhether files have been removed successfully and this was checking during the our service stopping time and I had not set when to run that property, so by default it was during uninstall process beginning and then I added that property after service stopped and now its all working fine.

Sanjay

Return to “Common Problems”