Unattended Silent Update - Advanced Installer Community
roonz11
Posts: 4
Joined: Tue Sep 01, 2020 9:57 pm

Unattended Silent Update

I'm having issues when trying to silently update when my application starts.I would like all users (admin and nonadmin) to be able to run silent updates when they start the application. 
Currently we can only accomplish this if we run the updater service with admin privileges. This brings up the UAC prompt which we need to avoid as these updates will be unattended.

When we run the updater service normally, the install fails and we receive this error in event viewer: 
Error 1730. You must be an Administrator to remove this application. To remove this application, you can log on as an Administrator, or contact your technical support group for assistance.


I am installing the support services and in my updater project I have "Install update without elevation" set.

Do you know what I am missing? I would  also like the application to launch after silent update. I have configured the app to restart in the update project under the "Auto Close Applications" tab but it is not working.

Thanks
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Unattended Silent Update

Hi and welcome to our forums.

I tested the projects you sent over the email and the silent update worked as expected for me, but I did not have the executable, so I can also test "Auto Close Application" option. Can you send me an email with the link to download your packages, so I can test them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Unattended Silent Update

Hi,

Thank you for sending me your sample package, so I can test it on my side.

During the investigation I found that the problem appears if the digital certificate used to sign the packages is not trusted on the local machine. In order to have this working, you need to either add your test certificate to the Trusted Root on the Local Machine or use a digital certificate issued by a Trusted Authority.

When you solve this issue, the "Auto Close Application" will work as well.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”