Auto Restart After Update - Advanced Installer Community

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!

Speagles
Posts: 7
Joined: Tue Jun 15, 2010 7:04 pm

Auto Restart After Update

I'm having trouble with getting my application to restart after it's been updated. In the update configurator it says Auto Restart is Enabled. The Auto Close feature works fine so I know I have the correct path entered. I've left Window Title and Command Line blank... should I have something entered in there?

Any help would be greatly appreciated. Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Auto Restart After Update

Hi,
and Command Line blank... should I have something entered in there?
As you can see here the command line field should also contain the path for your executable, otherwise the updater doesn't know what application to start.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Speagles
Posts: 7
Joined: Tue Jun 15, 2010 7:04 pm

Re: Auto Restart After Update

I've tried it with the command line the same as the path and it's not restarting. I'm thinking maybe I'm doing the update wrong, or at least installing the updater.exe in the wrong place because when my app updates the ENTIRE app folder (which has the updater.exe inside) is removed and reinstalled. I wouldn't think the updater.exe would be able to restart anything because it is being shut down and reinstalled.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Auto Restart After Update

Hi,
I've tried it with the command line the same as the path and it's not restarting
I assume the location of your EXE is not changed in the new version, i.e. it is found in the same folder as in the previous version? If the auto-close feature
finds the path then the restart feature should find it too.
. I wouldn't think the updater.exe would be able to restart anything because it is being shut down and reinstalled.
The updater is running from a temporary location so its replacement should occur without any problems.

Can you please send me the aip of your application and the one corespondent to your updates configuration project to support at advancedinstaller dot com?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”