UAC gives problems with my application

I created the installer for my application, working fine on xp, but on Vista UAC gives problems if I do not run as administrator. An unexpected error appears when I start installing applications after installation, any idea? I install the application in C: \ xfolder \ x

+3
source share
2 answers

if your exe application is active x exe, you will need to register the entire ocx file with the regsvr command and then register exe with the regsvr32 command, since the active class that will be used in win vista must first be registered. make a batch for registration.

+2
source

You cannot do anything. You MUST run the installer as an administrator.

As for the application, you will also need to run it as an administrator with elevated privileges, but there are options for it to automatically request elevation through the application manifest. You can do a search on stackoverflow.com because there are more posts related to this problem.

, .

UAC:

UAC.

#, VB.net - .

Windows. , . SYSTEM, .net vb6.

+3

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


All Articles