cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
phil_lewis
Level 2

Prompted to run as admin...but I am!

I'm building a fairly simple installer with the LE version in Visual Studio.

I and several others ran my installer several times during development, and everything was fine.

At some point, it has started complaining that it does not have permission to create folders in Program Files, and that I should run as admin. Thing is, when running as admin, it still says the same thing!

I've tried to revert all of the changes I had thought I had made since it started asking (this was to sig the exe, and change the name of the install folder), but it still says the same.

Some info:

Built on:
Windows 7 Enterprise SP1
Visual Studio Pro 2013
InstallShield LE 2013 for VS

Settings:
Setup Launcher: Yes
Required Execution Level: Invoker
ALLUSERS=""
Require Administrator Privileges=No

Installing on:
Windows 7 Enterprise SP1 (a different machine)
User is member of 'administrator' group (though I don't want them to have to be...)


Here is an extract from the installer log:

MSI (s) (30:94) [03:43:35:895]: Executing op: ActionStart(Name=CreateFolders,Description=Creating folders,Template=Folder: [1])
Action 03:43:35: CreateFolders. Creating folders
MSI (s) (30:94) [03:43:35:895]: Executing op: FolderCreate(Folder=C:\Program Files\My App\,Foreign=0,,)
CreateFolders: Folder: C:\Program Files\My App\
MSI (s) (30:94) [03:43:36:196]: Note: 1: 1303 2: C:\Program Files\Sage View
Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files\My App. The installation cannot continue. Log on as an administrator or contact your system administrator.
MSI (s) (30:40) [03:43:42:006]: I/O on thread 3916 could not be cancelled. Error: 1168
MSI (s) (30:40) [03:43:42:006]: I/O on thread 2704 could not be cancelled. Error: 1168
MSI (s) (30:40) [03:43:42:006]: I/O on thread 2392 could not be cancelled. Error: 1168
MSI (s) (30:40) [03:43:42:006]: I/O on thread 2388 could not be cancelled. Error: 1168
MSI (s) (30:40) [03:43:42:006]: I/O on thread 1976 could not be cancelled. Error: 1168
MSI (s) (30:40) [03:43:42:006]: I/O on thread 3764 could not be cancelled. Error: 1168
MSI (s) (30:40) [03:43:42:006]: I/O on thread 1940 could not be cancelled. Error: 1168
MSI (s) (30:40) [03:43:42:006]: I/O on thread 1900 could not be cancelled. Error: 1168
MSI (s) (30:94) [03:43:42:006]: Product: My App Uploader -- Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files\My App. The installation cannot continue. Log on as an administrator or contact your system administrator.


Any suggestions would be greatly appreciated.
0 Kudos
(2) Replies
phil_lewis
Level 2

Found my answer in the last post before this.
0 Kudos

what is the solution for your Error 1303 issue? I am having the same error.

0 Kudos