Publish reviewed history-free open-source snapshot (2026-10-12)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
; Shared by the production installer and the strictly isolated acceptance driver.
|
||||
; These macros never stop a client, change registration, or open a message box.
|
||||
; $0 is a fail-closed result, including failure to create the helper process.
|
||||
!macro ExtractAndVerifyPayload
|
||||
InitPluginsDir
|
||||
SetOutPath "$PLUGINSDIR\payload"
|
||||
ClearErrors
|
||||
File /r "${APP_SOURCE_DIR}\*.*"
|
||||
${If} ${Errors}
|
||||
StrCpy $0 30
|
||||
${Else}
|
||||
StrCpy $0 31
|
||||
ClearErrors
|
||||
ExecWait '"$PLUGINSDIR\payload\VPNPlus.exe" --installer-verify' $0
|
||||
${If} ${Errors}
|
||||
StrCpy $0 31
|
||||
${EndIf}
|
||||
${EndIf}
|
||||
!macroend
|
||||
|
||||
!macro ApplyVerifiedPayload ARGUMENT
|
||||
StrCpy $0 20
|
||||
ClearErrors
|
||||
ExecWait '"$PLUGINSDIR\payload\VPNPlus.exe" ${ARGUMENT} "$INSTDIR"' $0
|
||||
${If} ${Errors}
|
||||
StrCpy $0 20
|
||||
${EndIf}
|
||||
!macroend
|
||||
Reference in New Issue
Block a user