"use strict";
exports.__esModule = true;
exports["default"] = (function (opts) { return "!include \"MUI2.nsh\"\n!include \"FileFunc.nsh\"\n\nName \"" + opts.name + "\"\nBrandingText \"" + opts.name + "\"\nOutFile \"" + opts.windows.dest + "\"\nSetCompressor /SOLID lzma\nInstallDir \"$PLUGINSDIR\"\n\n!define MUI_ABORTWARNING\n!define MUI_WELCOMEFINISHPAGE_BITMAP \"" + opts.windows.resources + "/leftimage.bmp\"\n!define MUI_UNWELCOMEFINISHPAGE_BITMAP \"" + opts.windows.resources + "/leftimage.bmp\"\n!define MUI_HEADERIMAGE\n!define MUI_HEADERIMAGE_BITMAP \"" + opts.windows.resources + "/headerimage.bmp\"\n!define MUI_HEADERIMAGE_UNBITMAP \"" + opts.windows.resources + "/headerimage.bmp\"\n!define MUI_WELCOMEPAGE_TEXT \"This wizard will guide you through the installation of " + opts.name + ".$\\r$\\n$\\r$\\nClick Next to continue.\"\n!define MUI_ICON \"" + opts.windows.resources + "/icon.ico\"\n\n!insertmacro MUI_PAGE_LICENSE \"" + opts.windows.resources + "/LICENSE.txt\"\n!insertmacro MUI_PAGE_INSTFILES\n!insertmacro MUI_PAGE_FINISH\n!insertmacro MUI_LANGUAGE \"English\"\n\nFunction .onInit\n\tInitPluginsDir\nFunctionEnd\n\nSection \"Application\" SecApplication\n\tSetShellVarContext all\n\tSetOutPath \"$PLUGINSDIR\"\n\tFile /r \"" + opts.paths.windowsInstallerFiles + "/*\"\n\tExecWait '\"$PLUGINSDIR\\ExManCmd_win\\ExManCmd.exe\" /install bundle.zxp' $0\n\t${If} $0 U>= 0x80010000\n\t\tMessageBox mb_iconstop \"Error during installation: $0. Please look up the error code above on the following website: https://helpx.adobe.com/exchange/kb/error-codes.html\"\n\t\tAbort  \n\t${EndIf}\nSectionEnd\n"; });
