Skip to content
⌘ NSIS Forum Archive

NSIS Right for me?

8 posts

stonkers#

NSIS Right for me?

Hi all! Been a while since I've used NSIS (a couple jobs / about 10 years) so I'm very rusty. Creating client installers for a different software now. We've been using JExpress, but the updater has stopped working and the customer doesn't want to do a fresh install every time. It doesn't work, because they no longer support the version of Java that we're stuck on because of the legacy software this client is built with (Versata). So we're stuck on JRE 1.5 SR16. So the client deploys with a JRE version, some jar files, some config files, some image files. That's about it. Multiple environments, so the file structure is:

C:\Program Files (x86)\OurApp
jre1.5sr16
OurAppEnv1
SomeJARs
SomePropFiles
ImagesFolder
ImageFiles
CurrentlyJExpressFolder
JExpressPropFilesUninstAndSuch
OurAppEnv2
SameFoldersAndFilesUnderHere...

Any advise if NSIS is a good direction or any other direction you would suggest?

Thanks Much!
Eric
stonkers#
Note that the updater I'm describing connects to a server via https to verify that an update is necessary, and if so, just updates changed files rather than all files in the installation. That is a requirement of the installer. Thanks!
Anders#
Originally Posted by stonkers View Post
Will I be able to deliver an old version of the JRE (1.5.0sr16)?
I don't know anything about Java. I assume you just include their installer in your installer, extract it and execute it.
stonkers#
Thanks Anders! After looking a bit further, it looks like NSIS isn't my best option. It doesn't handle updates gracefully, better with uninstall / install. That's pretty much a requirement for our app.
Nutzzz#
Out of curiosity, what's missing for "graceful" updates?

FYI, if you're looking for a maintenance page when you're doing an update to choose between change/reinstall/uninstall, you can use UltraModernUI.
kalverson#
unzipping a custom jre is a piece of cake with an NSIS plug-in. You can easily create your own jre.zip file from an already installed jre. Uninstalls are no problem either.