mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 14:46:04 +02:00
Only silent install for upgrades
This commit is contained in:
@@ -96,10 +96,12 @@ Function .onInit
|
|||||||
cancel:
|
cancel:
|
||||||
Abort
|
Abort
|
||||||
next:
|
next:
|
||||||
|
|
||||||
StrCpy $upgradeInstallation "true"
|
StrCpy $upgradeInstallation "true"
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
${If} $upgradeInstallation == "false"
|
||||||
|
SetSilent normal
|
||||||
|
${EndIf}
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
Function createDesktopShortcut
|
Function createDesktopShortcut
|
||||||
@@ -169,5 +171,8 @@ Section "Uninstall"
|
|||||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VRCX"
|
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VRCX"
|
||||||
|
|
||||||
Delete "$SMPROGRAMS\VRCX.lnk"
|
Delete "$SMPROGRAMS\VRCX.lnk"
|
||||||
|
|
||||||
|
${IfNot} ${Silent}
|
||||||
Delete "$DESKTOP\VRCX.lnk"
|
Delete "$DESKTOP\VRCX.lnk"
|
||||||
|
${EndIf}
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|||||||
Reference in New Issue
Block a user