I want to perform a custom action when a file that is pointed to by a registry key is present. Thus, I want the property to be null if either the reg key is not there, or the file that the key is pointing to is not present.
So I create a new registry search, enter my key path, and choose "The value contains a path to a file". However, when I test the search, I only get the file's directory's path ("C:\path\to" instead of "C:\path\to\file.exe")! Even worse: If I delete "file.exe", I still get "C:\path\to". And even stranger: If I delete the whole "to" directory, I get "C:\"
What's wrong?
FOLLOW US
Get the latest news in Application Packaging