[wix-users] Cannot Install When One File Is Included - Permission Error

Phil Wilson phil.wilson at mvps.org
Tue Mar 22 17:57:07 PDT 2016


Are you trying to replace one that is already there? 
Phil W  

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
Scott Ferguson
Sent: Tuesday, March 22, 2016 5:42 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Cannot Install When One File Is Included - Permission
Error

Hi,

When I include a particular file in my installer I get an error when I try
to run the .msi file.

Error Message: "Windows cannot access the specified device, path or file.
You may not have the appropriate permission to access the item."

I know it's the one file because when I remove only it from the build and
run the installer it works as expected. Then when I put it back in, it fails
every time.

The file is GDALInfo.exe. It is part of OSGEO which is an open source
geospatial application.

I don't believe it is some kind of file lock because I don't engage the file
or otherwise use it. I restart my computer all the time with this same issue
and so I can't see how the file could be locked.

I have looked at the properties of the file and the file permissions are the
same as every other file in the directory.

Has anyone dealt with this type of issue before? Is there a work around?



____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/




More information about the wix-users mailing list