pemue
Posts: 8
Joined: Wed Sep 29, 2010 2:01 pm
Location: Germany
Contact: Website

Update Service just if new version included

Hello together,

I've got a little Problem.
I have an Installer that installs some files, exe's, dll's and one service.
My plan is, on first install my application, the user will need Admin rights to install and start the service.
But if there is a new version of my application available and the user must install the update, they wont need in every case Admin rights.
Because the service-exe is even the same like at the first installation.

My question ist now, how do I have to configure my Advanced Installer Project so that the service-exe will be not overwritten unless it has a new version (the version of my service-exe)?

I'm sorry for my strange english :)

Best regards from germany.

pemue
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Update Service just if new version included

Hi,

To update a product you can use a patch or a major upgrade. In both cases the update requires the same privileges as the installation. So if the first installation needs Administrator privileges, the update will also require them.

To update your product without Administrator privileges, you can try using UAC patching.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pemue
Posts: 8
Joined: Wed Sep 29, 2010 2:01 pm
Location: Germany
Contact: Website

Re: Update Service just if new version included

Hi,

thanks for your answer cosmin, but I found out another usable way for me.

During the update process I do check with the Conditions for the package If the user is admin. If not, I don't install the service-exe and Promt a message that this will only be installed with admin-rights.

Return to “Common Problems”