View Full Version : Update process and Admin rights ...
atrost
09-29-2005, 09:57 AM
Hello,
i'm want to evaluate TrueUpdate 2.0 and have one question before starting. What about updating (true update client, single install file) if the current user has no admin rights ? Does it work (like virus scanner eg) ?
Regards
- Arnold
Lorne
09-29-2005, 01:11 PM
It depends on what your update needs to do, of course. For example, a File.Copy action will only work if the user has write access to the destination folder.
If you just need to launch an executable (e.g. a patch) you can use the File.RunAs action to execute it as a different user, i.e. with an admin username and password.
atrost
09-30-2005, 01:54 AM
It depends on what your update needs to do, of course. For example, a File.Copy action will only work if the user has write access to the destination folder.
If you just need to launch an executable (e.g. a patch) you can use the File.RunAs action to execute it as a different user, i.e. with an admin username and password.
LORNE:
I do silent updates with SUF6(filecopy, component registration, ...). So I must give username/password before my setup starts. So it's not possible to run TrueUpdate Client as a system process with admin rights (like Antivirus pattern update) ??
best regards.
Lorne
09-30-2005, 09:38 AM
Perhaps I'm not understanding, but why couldn't you use File.RunAs to execute your SF6 install using an admin username and password?
File.RunAs allows you to run an executable as though you were logged in as a different user. It's analogous to the "runas" command in NT.
Note: the username and password is for the RunAs action itself -- this has nothing to do with entering a username and serial number in the setup.
kolumban.sandor
12-09-2006, 08:06 AM
I had the same reqirement while developing an other application. There I had to use an othe auto update tool. Which had a little exe in its folder. That tool was able to run under a guest user whit admin rights, if that small executable vas used.
Suggestion: maybe the TrueUpdate should have an expansion like that, because in most cases our (and I think most of the softwares) aplication is running under guest user, but the update is required in that case as well.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.