I'm trying to search the registry for a path to a file. In the documentation I can read the following:
The path I'm using to test is the launch path for the Windows-Explorer (which is of course present on the machine). Here is the data I'm giving in the Registry Location Properties:"You should choose the “The value contains a path to a directory” or “The value contains a path to a file” option only if you are sure that the folder/file is present on the target machine. Otherwise, if the path cannot be resolved, Windows Installer will set the new value for the property to null. In this case use the “Retrieve the raw value” option."
Root: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Classes\Folder\shell\open\command
Name: [~] (Inserted automatically --> I assume, this is because the value to read is the default value)
Type: The value contains a path to a file
Well, the content of this reg-value is: %SystemRoot%\Explorer.exe, but when executing the Search Test I'm getting "1: C:\Windows\". Is this a bug or am I understanding something wrong? I'm expecting to get a value like "1: C:\Windows\Explorer.exe"
Thanks in advance,
Keneth
FOLLOW US
Get the latest news in Application Packaging