M P
M P

Reputation: 33

Error 2911: Could not remove the folder C:\Config.Msi\

I have a installation which creates a desktop shortcut:

<Shortcut Id="SC.Desktop" Directory="DesktopFolder" Name="!(bind.Property.ProductName)" WorkingDirectory="INSTALLDIR" Target="[INSTALLDIR]testfile.txt" />

<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="integer" Name="DesktopIcon" Value="1" KeyPath="yes" />

On a installation all works fine, no errors in verbose log.

On a unistallation I get an error in verbose log:

DEBUG: Error 2911:  Could not remove the folder C:\Config.Msi\.

How can I solve this issue?

Upvotes: 0

Views: 870

Answers (1)

Rob Mensching
Rob Mensching

Reputation: 36006

That's not an actual error message. It's just the Windows Installer talking to itself. Files and folders like that are usually cleaned up on restart.

Upvotes: 1

Related Questions