mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
VRCX Installer 1
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
"C:\Program Files (x86)\NSIS\makensis.exe" installer.nsi
|
||||
pause
|
||||
+10
-5
@@ -91,14 +91,14 @@ Function .onInit
|
||||
Abort
|
||||
${EndIf}
|
||||
|
||||
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
|
||||
"VRCX is already installed. $\n$\nClick `OK` to upgrade the \
|
||||
existing installation or `Cancel` to cancel this upgrade." \
|
||||
IDOK upgrade
|
||||
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
|
||||
Goto next
|
||||
cancel:
|
||||
Abort
|
||||
next:
|
||||
|
||||
upgrade:
|
||||
StrCpy $upgradeInstallation "true"
|
||||
|
||||
done:
|
||||
FunctionEnd
|
||||
|
||||
@@ -143,6 +143,11 @@ Section "Install" SecInstall
|
||||
CreateShortCut "$SMPROGRAMS\VRCX.lnk" "$INSTDIR\VRCX.exe"
|
||||
ApplicationID::Set "$SMPROGRAMS\VRCX.lnk" "VRCX"
|
||||
|
||||
${If} ${Silent}
|
||||
SetOutPath $INSTDIR
|
||||
ShellExecAsUser::ShellExecAsUser "" "$INSTDIR\VRCX.exe" ""
|
||||
${EndIf}
|
||||
|
||||
SectionEnd
|
||||
|
||||
;--------------------------------
|
||||
|
||||
Reference in New Issue
Block a user