I want to install Edge in Windows programmatically using the official
MSI Edge installer (151 MB) but avoid the use of administrator permissions, and place the extracted files in a custom folder (not C:\Program Files (x86)\Microsoft\Edge). I found a command which works, but unfortunately, it requires administrator permissions, namely:
msiexec /i MicrosoftEdgeEnterpriseX64.msi /qn
Therefore, I tried to extract the data encoded inside the MSI. After some manipulation of this MSI, I extracted a file called MicrosoftEdge_X64_116.0.1938.76.exe (145.7 MB), which seems to be a Portable Executable (PE) file (see reference). But its format seems strange to me since most content is encoded in the .rsrc section.
As far as I believe, the .rsrc section in a PE file contains resources indexed by a multiple-level binary-sorted tree structure (see source). But this PE file does not follow that, and that file seems like a binary file I cannot understand nor uncompress. So here is my question.
Does anybody know how to uncompress the content of the .rsrc section of that PE file?
Note: I checked related questions here (e.g., using PEDUMP) without success.
