Fix --no-vr, avatar DB warning, force silent installer

This commit is contained in:
Natsumi
2022-07-30 23:39:43 +12:00
parent 163b2a8f27
commit 571a58351a
5 changed files with 64 additions and 25 deletions

View File

@@ -87,7 +87,9 @@ Function .onInit
Pop $R1
${If} $R1 = 0
MessageBox MB_OK|MB_ICONEXCLAMATION "VRCX is still running. Cannot install this software.$\nPlease close VRCX and try again." /SD IDOK
Abort
${IfNot} ${Silent}
Abort
${EndIf}
${EndIf}
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "VRCX is already installed. $\n$\nClick `OK` to upgrade the existing installation or `Cancel` to cancel this upgrade." /SD IDOK IDCANCEL cancel