mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 14:46:04 +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
|
Abort
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
|
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
|
||||||
"VRCX is already installed. $\n$\nClick `OK` to upgrade the \
|
Goto next
|
||||||
existing installation or `Cancel` to cancel this upgrade." \
|
cancel:
|
||||||
IDOK upgrade
|
|
||||||
Abort
|
Abort
|
||||||
|
next:
|
||||||
|
|
||||||
upgrade:
|
|
||||||
StrCpy $upgradeInstallation "true"
|
StrCpy $upgradeInstallation "true"
|
||||||
|
|
||||||
done:
|
done:
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
@@ -143,6 +143,11 @@ Section "Install" SecInstall
|
|||||||
CreateShortCut "$SMPROGRAMS\VRCX.lnk" "$INSTDIR\VRCX.exe"
|
CreateShortCut "$SMPROGRAMS\VRCX.lnk" "$INSTDIR\VRCX.exe"
|
||||||
ApplicationID::Set "$SMPROGRAMS\VRCX.lnk" "VRCX"
|
ApplicationID::Set "$SMPROGRAMS\VRCX.lnk" "VRCX"
|
||||||
|
|
||||||
|
${If} ${Silent}
|
||||||
|
SetOutPath $INSTDIR
|
||||||
|
ShellExecAsUser::ShellExecAsUser "" "$INSTDIR\VRCX.exe" ""
|
||||||
|
${EndIf}
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user