This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Prompted to run as admin...but I am!
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 20, 2015
05:47 AM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 20, 2015
05:51 AM
Found my answer in the last post before this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 12, 2020
02:46 PM
what is the solution for your Error 1303 issue? I am having the same error.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)