-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement WiX based MSI setup #38008
Conversation
Let me note that German translation is included and complete. The others are not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove all the licenses from this? You should only leave behind this English license: https://github.com/Microsoft/vscode/blob/master/LICENSE.txt
Also, we have a whole different process for translations, which we would need to adopt in the WiX setup. Please remove all translations and just leave English behind.
WiX need an RTF license file. It cannot work with the default txt file. If you do not like to take the files over you can remove them on commit, but need them later for setup build. If i remove the translation files the batch script stops working as files are missing. I‘m not aware of this process. How does it work and how are the translation files generated than? Is another undocumented script needed? This patch is fully working. It is not just 50% of what is needed to build the setup like the innosetup. Should I break it now? |
This is not our MIT license. If it needs an RTF, feel free to provide an RTF only containing our MIT license: https://github.com/Microsoft/vscode/blob/master/LICENSE.txt. An empty RTF would be even better, since then I wouldn't have to literally compare what you've put in there with our actual license. We don't have our localisation story documented unfortunately, but we need to be able to extract strings and send it over to an external service for translation periodically. So, if you could just provide the English version, I'll pick it up and integrate it. |
The MIT license /LICENSE.txt from project root is inside The english translation file is But do not wonder that the build.cmd can no longer build the MSI. |
The WIX UI extension includes a license file, you can ignore it (and the related property) and re-sequence the dialogs in order to prevent displaying it. |
But the setup need to show the license dialog... the current setup also does. I have implemented it like the current inno setup + better file association per file type. I do not really understand why I should implement or share just 50% of required files. Open source should be self containing and complete. It is not useful to destroy the installer and share half of the setup with the community. This disallow the community to build the setup. |
I will not merge a commit containing license files from an external source. That is just asking for legal trouble. If you don't remove these things from the commit history, we'll still use all your work, but the PR won't be merged. You'll still get a thanks in the release notes, though. If that works for you, then you don't need to do anything. |
This was the first fork and pull request on github in my life and it was no fun for me. I will try to update my pull and hopefully it is ok than. |
How strange... Why does a repository hard reset close a case? I hope this patch is now good to go. |
I'm also attaching the not committed language XML files Lang.zip here as it took some efforts to figure out the correct code pages and encodings. Especially japanese and chinese was not clear to me first. German strings are already translated. |
Now my user reference to the commit should be correct. |
Fixed code style issues. |
@alexhass As you see we have 109 PRs open. Please be patient. |
Added a new commit with two missing image files. |
@joaomoreno how are you making progress on this issue? It is now 3 months lingering here around. Can you commit the setup, please? Aside, is it ok if I attach the current MSI setups here or share as download on my website? They are based on the ZIP files provided by MS. So people can use it on their own and report feedback? |
@alexhass This is currently not in our plan. The PR is still useful since it contains a lot of helpful steps, for when eventually we decide to distribute MSI packages. Since this is an open source project, I believe you can distribute it, as long as you comply with the licenses surrounding the project. cc @chrisdias |
This sounds extreme bad. I absolutly need an MSI Installer. Shit exe setups need to die. They cannot deployed via AD. This means the software is not enterprise ready. I‘m not a lawer. Getting in conflict with ms is no option. Please provide the stuff that we need. Ms normally always provides msi setups. Why are you not doing this??? Please put some priority on this case. There are a lot of people who need it. |
So the solution to this issue is laying around for over half a year now. Not being able to give dev's the tools they need is frustrating. Please add this to the plan. |
Sorry @alexhass, will have to close this, it's just not in our roadmap: https://github.com/Microsoft/vscode/wiki/Issue-Grooming#out-of-scope-feature-requests |
Thanks for the waste of time. How should we deploy the software now????????????????! |
@joaomoreno : People need this, Put this on your roadmap, please. There is no workaround possible. GPO can ONLY deploy MSI. Now I need to also block your sh** per User installer just because you have no idea about roaming profiles. Are you beginners really from MS? |
I understand that @joaomoreno is against making a msi installer for VScode, but there are some environments where this is a necessity for deployment when pushing out software via GPO. A quick Google doesn't seem to indicate that #61793 will work with software deployment via GPO. |
can these changes be easily applied to https://github.com/VSCodium/vscodium/ or will it need significant updating and vscodium specific workarounds? |
Yes, can be done easily. See my repository for the latest version, please. If you need help I can provide some. |
I was not aware of vscodium. Would love to help getting it out of the door. Do you know if and how we can disable automatic update in vscodium? |
edit1- from https://code.visualstudio.com/docs/supporting/faq#_how-do-i-opt-out-of-vs-code-autoupdates -> "update.mode": "none" edit2- on Ubuntu, the file is:
to disable the 'Enable Windows background updates.' setting- "update.enableWindowsBackgroundUpdates": false note- I usually combine both options. so contents of settings.json is-
|
A per machine setting is required for auto update. The one you found is a per user setting and does not work well. |
A vbscript workaround for deployment in AD GPO here #33184 |
I've created the MSI setup of Visual Code. Compared to the InnoSetup it allows users to select file associations. This is required for AD deployment if the admin do not like to assign every file extension. This means this setup introduced an important new feature.