My installer installs the application in "Program files \ MyApp", the application when launching the change files in this place. Vista has problems with UAC by default.
I want users to be able to launch MyApp without participating or fighting the UAC screen every time the application starts. If they need to go through UAC to install the application, that's fine, although still not optimal.
I thought I had it configured, but it does not work:
[Setup]
PrivilegesRequired=admin
AppName=My App
AppVerName=My App 1.0
DefaultDirName={pf}\MyApp
DefaultGroupName=MyApp
UninstallDisplayIcon={app}\bin\MyApp.ico
OutputDir=..\Installer
ChangesAssociations=yes
[Dirs]
Name: "{app}\"; Permissions: everyone-modify
Name: "{app}\redist"; Flags: deleteafterinstall;
In particular, I thought that it Name: "{app}\"; Permissions: everyone-modifywould allow ordinary users to run it, removing the UAC protection in Program Files \ MyApp.
, - ? , , , Program Files, UAC. ... UAC.