{"action":"opened","issue":{"url":"https://api.github.com/repos/wixtoolset/issues/issues/5722","repository_url":"https://api.github.com/repos/wixtoolset/issues","labels_url":"https://api.github.com/repos/wixtoolset/issues/issues/5722/labels{/name}","comments_url":"https://api.github.com/repos/wixtoolset/issues/issues/5722/comments","events_url":"https://api.github.com/repos/wixtoolset/issues/issues/5722/events","html_url":"https://github.com/wixtoolset/issues/issues/5722","id":272827521,"number":5722,"title":"Patching/Updating non versioned files with a small/minor update","user":{"login":"mounikapk","id":33538009,"avatar_url":"https://avatars0.githubusercontent.com/u/33538009?v=4","gravatar_id":"","url":"https://api.github.com/users/mounikapk","html_url":"https://github.com/mounikapk","followers_url":"https://api.github.com/users/mounikapk/followers","following_url":"https://api.github.com/users/mounikapk/following{/other_user}","gists_url":"https://api.github.com/users/mounikapk/gists{/gist_id}","starred_url":"https://api.github.com/users/mounikapk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mounikapk/subscriptions","organizations_url":"https://api.github.com/users/mounikapk/orgs","repos_url":"https://api.github.com/users/mounikapk/repos","events_url":"https://api.github.com/users/mounikapk/events{/privacy}","received_events_url":"https://api.github.com/users/mounikapk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-10T05:58:03Z","updated_at":"2017-11-10T05:58:03Z","closed_at":null,"author_association":"NONE","body":"## Feature requests\r\n\r\nIf this issue is a feature request:\r\n\r\n**This is a feature request**\r\nWe are using Wix 3.6, Visual Studio 2013/2017 for installing and creating patches for our product.\r\n\r\n> (Provide lots of specific detail so we understand the context around the feature.)\r\n\r\nWe are unable to achieve the below requirement using Wix toolset-\r\nWe want a specific flat file, merely a .info file which need to be replaced every time in a patch. This info file has the patch information, which would change with every release. Since, that being a non versioned file, we are not able to achieve this currently.\r\n1. Major release 17.0\r\n2. Minor update patch (Patch1.msp)- 17.1 -> has a new file - env.info\r\n    step 2. places the file in the installation folder for the first time.\r\n3. Small update patch (Patch2.msp) - 17.1.1 -> env.info is updated\r\n    step 3. doesn't replace the file with the new file.\r\n\r\nSince this file is nonversioned.\r\n\r\n> (Be as specific as you can and err on the side of providing too much information.)\r\n\r\nThe WIX installer should allow us to add/replace unversioned files in a small/minor patch without being required to add a Companion file to achieve the same. Using a Companion file may not be a flexible way to achieve it, because, we might not have a .dll/versioned binary that changes from time to time. Nor we are very ok to wait for a Major upgrade to achieve this trivial stuff.\r\n\r\n> (There's no need to design it but suggestions are appreciated.)\r\n**From the design point of view, this is how we can do-**\r\nFrom my example- We did a major release say 17.0, so, in 17.1 we would like to add a new .info file, which is not supported as of now. For the Wix installer patch to understand if a file has to be replaced every time we apply the patch, we can probably have a 'Replace Always'  attribute which is YesOrNo type, on the File element. This should also take care of the uninstall scenario. This can make a developer's job easy. "}}
{"actor":{"display_login":"mounikapk"}}