-
Looking at the WIX I can see bits of the flow to handle a User install, but attempts to use the MSI Properties hasn't worked and the UI just pushes you into Admin/UAC based after the license prompt. I get the privileged service wouldn't be available, but given it makes maintenance of the app in the environment far more complicated (our users can't complete a UAC) I wanted to toy with the tradeoffs. If it's not available any longer well that's the answer, but wanted to make sure I was just not missing something. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
You are supposed to be able to install as a regular user, into your local app directory, and of course without getting the privileged helper. @mook-as should give you a more definitive answer next week; I only ever do system-wide installation myself. |
Beta Was this translation helpful? Give feedback.
-
Yup i don't know if WIX is picking up a remnant of an old install and skipping the prompt for User v Machine or something. It seems like you should if you accept the limitations and that is what i want to experiment with. Tried to clean up what I would expect would trigger that UI bypass, but no luck. It's purely so auto-update will work as I am finding if folks install as Machine they stay on that old version because since they don't have UAC they need to jump through some hoops for admin. Wanted to test out the experience with a couple of the common use cases to see if the limitations are more hassle than just having folks swing through self-service workflows for an update. |
Beta Was this translation helpful? Give feedback.
-
I think I am closing in on it as I found a machine that would give the option. I believe its tied to the WSLKERNELINSTALLED check. Based on the comments I think because there is no previous version it assumes it has to do the KERNEL which requires Admin. Now why I had one machine that did offer the option after uninstall is curious as you would think it would be consistent. Trying to isolate that specific test to see why it sees it when run by one user, but not by another. I am leaning toward how WSL itself was installed so the user v machine installed list is generating a different outcome. |
Beta Was this translation helpful? Give feedback.
-
And best that I can gather trying to get beyond the blackbox of MSI
So likely a custom check could be written on the old kernel model as well that works User and Machine. Now on one machine that has the WSL 2.0 prerelease running and functioning I don't get a match for the kernel update package because it likely is all baked into that single AppX. So it gives a false negative and requires Admin in the UI. And the change from wsl --status to --version is only an additional annoyance at how to do all these checks and validations objectively by parsing output. Been dealing with a number of challenges with Store and especially the WSL install because of the interaction with Host Network Service as a User context so the chaos of os features, updates, store apps, etc. is giving me ptsd. 😅 |
Beta Was this translation helpful? Give feedback.
-
Going to close this one out. Yes they are still supported and if you don't get the prompt after the License acceptance than check your wsl kernel package status. wsl --status or --version depending on your wsl release. If the kernel was not installed or you are cutover to Store based completely than the installer may think there isn't a WSL kernel when there is. https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi will need Admin though to install even if installing RD after can be done as User. Move to making Store install the RD prereq and not just wsl/kernel package in the future should avoid this. |
Beta Was this translation helpful? Give feedback.
Going to close this one out.
Yes they are still supported and if you don't get the prompt after the License acceptance than check your wsl kernel package status. wsl --status or --version depending on your wsl release. If the kernel was not installed or you are cutover to Store based completely than the installer may think there isn't a WSL kernel when there is. https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi will need Admin though to install even if installing RD after can be done as User.
Move to making Store install the RD prereq and not just wsl/kernel package in the future should avoid this.