Compare commits
5 Commits
d80d911fd6
...
1f15b58baa
Author | SHA1 | Date |
---|---|---|
Fierelier | 1f15b58baa | |
Fierelier | ca64aaad7e | |
Fierelier | 30b007447d | |
Fierelier | cc712eeace | |
Fierelier | c4f289013a |
|
@ -164,6 +164,12 @@ Mods that require System rights<br>
|
|||
<tr><td>[unattend]\[6.1]\[x86]\<b>unattend-starter</b></td><td>quality</td><td>Skip certain questions in the last step of Windows setup.</td></tr>
|
||||
<tr><td>[unattend]\[6.1]\[x86]\<b>unattend-ultimate</b></td><td>quality</td><td>Skip certain questions in the last step of Windows setup.</td></tr>
|
||||
</table><br>
|
||||
<h1 id="mods-online"><a href="#mods-online">#</a> Mods: mods-online</h1>
|
||||
Mods that are applied for online deployments<br>
|
||||
<table>
|
||||
<tr><th>Mod</th><th>Tags</th><th>Description</th></tr>
|
||||
<tr><td>\<b>run SetupComplete</b></td><td>quality</td><td>Run SetupComplete scripts when applying on an online system.</td></tr>
|
||||
</table><br>
|
||||
<h1 id="mods-trustedInstaller"><a href="#mods-trustedInstaller">#</a> Mods: mods-trustedInstaller</h1>
|
||||
Mods that require TrustedInstaller rights<br>
|
||||
<table>
|
||||
|
|
|
@ -164,6 +164,12 @@ Mods that require System rights<br>
|
|||
<tr><td>[unattend]\[6.1]\[x86]\<b>unattend-starter</b></td><td>quality</td><td>Skip certain questions in the last step of Windows setup.</td></tr>
|
||||
<tr><td>[unattend]\[6.1]\[x86]\<b>unattend-ultimate</b></td><td>quality</td><td>Skip certain questions in the last step of Windows setup.</td></tr>
|
||||
</table><br>
|
||||
<h1 id="mods-online"><a href="#mods-online">#</a> Mods: mods-online</h1>
|
||||
Mods that are applied for online deployments<br>
|
||||
<table>
|
||||
<tr><th>Mod</th><th>Tags</th><th>Description</th></tr>
|
||||
<tr><td>\<b>run SetupComplete</b></td><td>quality</td><td>Run SetupComplete scripts when applying on an online system.</td></tr>
|
||||
</table><br>
|
||||
<h1 id="mods-trustedInstaller"><a href="#mods-trustedInstaller">#</a> Mods: mods-trustedInstaller</h1>
|
||||
Mods that require TrustedInstaller rights<br>
|
||||
<table>
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
if (opusnt.target["type"] != "online"):
|
||||
skip = True
|
|
@ -0,0 +1 @@
|
|||
Mods that are applied for online deployments
|
|
@ -0,0 +1 @@
|
|||
Run SetupComplete scripts when applying on an online system.
|
|
@ -0,0 +1 @@
|
|||
subprocess.run(["call","%SystemDrive%\\Windows\\Setup\\Scripts\\SetupComplete.cmd"],check=True,shell=True)
|
|
@ -0,0 +1 @@
|
|||
quality
|
|
@ -1,2 +1,2 @@
|
|||
@echo off
|
||||
exit /b 10
|
||||
exit /b 11
|
|
@ -0,0 +1,16 @@
|
|||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
cd /d "%~dp0"
|
||||
set path=%cd%\path;%path%
|
||||
|
||||
REM Location to your py.exe/python.exe - If the Python launcher is installed (fairly likely), py should suffice.
|
||||
REM If Python does not launch, set this to the full path if your python.exe, like so:
|
||||
REM set pyexe=C:\Program Files\Python38\python.exe
|
||||
set pyexe=py
|
||||
|
||||
echo WARNING! This will apply opus-nt to your currently running OS.
|
||||
pause
|
||||
advancedrun /exefilename "cmd.exe" /commandline '/c "set path=%path% & call "%pyexe%" run.py online"' /startdirectory "%cd%" /runas 4 /waitprocess 1 /run
|
||||
advancedrun /exefilename "cmd.exe" /commandline '/c "set path=%path% & call "%pyexe%" run.py online modpath=mods-trustedInstaller"' /startdirectory "%cd%" /runas 8 /waitprocess 1 /run
|
||||
advancedrun /exefilename "cmd.exe" /commandline '/c "set path=%path% & call "%pyexe%" run.py online modpath=mods-online"' /startdirectory "%cd%" /runas 4 /waitprocess 1 /run
|
||||
pause
|
Loading…
Reference in New Issue