2 changed files with 10 additions and 14 deletions
@ -0,0 +1,8 @@ |
|||
; Config for creating a WinRAR SFX archive for WinGet |
|||
|
|||
; Expand SFX archive |
|||
Path=$env:TEMP\Sophia_Script_for_Windows_11_vSophiaScriptVersion |
|||
; Copy folder recursively to user's Desktop folder |
|||
Setup=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden -Command & {Copy-Item -Path "$env:TEMP\Sophia_Script_for_Windows_11_vSophiaScriptVersion" -Destination "$(Get-ItemPropertyValue -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders' -Name Desktop)\Sophia_Script_for_Windows_11_vSophiaScriptVersion" -Recurse -Force} |
|||
; No GUI while expaning SFX archive |
|||
Silent=1 |
|||
Loading…
Reference in new issue