#3 Installation fails

open
None
5
2013-08-16
2011-03-01
Anonymous
No

Installation fails with the message:The installer has insufficient privileges to access this directory: C:\Program Files\Automatic Mouse Switcher. The installation cannot continue. Log on as administrator or contact your system administrator.

But I am logged on as an administrator.

Discussion

<< < 1 2 (Page 2 of 2)
  • It is actually the last line which enforces "ask for UAC only if needed" policy. Changing it to 'elevated' enforces UAC even if not required.

    <Package Id="*"
             Description="$(var.FullName) $(var.Version) installer"
             Comments="$(var.FullName) $(var.Version) binaries and libraries package"
             InstallerVersion="200" 
             Compressed="yes"
             InstallPrivileges="limited" />
    

    Well, I might actually release two installers, but that is damn confusing.

     
    Last edit: Denis Dydychkin 2013-08-16
    • Isn't it the normal procedure to require admin (I mean, elevated) rights when installing something? Regardless if it's for all users or only for the current one. I mean, if I'm sys admin somewhere, I don't give users admin rights exactly because I don't want them to install stuff without me. I know some apps, like Chrome can still be installed, but that's rather the exception than the norm...

       
      Last edit: Denis Dydychkin 2013-08-17
<< < 1 2 (Page 2 of 2)