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: Installer has insufficient privileges to access the directory
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
‎Jul 03, 2008
12:52 PM
Installer has insufficient privileges to access the directory
I was wondering if anyone has seen this before!
Sometimes when I run my MSI setup I get the following error:
"Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files\MyProduct\MyWebFolder. The installation cannot continue. Log on as an administrator or contact your system administrator."
I am logged in as administrator. I don’t want this to happen when customers are running our setup.
How do I fix this? Any ideas?
By the way, I've set some extra permissions on some of the sub-folders in that directory...could this be the cause of the problem?
Thanks,
Golnaz
Sometimes when I run my MSI setup I get the following error:
"Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files\MyProduct\MyWebFolder. The installation cannot continue. Log on as an administrator or contact your system administrator."
I am logged in as administrator. I don’t want this to happen when customers are running our setup.
How do I fix this? Any ideas?
By the way, I've set some extra permissions on some of the sub-folders in that directory...could this be the cause of the problem?
Thanks,
Golnaz
(10) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2008
01:47 PM
Do you install anything to C:\Program Files\MyProduct\MyWebFolder?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2008
01:52 PM
Mike Marino wrote:
Do you install anything to C:\Program Files\MyProduct\MyWebFolder?
yes I do install my web to that directory.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2008
01:55 PM
Does this happen on only a particular OS?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2008
01:57 PM
Mike Marino wrote:
Does this happen on only a particular OS?
I've only tested on Win 2003 server.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2008
02:45 PM
Are you installing and uninstalling the application a lot on this particular machine?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2008
02:57 PM
Another question, if you run the installer with full UI do you get the retry dialog displayed?
Yet another question, do you have any Upgrade table entries?
Yet another question, do you have any Upgrade table entries?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2008
03:47 PM
Are you installing and uninstalling the application a lot on this particular machine?
Yes, it's my test vm.
Another question, if you run the installer with full UI do you get the retry dialog displayed?
Yes, I do get the Retry dialog.
Yet another question, do you have any Upgrade table entries?
Yes I do.
Yes, it's my test vm.
Another question, if you run the installer with full UI do you get the retry dialog displayed?
Yes, I do get the Retry dialog.
Yet another question, do you have any Upgrade table entries?
Yes I do.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2008
03:57 PM
We have seen a similar issue in house where the major upgrade appears to not completely finish before the install begins and creates a locked folder situation.
If you click retry, does it eventually work?
If you click retry, does it eventually work?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2008
04:05 PM
I hit Retry a few times, but it didn't work. I logged off and logged back in with the same user, ran the setup and it worked!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 04, 2008
01:11 AM
When we saw this in house, waiting about 30 seconds before hitting rety seemed to allow the setup to continue.
Other things we noticed:
1. This only occurs on vitual machine (maybe becasue they tend to run slower)
2. We only saw it on VWs with Vista.
3. The setups we saw it on were performaing a major upgrade. It seems the Install started before the uninstall of the previous product was fully complete.
If you have a log of the installation we could compare it to our results to see if it is the same issue.
That said, there is not a really good solution that we know of. However, since this only comes up on VMs, and when running the setup multiple times I am not sure you will see this problem from your customers.
The only time we have seen it is when we run our InstallShield unit tests, which runs many setups on VMs to ensure product quality.
Other things we noticed:
1. This only occurs on vitual machine (maybe becasue they tend to run slower)
2. We only saw it on VWs with Vista.
3. The setups we saw it on were performaing a major upgrade. It seems the Install started before the uninstall of the previous product was fully complete.
If you have a log of the installation we could compare it to our results to see if it is the same issue.
That said, there is not a really good solution that we know of. However, since this only comes up on VMs, and when running the setup multiple times I am not sure you will see this problem from your customers.
The only time we have seen it is when we run our InstallShield unit tests, which runs many setups on VMs to ensure product quality.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)