Old 18th May 2018, 15:58   #1
stonkers
Senior Member
 
Join Date: Sep 2003
Posts: 192
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

Eric
stonkers is offline   Reply With Quote
Old 18th May 2018, 16:53   #2
stonkers
Senior Member
 
Join Date: Sep 2003
Posts: 192
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!

Eric
stonkers is offline   Reply With Quote
Old 18th May 2018, 18:26   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,888
You need to use the INetC plug-in from the wiki to access HTTPS content.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 21st May 2018, 15:43   #4
stonkers
Senior Member
 
Join Date: Sep 2003
Posts: 192
Will I be able to deliver an old version of the JRE (1.5.0sr16)?

Eric
stonkers is offline   Reply With Quote
Old 21st May 2018, 18:59   #5
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,888
Quote:
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.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 22nd May 2018, 16:34   #6
stonkers
Senior Member
 
Join Date: Sep 2003
Posts: 192
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.

Eric
stonkers is offline   Reply With Quote
Old 22nd May 2018, 23:16   #7
Nutzzz
Junior Member
 
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 49
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.
Nutzzz is offline   Reply With Quote
Old 19th June 2018, 17:39   #8
kalverson
Senior Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 134
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.
kalverson is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump