winforms - Run application updates with non admin users -
i'm using windows installer bundle distribute winforms application several clients , because of them have changed security policies need figure out way run application updates (through installer) users without administration rights.
find below info regarding update process: - installer created using installaware - during update process old version uninstalled , new version installed. - installer needs admin rights because writes registry , installs windows services. - application installed in programme files folder.
at moment solution i'm implementing create new scheduler task, runs simple console application check new updates , if new version exists downloads installer , executes in quiet mode (the entire installation execute silently, without user interface, or user intervention. default values of dialog controls used).
some consideration solution: - it's hard handle possible errors during update process. - it's not possible alert user update process running (because scheduler tasks runs different user not possible interact logged user).
has ever implemented similar? best way accomplish goal?
if updates patches, , meet set of requirements regarding first install of product , sign both msi , patches there mechanism limited users apply patches, uac patching described here:
http://msdn.microsoft.com/en-us/library/aa372388(v=vs.85).aspx
if search lua patching (its original name) or least-privilege patching there's more info out there, although it's obscure. if security policies have in place include setting disableluapatching won't able utilize it.
winforms windows-installer scheduler installaware non-admin
No comments:
Post a Comment