I have an installer that is using a registry search based property folder. The weird thing about it is if the registry search doesn't find a value it will install the files into a folder on one of the hard drives on the machine. For instance, one of my searches is named SQL_2005_DIR. It looks for a specific folder where SQL Server 2005 is installed based on a microsoft key value. If that key isn't found, the folder and the contents from the installer will be installed onto the root drive (or any other drive AI chooses) of the machine with the name of the search. So the above would create C:\SQL_2005_DIR if the registry key value isn't found.
On my machine, I have two drives C & E. When the installer runs on my machine, I get the folders and files installed onto my E drive (e.g. E:\SQL_2005_DIR). I chose the correct installer path of C:\program files...\ and E has nothing installed onto it. It's just an extra drive.
I cannot for the life of me figure how to stop this from occurring. I tried moving the search based folders into the application directory but the UI will not allow me to create search based properties there.
I'm sending the package to support with the hopes that you can help me figure this out.
Thanks!