tiny11builder icon indicating copy to clipboard operation
tiny11builder copied to clipboard

Linux support

Open Maxb0tbeep opened this issue 1 year ago • 17 comments

can I run this on linux?

Maxb0tbeep avatar Apr 18 '23 01:04 Maxb0tbeep

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

draylegend avatar Apr 18 '23 15:04 draylegend

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

ianis58 avatar Apr 19 '23 21:04 ianis58

Short answer no.

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

InsertX2k avatar Apr 20 '23 17:04 InsertX2k

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

s3rj1k avatar Apr 20 '23 18:04 s3rj1k

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.

ianis58 avatar Apr 20 '23 19:04 ianis58

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

s3rj1k avatar Apr 20 '23 20:04 s3rj1k

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!

ianis58 avatar Apr 20 '23 22:04 ianis58

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 :)

s3rj1k avatar Apr 20 '23 22:04 s3rj1k

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.

InsertX2k avatar Apr 23 '23 04:04 InsertX2k

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

jp06 avatar Apr 23 '23 07:04 jp06

@s3rj1k did you use it in wine?

draylegend avatar Apr 23 '23 14:04 draylegend

@s3rj1k did you use it in wine?

Yep, I used wine :)

s3rj1k avatar Apr 23 '23 14:04 s3rj1k

@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

InsertX2k avatar Apr 23 '23 18:04 InsertX2k

@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

s3rj1k avatar Apr 23 '23 18:04 s3rj1k

@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!🎆

InsertX2k avatar Apr 23 '23 22:04 InsertX2k

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

jp06 avatar Apr 25 '23 19:04 jp06

@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.

s3rj1k avatar Apr 26 '23 11:04 s3rj1k