diff --git a/installer/nsis/filebot.nsi b/installer/nsis/filebot.nsi index 750f3f82..3c06d2d2 100644 --- a/installer/nsis/filebot.nsi +++ b/installer/nsis/filebot.nsi @@ -108,16 +108,18 @@ Section MAIN ${endif} DetailPrint "Installing latest version..." - nsExec::Exec `msiexec /passive /norestart /i "$PLUGINSDIR\FileBot.msi"` + nsExec::Exec `msiexec.exe /passive /norestart /i "$PLUGINSDIR\FileBot.msi"` Pop $MSI_STATUS # grab return value ${if} $MSI_STATUS == "0" DetailPrint "Optimizing..." nsExec::ExecToLog `"C:\Program Files\FileBot\filebot.exe" -script "g:println net.filebot.Settings.getApplicationIdentifier(); println 'JRE: ' + Settings.getJavaRuntimeIdentifier(); println String.format('JVM: %d-bit %s', com.sun.jna.Platform.is64Bit() ? 64 : 32, System.getProperty('java.vm.name')); java.util.prefs.Preferences.userRoot(); net.filebot.CacheManager.getInstance().clearAll(); net.filebot.media.MediaDetection.warmupCachedResources();" --log OFF` - DetailPrint "Done." + DetailPrint "Done. Before you get started, please have a look at the FAQ." + ExecShell open `http://www.filebot.net/forums/viewtopic.php?f=3&t=7` ${else} DetailPrint "msiexec error $MSI_STATUS" DetailPrint "Installation failed. Please download the .msi package manually." + ExecShell open `https://app.filebot.net/download.php` Abort ${endif} SectionEnd