PDA

View Full Version : File left after uninstall



Ioanb22
11-30-2012, 09:29 AM
Hello,

I have a strange behavior on a Basic MSI package.
It's an old project (couple of years) where at one moment I had to add a new file / component. It's nothing special about this file, an Interop dll, no registration, no COM, copied in the same folder like all the others.

Since I added this file, after the uninstall this dll is consistently left on the target machine. I removed it and I put it back, but it did not help.

Any idea?

Thanks,
Ioan

MattQVI
11-30-2012, 12:27 PM
Ioan,

One thing you want to check on is the file's properties in InstallShield. Sometimes if it is marked as "permanent" it will get left behind on uninstall. Or if something else references it too.

Matt

Ioanb22
12-04-2012, 04:37 PM
I found out that the dlls are registered on target machines in SharedDLLs with counter > 1, probably from older tests. I cleaned up the registry and everything is correct.

Thanks,
Ioan