Hrethric
Hrethric

Reputation: 96

WIX Installer Error: The system cannot open the device or specified file

I have a WIX installer that acts as a content installer for users. It's supposed to install these files in a specific directory. Unfortunately when I run it I get the following error: "The system cannot open the device or specified file." This then gives me error code 2755 after canceling the install (retry does not work).

I've looked through other questions with similar issues, and it does not appear to be an encryption problem on temp, the install folder, or the MSI installer itself - these all appear fine. This also isn't a problem with the C:\Windows\Installer folder being read-only.

I've never had a problem with a WIX installer before. What other things can I try to get this working?

Upvotes: 0

Views: 1474

Answers (2)

KrisG
KrisG

Reputation: 149

I was seeing all of the following errors when installing my 3.5 GB .msi generated by WiX:

  • DEBUG: Error 2709: The specified Component name ('cmpF7216C180B7A7119CC61FDB3BD209D5D') not found in Component Table.
  • DEBUG: Error 2755: Server returned unexpected error 110 attempting to install package D:\...\setup.msi.
  • The system cannot open the device or specified file

Turning off EmbedCab made them all go away:

<Wix>...
  <Product>...
    <MediaTemplate EmbedCab="no" />

I unfortunately now have 30 cab files to deal with, but at least the install succeeds.

Upvotes: 0

T1000
T1000

Reputation: 1

For me the problem solved when the installer run as administrator.

Upvotes: 0

Related Questions