Launching an application from documents instead of program files

I am working on creating a self-updating application and one problem that I encounter in Vista, and for Windows 7 you must have administrator rights to update the client. I ran into problems with clients whose users work under limited permissions, and they would have to register an IT server on every computer that the client had to update as users could not.

The possible work around that I am considering is to have the launch application installed in Program Files as usual and have a real application that it updates in user documents somewhere so that they can update and launch new versions without IT becoming involved.

I’m wondering what potential errors I’m missing or what I should know before taking this path. I know that click-once does something very similar, and I will use it, except that I need the ability to do silent updates without any user interaction.

+3
source share
5 answers

. , -, - . , , , , .. - Windows Update .

, -. , , , .

+1

? , ?

?

, Program Files.

<userfolder>\AppData\ProgramName.

.NET, ClickOnce. , , , .

: . ClickOnce .

+1

:

- , , , ​​ , . , . , , - .

, " ". , . , , . .

!

Edit:

, . - , , .

+1

- - . , , - ; ( ).

, , , "". , -, , - exe, .

0
source

Perhaps you can use AppLocker . It can only be for Win7, although I no longer run Vista .;)

0
source

Source: https://habr.com/ru/post/1709008/


All Articles