When I install an application in which there is a file somet.txt, it installs it in a specific place C:\temp, and the windows store a register that was installed 1 time.
If another application installs the same file with the same identifier in the same location, the installation counter is incremented by 2.
This means that if you want to completely delete this file, you need to remove both applications before deleting the file.
I am looking for the opportunity to read this counter / edit this counter, etc.
Does anyone know how to do this, either manually or via wix / via C #?
I found this information
the installer increases the reference count in the shared registry of the component key file DLL
source
share