{"action":"closed","issue":{"url":"https://api.github.com/repos/wixtoolset/issues/issues/5590","repository_url":"https://api.github.com/repos/wixtoolset/issues","labels_url":"https://api.github.com/repos/wixtoolset/issues/issues/5590/labels{/name}","comments_url":"https://api.github.com/repos/wixtoolset/issues/issues/5590/comments","events_url":"https://api.github.com/repos/wixtoolset/issues/issues/5590/events","html_url":"https://github.com/wixtoolset/issues/issues/5590","id":231166909,"number":5590,"title":"Wix Error 1001 on Windows 10 when using CustomAction beyond Program Files","user":{"login":"NoGitHubPlease","id":28935457,"avatar_url":"https://avatars2.githubusercontent.com/u/28935457?v=3","gravatar_id":"","url":"https://api.github.com/users/NoGitHubPlease","html_url":"https://github.com/NoGitHubPlease","followers_url":"https://api.github.com/users/NoGitHubPlease/followers","following_url":"https://api.github.com/users/NoGitHubPlease/following{/other_user}","gists_url":"https://api.github.com/users/NoGitHubPlease/gists{/gist_id}","starred_url":"https://api.github.com/users/NoGitHubPlease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoGitHubPlease/subscriptions","organizations_url":"https://api.github.com/users/NoGitHubPlease/orgs","repos_url":"https://api.github.com/users/NoGitHubPlease/repos","events_url":"https://api.github.com/users/NoGitHubPlease/events{/privacy}","received_events_url":"https://api.github.com/users/NoGitHubPlease/received_events","type":"User","site_admin":false},"labels":[{"id":318728547,"url":"https://api.github.com/repos/wixtoolset/issues/labels/support","name":"support","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-24T20:48:56Z","updated_at":"2017-05-24T21:17:17Z","closed_at":"2017-05-24T21:17:17Z","body":"I use the latest Version of wix (3.11 I think) in Visual Studio 2013 latest updates. All is running with .Net 4.0 and/or .Net 2.0.\r\nWith this version I developed a set of install packages, all running on Windows 7 (or less) without any Problems.\r\nWithin that install packages, a custom action using an Assembly is called to prepare parts of the Installation Environment.\r\nOn Windows 10 those packages Crash. The reason is, that the Custom Actions result 'Assembly.installState' can not be writtin within the Directory, where the application is installed in, which is beyond Program Files. There a System.SecurityException is thrown, telling, that the installer does not have enough rights to write into the applications subdirectory beyond 'Program Files'. But in fact, all other installed files are there and the Assembly itself could be startet there. Just the 'Assembly.installState' file is written with different previleges than the application files. This causes Error 1001.\r\nThe Problem does not occure, if I do install beyond a different Directory, not beyond \"Program Files\".\r\nI think, this is a bug.\r\nBut in fact, I was not able to define different Access rights (create file right) for the applications Directory beyond \"Program Files\"."}}
{"actor":{"display_login":"barnson"}}