"Automatically start installing the main application after finishing the prerequisites install" doesn't work - Advanced Installer Community
schwarzsurfer
Posts: 49
Joined: Wed Feb 10, 2016 11:06 am

"Automatically start installing the main application after finishing the prerequisites install" doesn't work

Hello,

in my setup I install .NET Framework 4.5.1 as a preinstall prerequisite. It starts installing, then reboots the computer, but the main setup doesn't start up after that reboot and I have to restart the setup manually.

Can you tell my why?

Thank you!

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

Re: "Automatically start installing the main application after finishing the prerequisites install" doesn't work

Hello Marian,

I'm not so sure why this happens. Did you use the "Reboot system after installing this prerequisite" option for your prerequisite? If not can you please proceed like this:
1. go to "Prerequisites" page and select your prerequisite item
2. in "Properties" tab from right pane check the "Reboot system after installing this prerequisite" option
3. go to "Setup File" tab and in the "Install Command Lines" fields add the following command:

Code: Select all

/norestart
4. rebuild and test again your installation project

Let us know if this helped.

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: "Automatically start installing the main application after finishing the prerequisites install" doesn't work

I found a solution. I startet the setup from a network source which needed a login. After the restart the network source wasn't accessible, so the main installation didn't start.

When I copy it to the computer locally or start it from a network source with access, everything works fine.

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

Re: "Automatically start installing the main application after finishing the prerequisites install" doesn't work

Hello Marian,

Thank you for sharing the resolution with us. Certainly this info will be useful for other users encountering the same scenario.

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

Return to “Common Problems”