Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
including install.bat with initrd
2017-06-22, 17:54
Post: #2
RE: including install.bat with initrd
Commit in wimboot that introduced that load files from initrd into wim:
https://git.ipxe.org/wimboot.git/commitd...5ae01eeb23

The example shows winpeshl.ini which is located in %SYSTEMROOT%\System32
files injected into the wim by wimboot will only be in /windows/system32 as such you will have to make sure that your winpeshl.ini refers to that same place...

example winpeshl.ini:
Code:
[LaunchApp]
AppPath = %SYSTEMROOT%\System32\install.bat"

and for your install.bat (you should probably rename it startnet.cmd to conform to winPE standard) I would strongly suggest some updates:
:: wpeinit loads the shell
wpeinit
:: Make sure network is up before continuing
wpeutil WaitForNetwork
:: also make sure we have dns
net start dnscache
REM possible loop here until network is confirmed up


earlier post of mine on similar topic: http://forum.ipxe.org/showthread.php?tid...2#pid13472

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: including install.bat with initrd - NiKiZe - 2017-06-22 17:54



User(s) browsing this thread: 1 Guest(s)