Brian Patton wrote: > If I'm installing a file to the system32 directory, the > SharedDllRefCount='no' attribute on my component seems to be ignored, > and the refcount on the file is set to TWO after installation, which > means the file never gets removed (It gets set to ONE after > uninstallation). Is this a backward-compatibility issue where system32 > files are meant never to be deleted?
See the Component Table MSI SDK topic: The installer keeps track of shared DLLs independently of the shared DLL reference count in the registry. If a reference count for a shared DLL exists in the registry, the installer always increments the count when it is installing the file and decrements it when it is uninstalling. If msidbComponentAttributesSharedDllRefCount, is not set, and the reference count does not already exist, the installer will not create one. Note that the SharedDLLs reference count in the registry is incremented for any files installed to the System folder (System32 on Windows NT/Windows 2000). -- sig://boB http://bobs.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users