; Headless extraction/transaction integration, NOT production GUI acceptance. ; No registry writes, shortcuts, uninstaller, shutdown, or network operations. Unicode True RequestExecutionLevel user SilentInstall silent ; Keep all shared extraction/transaction code, only avoid repeatedly compressing ; the large identical test payload. Never defined by the production installer. !ifdef ACCEPTANCE_FAST_FIXTURES SetCompress off !else SetCompressor /SOLID lzma !endif !include "LogicLib.nsh" !include "PayloadTransaction.nsh" !include "RemovalPayload.nsh" !ifdef INTEGRATED !include "InstallationIntegration.nsh" !endif !ifndef APP_SOURCE_DIR !error "APP_SOURCE_DIR is required" !endif !ifndef ACCEPTANCE_OUTPUT !error "ACCEPTANCE_OUTPUT is required" !endif Name "UCVL isolated NSIS payload acceptance" OutFile "${ACCEPTANCE_OUTPUT}" ; A missing /D argument must fail the helper's strict temporary-path guard. InstallDir "$TEMP\INVALID-UCVL-ACCEPTANCE-TARGET" Section !ifdef REMOVE_ONLY !insertmacro PrepareRemovalHelper ${If} $0 == 0 !insertmacro RunRemovalHelper "--uninstaller-isolated-remove" ${EndIf} !else !insertmacro ExtractAndVerifyPayload ${If} $0 == 0 !ifdef INTEGRATED !insertmacro PrepareInstallationIntegration ${If} $0 == 0 !ifdef INTEGRATION_INTERRUPT !insertmacro ApplyVerifiedPayload "--installer-isolated-interrupt ${INTEGRATION_INTERRUPT}" !else !insertmacro ApplyVerifiedPayload "--installer-isolated-integrated" !endif ${EndIf} !else !insertmacro ApplyVerifiedPayload "--installer-isolated-apply" !endif ${EndIf} !endif SetErrorLevel $0 SectionEnd !ifdef INTEGRATED ; The fixture stages a real NSIS uninstaller, but never executes a production ; uninstall. It contains no removal instructions and is inert if run manually. Section "Uninstall" SetErrorLevel 0 SectionEnd !endif