File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ OutputDir=.
3737; Comment line below to disable digital signature of installer
3838SignTool = azsign
3939
40- ; SignedUninstaller=yes
40+ SignedUninstaller = no
4141; SignedUninstallerDir=InstallerExtras\
4242MinVersion = 10.0
4343SetupIconFile = src\UniGetUI\Assets\Images\icon.ico
@@ -210,7 +210,7 @@ Source: "UniGetUI.x64.Appx"; DestDir: "{tmp}"; Flags: deleteafterinstall; Before
210210Source : " src\UniGetUI.PackageEngine.Managers.Chocolatey\choco-cli\*" ; DestDir : " {userpf} \..\UniGetUI\Chocolatey" ; Flags : createallsubdirs ignoreversion recursesubdirs uninsneveruninstall ; Tasks: regularinstall\chocoinstall; Check : not CmdLineParamExists(' /NoChocolatey' );
211211
212212[Icons]
213- Name : " {autodesktop}\{#MyAppName}" ; Filename : " unigetui://" ; Tasks: regularinstall\desktopicon
213+ Name : " {autodesktop}\{#MyAppName}" ; Filename : " unigetui://" ; Tasks: regularinstall\desktopicon ; Check : not CmdLineParamExists( ' /NoShortcut ' )
214214
215215[Run]
216216Filename : " powershell.exe" ; Parameters : " -Command " " Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object {{$_.DisplayName -like ''*UniGetUI*''}} | ForEach-Object {{Start-Process $_.UninstallString -ArgumentList ''/SILENT'' -Wait}}" " " ; Flags : runhidden waituntilterminated ; StatusMsg : " Removing old versions..."
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ private static async Task LaunchInstallerAndQuit(string installerLocation)
294294 StartInfo = new ( )
295295 {
296296 FileName = installerLocation ,
297- Arguments = "/SILENT /SUPPRESSMSGBOXES /NORESTART /SP- /NoVCRedist /NoEdgeWebView /NoWinGet /NoChocolatey" ,
297+ Arguments = "/SILENT /SUPPRESSMSGBOXES /NORESTART /SP- /CURRENTUSER / NoVCRedist /NoEdgeWebView /NoWinGet /NoChocolatey /NoShortcut " ,
298298 UseShellExecute = true ,
299299 CreateNoWindow = true ,
300300 }
You can’t perform that action at this time.
0 commit comments