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

@ -302,6 +302,11 @@
<CommandLine>netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes</CommandLine>
<Description>Enable File Sharing</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>17</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>