Auto update in Guest mode - 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!

Axon
Posts: 2
Joined: Wed Feb 02, 2011 3:31 pm

Auto update in Guest mode

Scenario

We have an Java application the many different clients/companies use
Updates are pushed to central servers


The application created in advance installer will include both the application and the auto update

Installation done in with Admin Login

The application combined with the auto update will be installed

In Guest

The application must run in guest mode
The auto update must launch in gust mode (Silently)

Update option 1

The update must check once a day on the server if there is an update available. If an update is available the update must be installed and replace the previous installation

Update option 2

Only one file is replaced in the install (Patch)

Both these updates must run silently in guest mode. Admin access must not be requested (The admin user and password must not be asked for)



Now my Question:

We have created the install package with the auto update.

It runs in Guest mode

But we created an scheduled task to do the update. (silently using /silentall)

When the task is triggered it asked for Admin permission update the application - How can we make it so that it does not ask for admin permission?

The update must install without the user knowing. After the install it must inform the Guest user an new update has been implemented?

Regards
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Auto update in Guest mode

Hello and welcome to the Advanced Installer Forums,
How can we make it so that it does not ask for admin permission?
Please read this thread to answer your question.

Alternatively you can try:

Code: Select all

/silentall -nofreqcheck
Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Axon
Posts: 2
Joined: Wed Feb 02, 2011 3:31 pm

Re: Auto update in Guest mode

Dear Mihai,

Thank you for the reply.

I dont understand you answer fully. We have scheduled the updater to look for an update every 2 days. But when it finds one when you are logged in as guest it asks the the admin password. How do I get pass this so that it does not ask for the admin password?

Regards
Axon
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Auto update in Guest mode

Hi Axon,

Actually, I just realized the elevation prompt is not for the Auto-Updater but for your installed application. If the original application is installed with admin rights then it will prompt for elevation on uninstall as well. During an upgrade the original application is uninstalled so this is the reason for the the UAC prompt.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rsimmons
Posts: 3
Joined: Mon Mar 28, 2011 7:27 pm

Re: Auto update in Guest mode

Is there any way to prevent the UAC prompt and install updates without the admin privileges? I have clients who are in restricted environments and are unable to install applications due to the permissions they have. With the windows task scheduler can this be done to install updates?

Thanks
Robin
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Auto update in Guest mode

Hello Robin,

To answer your question, please follow this thread.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”