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

Scott Ferguson Scott.Ferguson at a2ktechnologies.co.nz
Tue Mar 22 17:41:34 PDT 2016


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?

More information about the wix-users mailing list