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!

tardas1
Posts: 17
Joined: Wed Sep 06, 2017 6:30 am

Upgrding using Windows Scheduled Tasks

Hello,

I am trying to update my application using Windows Scheduled Tasks. When scheduled task run, it uninstalls previous version but gives error when installing new one.

Code: Select all

Error 4106. An error was encountered while creating a scheduled task: "MyUpdate.job". Error description: Unable to establish existence of the account specified.
tardas1
Posts: 17
Joined: Wed Sep 06, 2017 6:30 am

Re: Upgrding using Windows Scheduled Tasks

Any ideas?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Upgrding using Windows Scheduled Tasks

Hello,

Here are two forum threads debating possible reasons for this error:
1. Silent update fails
2. 4106 error when creating scheduled task

If this is of no help, then please send us the AIP (project file) of your setup package and a complete verbose log of the update installation to support at advancedinstaller dot com.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tardas1
Posts: 17
Joined: Wed Sep 06, 2017 6:30 am

Re: Upgrding using Windows Scheduled Tasks

Thanks. "Silent update fails" link helped.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Upgrding using Windows Scheduled Tasks

You're always welcome.

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

Return to “Building Installers”