"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 \"C:\\Program Files (x86)\\Common Files\\Adobe\"\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  SetShellVarContext all\n  ${If} ${FileExists} \"$INSTDIR\\CEPServiceManager5\\extensions\"\n    SetOutPath \"$INSTDIR\\CEPServiceManager5\\extensions\\" + opts.bundleId + "\"\n    RMDir /r $OUTDIR\n    File /r \"" + opts.paths.windowsInstallerFiles + "/*\"\n  ${ElseIf} ${FileExists} \"$INSTDIR\\CEPServiceManager6\\extensions\"\n    SetOutPath \"$INSTDIR\\CEPServiceManager6\\extensions\\" + opts.bundleId + "\"\n    RMDir /r $OUTDIR\n    File /r \"" + opts.paths.windowsInstallerFiles + "/*\"\n  ${Else}\n    MessageBox MB_OK \"CS app not found\"\n    Abort\n  ${EndIf}\nSectionEnd\n"; });
