logoalt Hacker News

1vuio0pswjnm7yesterday at 5:47 PM2 repliesview on HN

Where can one read the source code of setup.exe

That's, e.g., how I would determine what these commands do

I have had HN replies in the past that argued Windows is open source and thus comparable to UNIX-like OS projects where _the public_ can read the source code and make modifications, _for free_

Absent the source code, we can read Microsoft's documentation

https://learn.microsoft.com/en-us/windows-hardware/manufactu...

It seems like WinPE is the most useful version of Windows, e.g., it allows more options to setup.exe

How does one quickly and easily download and install a copy of WinPE, preferably on removable media


Replies

zahllosyesterday at 7:03 PM

The windows assessment and deployment kit is what you need, with the windows pe add-on: https://learn.microsoft.com/en-us/windows-hardware/manufactu...

You should be aware there's a 3 day limit to uptime, then PE reboots. You can work around that: https://lsoft.zendesk.com/hc/en-us/articles/360011128377-I-n...

The other thing to tell you is that this is not a live version of windows with all the features of the full desktop. It is the windows that runs the windows installer application, so enough windows to do that and no more.

I would personally recommend linux instead.

prerokyesterday at 6:34 PM

Who would argue that Windows is open source? That's hilarious.