Skip to content
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

Linux support #48

Open
Maxb0tbeep opened this issue Apr 18, 2023 · 17 comments
Open

Linux support #48

Maxb0tbeep opened this issue Apr 18, 2023 · 17 comments

Comments

@Maxb0tbeep
Copy link

can I run this on linux?

@draylegend
Copy link

@Maxb0tbeep do you mean in a VMWarePlayer or virtualbox? Or do you mean whether tiny11 supports Windows Subsystem for Linux?

@ianis58
Copy link

ianis58 commented Apr 19, 2023

all this script is windows specific you have no chance to get it to run on linux.

@InsertX2k
Copy link

Short answer no.

Long answer, You can't run this on Linux because dism and reg utilities aren't available under a Linux environment.

@s3rj1k
Copy link

s3rj1k commented Apr 20, 2023

Long answer, You can't run this on Linux because dism and reg utilities aren't available under a Linux environment.

Long answer is yes, use WINE

@ianis58
Copy link

ianis58 commented Apr 20, 2023

I really think that the "dism" utility will not work / miss dependencies if you try to run it on wine.
You can't run it on Linux except if you do in a windows virtual machine.
You need to run it on an up to date windows 10.

@s3rj1k
Copy link

s3rj1k commented Apr 20, 2023

I really think that the "dism" utility will not work / miss dependencies if you try to run it on wine. You can't run it on Linux except if you do in a windows virtual machine. You need to run it on an up to date windows 10.

https://wimlib.net/

Worked fine enough when I was using it in Linux for Windows 8 ISO

@ianis58
Copy link

ianis58 commented Apr 20, 2023

Impressive I did not knew that something like that exists!
Still it would need to rewrite the whole script to use wimlib instead of dism, but yeah definitely possible with that!

@s3rj1k
Copy link

s3rj1k commented Apr 20, 2023

Impressive I did not knew that something like that exists! Still it would need to rewrite the whole script to use wimlib instead of dism, but yeah definitely possible with that!

I am not sure that it will work with /Remove commands for component removal but is does work fine with imaging part.

So, you definitely can mount wim under Linux and from there abuse WINE prefixes to use mounted Windows image DLLs and use dism binary from the actual image.

But I would still recommend using VMs :)

@InsertX2k
Copy link

Long answer, You can't run this on Linux because dism and reg utilities aren't available under a Linux environment.

Long answer is yes, use WINE

Although reg.exe is bundled within the binaries of Wine, Dism.exe isn't.

@jp06
Copy link

jp06 commented Apr 23, 2023

@InsertX2k yeah, but is it not possible to use the DISM.exe from the image like he said?

@draylegend
Copy link

@s3rj1k did you use it in wine?

@s3rj1k
Copy link

s3rj1k commented Apr 23, 2023

@s3rj1k did you use it in wine?

Yep, I used wine :)

@InsertX2k
Copy link

@InsertX2k yeah, but is it not possible to use the DISM.exe from the image like he said?

dism.exe uses the Windows's Virtual Disk service, which isn't available or can't be used on Wine in Linux

@s3rj1k
Copy link

s3rj1k commented Apr 23, 2023

@InsertX2k yeah, but is it not possible to use the DISM.exe from the image like he said?

dism.exe uses the Windows's Virtual Disk service, which isn't available or can't be used on Wine in Linux

https://bugs.winehq.org/show_bug.cgi?id=41377

@InsertX2k
Copy link

InsertX2k commented Apr 23, 2023

@InsertX2k yeah, but is it not possible to use the DISM.exe from the image like he said?

dism.exe uses the Windows's Virtual Disk service, which isn't available or can't be used on Wine in Linux

https://bugs.winehq.org/show_bug.cgi?id=41377

Still, if the VDS service works properly there might be other services required by dism.exe that can't be started on linux.

However, if you managed to properly run dism.exe under a Wine environment then congratulations!🎆

@jp06
Copy link

jp06 commented Apr 25, 2023

@s3rj1k a bit off-topic but do you think it's possible to have IIS on Wine?

@s3rj1k
Copy link

s3rj1k commented Apr 26, 2023

@s3rj1k a bit off-topic but do you think it's possible to have IIS on Wine?

Probably not in production grade working state and breaking every possible licenses.

WinPE would be my second choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants