{"action":"created","issue":{"url":"https://api.github.com/repos/wixtoolset/issues/issues/5271","repository_url":"https://api.github.com/repos/wixtoolset/issues","labels_url":"https://api.github.com/repos/wixtoolset/issues/issues/5271/labels{/name}","comments_url":"https://api.github.com/repos/wixtoolset/issues/issues/5271/comments","events_url":"https://api.github.com/repos/wixtoolset/issues/issues/5271/events","html_url":"https://github.com/wixtoolset/issues/issues/5271","id":150207192,"number":5271,"title":"Directory search in registry","user":{"login":"EMostafaAli","id":11354102,"avatar_url":"https://avatars.githubusercontent.com/u/11354102?v=3","gravatar_id":"","url":"https://api.github.com/users/EMostafaAli","html_url":"https://github.com/EMostafaAli","followers_url":"https://api.github.com/users/EMostafaAli/followers","following_url":"https://api.github.com/users/EMostafaAli/following{/other_user}","gists_url":"https://api.github.com/users/EMostafaAli/gists{/gist_id}","starred_url":"https://api.github.com/users/EMostafaAli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EMostafaAli/subscriptions","organizations_url":"https://api.github.com/users/EMostafaAli/orgs","repos_url":"https://api.github.com/users/EMostafaAli/repos","events_url":"https://api.github.com/users/EMostafaAli/events{/privacy}","received_events_url":"https://api.github.com/users/EMostafaAli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wixtoolset/issues/labels/external","name":"external","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-21T22:20:52Z","updated_at":"2016-05-04T17:14:46Z","closed_at":"2016-05-04T17:14:46Z","body":"\r\nPlease provide answers to the following questions to help us narrow down, reproduce, and fix the problem. Fill out one section and delete the others.\r\n\r\n## Bugs\r\n\r\nIf this issue is a bug:\r\n\r\n* Which version of WiX are you building with?\r\n\r\n> 3.10.2.2516\r\n\r\n* Which version of Visual Studio are you building with (if any)?\r\n\r\n> Visual Studio 2015 V 14.0.25123.00 Update 2\r\n\r\n* Which version of .NET are you building with?\r\n\r\n> 4.5\r\n\r\n* If the problem occurs when installing your packages built with WiX, what is the version of Windows the package is running on?\r\n\r\n> Windows 10\r\n\r\n* Describe the problem and the steps to reproduce it.\r\n\r\n> I have a registry entry \"C:\\Program Files\\Computers and Structures\\SAP2000 18\\\" and I am writing the following property to get the directory.\r\n\r\n```\r\n<Property Id=\"SAP2000INSTALLATIONV18_64\">\r\n      <RegistrySearch Id=\"SAP2000Registryv18_64\" Root=\"HKLM\" Key=\"Software\\Computers and Structures, Inc.\\SAP2000\\18\" Name=\"Install path\" Type=\"directory\" Win64=\"yes\">\r\n        <DirectorySearch Id=\"SAP2000Pathv18_64\" Path=\"[SAP2000INSTALLATIONV18_64]\"/>\r\n      </RegistrySearch>\r\n    </Property>\r\n    <Condition Message=\"Path does not exist\">\r\n      <![CDATA[SAP2000INSTALLATIONV18_64]]>\r\n    </Condition>\r\n```\r\n\r\n> I found the installer can't run unless I change the type to \"raw\" instead of \"directory\". For me, it seems a legitimate path.\r\n\r\n> Please note the same code works for the same path if it is 32 bit.\r\n"},"comment":{"url":"https://api.github.com/repos/wixtoolset/issues/issues/comments/216936053","html_url":"https://github.com/wixtoolset/issues/issues/5271#issuecomment-216936053","issue_url":"https://api.github.com/repos/wixtoolset/issues/issues/5271","id":216936053,"user":{"login":"barnson","id":916265,"avatar_url":"https://avatars.githubusercontent.com/u/916265?v=3","gravatar_id":"","url":"https://api.github.com/users/barnson","html_url":"https://github.com/barnson","followers_url":"https://api.github.com/users/barnson/followers","following_url":"https://api.github.com/users/barnson/following{/other_user}","gists_url":"https://api.github.com/users/barnson/gists{/gist_id}","starred_url":"https://api.github.com/users/barnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barnson/subscriptions","organizations_url":"https://api.github.com/users/barnson/orgs","repos_url":"https://api.github.com/users/barnson/repos","events_url":"https://api.github.com/users/barnson/events{/privacy}","received_events_url":"https://api.github.com/users/barnson/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T17:14:46Z","updated_at":"2016-05-04T17:14:46Z","body":"MSI owns the AppSearch process so unless you're finding that WiX isn't building the AppSearch tables correctly, there's nothing WiX can do to change AppSearch behavior."}}