feat: Automatically execute script after installation (#423)

This commit is contained in:
hellodword 2024-04-28 11:03:37 +00:00 committed by GitHub
parent 3390ef8101
commit 02c95fb960
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 120 additions and 3 deletions

View file

@ -259,6 +259,11 @@
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
<Description>Enable RemoteAPP to launch unlisted programs</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>20</Order>
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
<Description>Execute custom script from the OEM folder if exists</Description>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>