A better way to install Windows App Bundle file in offline machine
2 min read
This is a follow-up to the previous article I have written on How to manually install WSL2 on a Windows 10 Virtual Machine as I learned an alternate method to install Windows App Bundle (.appxbundle/.msixbundle) files.
In my previous article, I highlighted the issue of being unable to launch Ubuntu post installation and how to resolve it by gaining access to
WindowsApp directory. I have been told that this is not recommended as it may cause unforeseen issues in the future.
Rather than gaining access to
WindowsApp directory, and copying out the "installed files" to a separate directory. We can skip the installation step and extract the files manually, and place it somewhere we already have access.
Since the bundle files are just multiple files bundled together (think zip files), the content can also be extracted using the same method.
As I have disabled virtualization on my machine, hence the error message is shown. Please ignore it.
This works at the timing of writing for
Knowing the above, it also could mean that if any other application faces the same issue, we could try to resolve it using the same means. I know that
Windows Terminal does suffer from the same issue, hence, I did it the same way to show that it can be done.
This works at the time of writing for
I do think that this is a better solution compared to gaining access to
If you have any other better method, please let me know!