Error: 1303 - During MSI upgrade


I have an upgrade scenario where I get the below error logged in Event Viewer.

"-- Error 1303.The installer has insufficient privileges to access this directory: C:\Program Files\<instal "

My application is a Word and IE toolbar and the issue occurs during upgrade from older version.

Here are the steps....

1. User has already older version of my toolbars, say 1.0
2. User has opened an IE and Word instance and using the toolbar functionalities
3. LANDesk pushes the latest version to the user machine with "\qn" switch. (here IE and Word is open)
4. Installation completes, but when the user restart IE and Word to see the newer version, both the toolbars gone!!! Actually, the installation failed with Error: 1303 for a particular directory inside INSTALLDIR and it rollbacked everything.

I got a link from Flexera which says we need to close the folders and application (toolbars) in order to get rid of this error.


But, I want the upgrade to happen without asking the user(s) to close down their Word and IE instance.

Is this possible? Please shed some light here.


Note: This issue occurs 2 out of 10 users. Not all the users experience this and infact few user's gets the upgrade working!!!

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 13 years ago
Red Belt
I want the upgrade to happen without asking the user(s) to close down their Word and IE instance....in which case, you're going to have to force them closed, with the comcomittent possibility of completely screwing user's documents. They'll enjoy that...

Clearly, the upgrade is trying to replace files which the applications have locked. It's possible - with some clever script - to engineer this but, honestly, isn't it easier to notify your users that an upgrade is schedules for [whenever] and that, if they don't close down their apps, that they may lose some data?
Posted by: athirukk 13 years ago
Senior Yellow Belt
But, 8 users were able to see their upgrade worked fine, though they have kept their IE and Word open.Why not all the 10 users?
Posted by: anonymous_9363 13 years ago
Red Belt
Does every user open exactly the same documents, use the same templates, etc., etc.? No, so the two "orphans" must be using some facility or other which locks a file (or files) that the others don't. Does it matter anyway? If the package is to install a file (or files) which might be locked then you must cater for that situtaion. Advise users that an upgrade is to take place, that their apps must be closed (preferably, the users should be logged off) and that, if they're not, you cannot be responsible for data loss.
Posted by: athirukk 13 years ago
Senior Yellow Belt
I understand the situation and scenario now. Thanks for the information provided so far and I guess this is what the 'best practice' when SMS or LANDesk upgrades an application. i.e close it down during upgrade.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ