Register a shared file

This action lets you register the specified file with Windows as a shared legacy file. Shared means that this file may be used by different applications, and consequently should be removed with care.

It uses the Windows’ shared file counting feature (located in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs). Each time the file is registered, the reference count for the file is incremented. When an application using the file is removed, the reference count is decremented. If the count reaches zero, the file is deleted.

Property NameData TypeDescription
AddUninstReferenceBooleanIf true, the package will add a reference to this file in the uninstaller log file. The file will be then removed only if no more used.
SharedFilenameStringFull path to the file you want to register as shared. For example %SYS%\Mydll.dll

All available actions

© G.D.G. Software 2018. All rights reserved.