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!

SBS_JR
Posts: 3
Joined: Mon Jan 20, 2014 4:22 pm

Update then launch program?

I am guessing I missed this somewhere, but how do I let the program update and then launch the main exe.. I dont want my end users having to run two different programs. Is this possible? Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Update then launch program?

Hello and welcome to Advanced Installer forums,

The Advanced Updater can be easily integrated with your application. You can check out our tutorial on integrating the Advanced Updater with your application to have a starting point.

From the updates project, you can also specify if your application should be closed during the update and restarted afterwards.

Do let me know if there is anything else I can assist you with.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
SBS_JR
Posts: 3
Joined: Mon Jan 20, 2014 4:22 pm

Re: Update then launch program?

Ok I have tried a few avenues on this and having some issues..

First I added a custom action to launch the main exe once the updated was done running.. this is fine, except when an app doesnt have an update, it does nothing.. launching immediately doesnt help either

So I tried to set the updates to do them windows task, first at a certain time and that didnt launch, so I tried on system startup and got no notice of update, etc..

I would like for my end users to only have to worry about one shortcut, it can run the update, if found process and launch main exe if not launch main exe..

What am I missing?
SBS_JR
Posts: 3
Joined: Mon Jan 20, 2014 4:22 pm

Re: Update then launch program?

I have done the windows tasks manually and got it to work on log on, so should be good to go..
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Update then launch program?

Hi,

Indeed, you can also set the Updater Execution - Automatic: using a windows schedule task.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”