feat: Create desktop shortcut to shared folder

This commit is contained in:
Kroese 2025-10-02 23:31:28 +02:00 committed by GitHub
parent 797964ee0e
commit e466dc6f3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -331,6 +331,11 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>21</Order>
<CommandLine>cmd /C mklink /d %userprofile%\Desktop\Shared \\host.lan\Data</CommandLine>
<Description>Create desktop shortcut to shared folder</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>22</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>
@ -338,3 +343,4 @@
</component>
</settings>
</unattend>