Updates without elevation - 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!

Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Updates without elevation

Hello,

when I install the updater.exe as a service as described in the Tutorial and I choosed silent and an update frequency.(see update.ini).
Do I still have my Application to run the Updater.exe /checknow or does the service now checks frequently for updates automaticly.
Or does the Service only takes over when installing the updates (Localsystem==admin rights)

AppDir=C:\Program Files (x86)\OpenScape Contact Center Extensions\OpenScape Concierge\
CheckFrequency=1
CompanyName=Siemens Enterprise Communications GmbH & Co. KG
ApplicationName=OpenScape Concierge
Flags=NoDisableAutoCheck
ID={75A4A933-5ED8-4E6A-9041-296127936205}
ApplicationVersion=7.0.0
DefaultCommandLine=/silent
DownloadsFolder=C:\ProgramData\Siemens Enterprise Communications GmbH & Co. KG\OpenScape Concierge\updates\
URL=http://172.28.227.194/netsetup/Upgrades ... Update.txt


Regards

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

Re: Updates without elevation

Hi Gary,

As it is specified in the How to handle updates without elevation article you must first follow the steps in the Using the Auto Updater tutorial, then add your "updater.exe" file as a service.

In this case, if you already set a frequency, the updater will automatically check for updates even if the logged on user does not have administrator rights (the updater service will offer capability to a non admin user to install updates without elevation).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Re: Updates without elevation

Hello Eusebio,

I've followed the turorials , but the service does not check for updates. The frequency of 1 (see update.txt above) should check every Day but since Friday nothing happened on my Test system.

A manual check works fine. Are there any logfiles from the service?

Regards

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

Re: Updates without elevation

Hi Gary,

I'm not sure why the updater does not check for updates automatically. Can you please send us the .AIP (project file of the first version of your application) and the .AIP (that creates your Updates Configuration File) so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Re: Updates without elevation

Hello Eusebio,

attached the aip files.

Regards

Gary
Attachments
Concierge Update Config File.aip
(1.96 KiB) Downloaded 537 times
OS Concierge V3R0.aip
(91.29 KiB) Downloaded 563 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Updates without elevation

Hi Gary,

I looked over your projects and I found that in the Updater page you have the "Manual: from application, using a shortcut, etc." option checked. In this case the updater must be launched manually or you can set it to be launched when your application is started or stopped.

Otherwise you can use the "Automatic: using a Windows scheduled task" option which will automatically run the updater at the time interval you choose.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Re: Updates without elevation

Hello Eusebiu,

regarding to your answer ....if you already set a frequency, the updater will automatically check for updates even if the logged on user does not .....

How can I set it that the service does the checks frequently?

How can I set it when my Application is started or stopped? What have I to do for that?

Regards

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

Re: Updates without elevation

Hi Gary,
if you already set a frequency, the updater will automatically check for updates even if the logged on user does not .....
The frequency you set does not tell the updater to automatically check for updates, it tells the updater when it is allowed to check for updates in silent mode. If the updater is launched by the user and the check frequency has not passed, the updater will exit immediately.
How can I set it that the service does the checks frequently?
You can create a Windows scheduled task by choosing the "Automatic: using a Windows scheduled task" option from the Updater page.
How can I set it when my Application is started or stopped? What have I to do for that?
We have some examples for integrating the updater with the application using languages like C++, C# or Java.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Maverick
Posts: 54
Joined: Mon Aug 18, 2008 12:11 pm

Re: Updates without elevation

Hi Eusebiu,
so like in my first post the service is only for giving admin rights to the installer because of running under system account.

Do you consider to implement the update checks in your service as a feature request?

Then nobody has effort to implement anything in the application. The service is running anyway, so I think that would be a great advantage when the service does the work. That would even be a advantage for your product, too, compared to others where always something must be implemented in the apps.

Regards

Gary
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updates without elevation

Hello Gary,
Do you consider to implement the update checks in your service as a feature request?
You can see a response in the "Autoupdater as Service" thread.

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

Return to “Common Problems”