mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-17 10:38:04 +02:00
DISM API command for compatibility building from Win7 host
This commit is contained in:
@@ -165,8 +165,8 @@ If,Not,%TimeZone%,Equal,Default,Set,%DismArg%,"%DismArg% /Set-TimeZone:#$q%TimeZ
|
||||
// Set Keyboard, Format and Timezone with DISM
|
||||
If,Not,%DismArg%,Equal,"",Begin
|
||||
Echo,"Configuring International Settings...#$x#$xThis can take awhile, please be patient."
|
||||
ShellExecute,Hide,"dism.exe","/image:#$q%TargetDir%#$q %DismArg% /LogPath:#$q%DismLog%#$q"
|
||||
If,Not,%ExitCode%,Equal,0,Halt,"Error: Dism.exe terminated with error code: [%ExitCode%]. Check the log for details."
|
||||
DISM,"/image:#$q%TargetDir%#$q %DismArg% /LogPath:#$q%DismLog%#$q"
|
||||
If,Not,#r,Equal,0,Halt,"Error: Dism.exe terminated with error code: [#r]. Check the log for details."
|
||||
End
|
||||
|
||||
// Create an empty User Profile registry key for the International Control Panel
|
||||
|
Reference in New Issue
Block a user