elective-stereophonic
elective-stereophonic
[Windows] NRS Installer
singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Pages: 1 2 [All]

Author Topic: [Windows] NRS Installer  (Read 9661 times)

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
[Windows] NRS Installer
« on: February 22, 2015, 10:31:42 am »

Hi Nxt-ers,

As some of you may know, I've been testing/discussing and working on windows installers (which also is my dayjob). I've done this with the idea in mind to make the crypto world a little userfriendly and give it a more professional look and feel. At least for the installer, as that's the first hurlde to take for a new user.

I know the nxt devs are working very hard on loads of things and one of them is a nice installer. By the looks of things, it will take some time though before it can/will be released. In the mean time I did see some people asking for an installer as soon as possible.

So, as I finally sort of finished (is it ever really finished?) my script to generate a windows installer from the .zip that's delivered by Jean Luc, I'd like to offer this windows installer for the time being.

This is what the installer does:
- Installs the nxt files exactly like the ones delivered in the .zip from Jean Luc, to the location given during the setup screens.
- It also installs the Java Runtime files in that location (that's why the installer is a bit bigger than the .zip). A seperate Java installation is not needed.
- By default the shortcuts will be installed to startmenu and desktop, but you can choose not to do that.
- The nxt.properties will be installed to %AppData%. This is a per user location, so different people can run their own settings on one computer.
- By default the blockchain databaselocation will be %AllUsersProfile% (unless it already finds a nxt.properties from one of my earlyer installers), but you can set it to a different location during the setup screens if you like.
- On uninstall, the blockchain and nxt.properties will be left behind, so you will not loose your settings and you will not have to download the blockchain again with every new version.

Have a look for yourself:
My current Template folder to create the MSI's, including the last msi's I produced. (Please remember I'm not a programmer, so I'm already embarrased about the "code", no need to burn me down on that):
NRSTemplate.zip 446.9 MB
Link Removed

This is a start of explaining what's what:
Script_ReadMe_NRS.txt 6 KB
Link Removed


**********************************************

NXT_Wallet_for_Windows-1.4.18.msi - 75.4 MB
Link Removed

SHA256: 4EF29E700FC2AEA713F7874A24429E38E32AF3485C9E5BC6B4C7B403C9D2EBAC

**********************************************

Experimental MSI:
This is not only the Experimental version of NRS. The MSI itself also has a new feature that needs testing. On the Database location screen there's a checkbox wether or not to download the Blockchain provided by peerexplorer.com. I have not found the ultimate solution for it yet, but for now it works, I guess. The cancel button during the download and unpack action doesn't work though. Once the download starts, you'll have to wait for it to complete.
If your windows does NOT use "." for decimal and "," for thousands, then don't use the download option. The script doesn't work correct and will wait forever.
**********************************************

NXT_Wallet_for_Windows_Experimental-1.5.2.msi - 66.3 MB
Link Removed

SHA-256: 56BC64B59B0C2E391A29566196597676596313E07B2F8DAB3A25C0654F9CB31A

**********************************************

I will try to update this post as soon as possible when I see a new version appear.
Feel free to ask any questions, as long as they have something to do with the installer.

Enjoy!
Qwitnix


***********************************************************************
As the devs provide their own installer now, I stopped making the msi installer. To make sure there's no cunfusion, I removed the links to the downloads.

Grtz,
Qwitnix

« Last Edit: June 08, 2015, 07:12:18 pm by Qwitnix »
Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #1 on: February 22, 2015, 10:32:06 am »

[Known Issues]

Experimental MSI:
- Download Blockchain doesn't work well, better not use it for now
  There's a problem with . and , in the numbers that are used. Depending on the language settings of the computer it either works well, or never completes.
- The cancel button during the download and unpack action doesn't work though. Once the download starts, you'll have to wait for it to complete.
« Last Edit: April 16, 2015, 01:16:55 pm by Qwitnix »
Logged

zuqka

  • Sr. Member
  • ****
  • Karma: +32/-4
  • Offline Offline
  • Posts: 328
    • View Profile
    • nxt.zuqka.info
Re: [Windows] NRS Installer
« Reply #2 on: February 22, 2015, 10:44:30 am »

Thank you
Logged
NXT-2V7G-C8BY-KTYY-CAHNU. Sponsoring 4 Full Nxt Nodes & demo.ardorplatform.org

smartwart

  • Jr. Member
  • **
  • Karma: +7/-0
  • Offline Offline
  • Posts: 76
    • View Profile
Re: [Windows] NRS Installer
« Reply #3 on: February 22, 2015, 11:07:22 am »

Very helpful to give the marketing some arguments!
Are you able to such a quality job for Mac too?

Logged

alxx77

  • Full Member
  • ***
  • Karma: +18/-4
  • Offline Offline
  • Posts: 219
    • View Profile
Re: [Windows] NRS Installer
« Reply #4 on: February 22, 2015, 11:07:36 am »

Cool!  :)

This is very important thing for crypto-noobs... Crypoworld is sometimes hard to understand even for tech savvy people, let alone average six-pack Joe...

So, it is realy important to have 'real' straightforward windows installer...

Good job..!

 
Logged

bidji29

  • Sr. Member
  • ****
  • Karma: +53/-11
  • Offline Offline
  • Posts: 250
    • View Profile
Re: [Windows] NRS Installer
« Reply #5 on: February 22, 2015, 11:26:45 am »

I think if the official installer take more time it's because it will include other feature, like getting rid of the command windows and the addition of a tray icon
Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #6 on: February 22, 2015, 11:32:50 am »

Very helpful to give the marketing some arguments!
Are you able to such a quality job for Mac too?

Nope, sorry. I'm a 100% Windows guy.
Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #7 on: February 22, 2015, 11:37:25 am »

I think if the official installer take more time it's because it will include other feature, like getting rid of the command windows and the addition of a tray icon

The features you state here, have very little to do with the installer. It's something a Java dev can solve/make, which I am not. I work with what the nxt devs deliver.

But yes, the nxt devs are working on that stuff too. The reason for the "delay" of the installer directly from the devs, is testing testing testing. That installer should be good for all Operating Systems, so takes loads of time to test everything.
Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #8 on: February 25, 2015, 06:52:24 am »

1.4.16 created and uploaded. OP updated.
Logged

bidji29

  • Sr. Member
  • ****
  • Karma: +53/-11
  • Offline Offline
  • Posts: 250
    • View Profile
Re: [Windows] NRS Installer
« Reply #9 on: February 25, 2015, 12:37:52 pm »

Good job!
Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #10 on: April 06, 2015, 09:10:47 pm »

Added NXT_Wallet_for_Windows_Experimental-1.5.0.msi - 66.2 MB to the opening post.
Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #11 on: April 12, 2015, 10:00:28 pm »

Added NXT_Wallet_for_Windows_Experimental-1.5.1.msi - 66.3 MB to the opening post.

This installer is also experimental, as it has a optional download of the blockchain as it is provided by peerexplorer.

Please let me know if there's any issues. I have not had too much time to test it all. Have Fun!

Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #12 on: April 16, 2015, 10:17:47 am »

1.5.2e Vailable, see opening post
Logged

Daedelus

  • Hero Member
  • *****
  • Karma: +230/-12
  • Offline Offline
  • Posts: 3280
    • View Profile
Re: [Windows] NRS Installer
« Reply #13 on: April 16, 2015, 11:22:44 am »

Is there any risk of using your installer? Has it been reviewed?

Thanks  ;D
Logged
NXT: NXT-4CS7-S4N5-PTH5-A8R2Q

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #14 on: April 16, 2015, 01:07:30 pm »

Hi Daedelus,

Review
I'm not sure what you mean by reviewing. Do you mean the vbscript, the msi, the technical side, the functional side?

The technical side of the MSI, the result of the script I wrote, has been reviewed a while ago by a colleague of mine. I did make some changes to the vbscipt since then, to make the nxt.properties and nxt database stuff better.

Let me explain it a little further. An MSI (Microsoft Installer) basically is a relational database, and a data stream build according to the windows installer standard of microsoft. In the data stream are all files compressed in a .cab, plus a few scripts that I wrote for instance to add the right paths in the nxt.properties and now download the blockchain and unpack it to the right location.

I made a vbscript that starts with a basic example msi from windows installer, the latest JRE and the latest version of NRS. Does a lot of stuff and then after a few minutes, writes the msi.

There's a default automated technical validation that can be done in a tool like ORCA (One Real Cool Application, wich basically is a database editor), which comes free with the Windows SDK. This will tell every little thing that's not according to the rules. There's Info, Warnings and Errors. Info and almost all warnings can be ignored, as they once might have been relevant for win95, but are not relevant anymore for the current operating systems. Errors should be fixed, unless sometimes there's a very good reason you can't follow the rules.
Just ran that validation again, and I see there's one new thing that I should fix (an error). It's not a problem in the way that it doesn't install or something, but according to the techinical rules I should change it. The "problem" is that theres a "@" in an internal name, which is "not allowed" there. There's already several chars that are beeing fixed in my script, I guess @ is not in the list yet. For the next version I will change it.
If someone is really interested I'm happy to explain every warning that the validation comes up with, and why I (have to) leave it that way.

The validation and checking the msi can be done by everyone, as it's all free. The difficulty here is that not too many people know what to look for and how it works. On the other hand, every table can be searched for on google to see what it does and how it should work. So, actually it's all opensource.

On a side note:
This is the first time I did not check if the installer actually works, as I'm at work, and the last 10+ times, the installer worked perfectly fine.

Risk
Well... uhm... This is always hard to say... Depends what you find risky... with the .zip that J-L delivers you can overwrite an older version. This installer can also screw up that same older installation. but:
If you never had nxt installed, there's close to zero risk.
If you have nxt on your machine, just install this to a different location, and there's close to zero risk.

If you don't like what the installer does, then all you need to do to get back to the same situation as you started with:
1. Uninstall the msi, by double clicking it again, or via add remove programs
2. Remove the nxt database from the location you installed it in
3. remove the nxt folder in your applicationdata with the nxt.properies

So basically there's very little risk, imho.

I hope this answers your questions. If there's anything else, please keep asking away =)
Qwitnix
Logged

Daedelus

  • Hero Member
  • *****
  • Karma: +230/-12
  • Offline Offline
  • Posts: 3280
    • View Profile
Re: [Windows] NRS Installer
« Reply #15 on: April 16, 2015, 01:38:36 pm »

I think it is just my lack of understanding but I meant could you, if you were mean and nasty, have put something in the installer to steal passwords? Is this even possible? If so, has someone reviewed your code?

From my limited understanding, it sounds like the installer is just saying "take this file, put it there, add this entry x to here, add shortcut to start menu" so I might be just be confusing you  ;D
Logged
NXT: NXT-4CS7-S4N5-PTH5-A8R2Q

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #16 on: April 16, 2015, 03:35:00 pm »

Oooh... I understand now... errr.. never even crossed my mind that this trust issue existed...

There's not much I can do to prove that I only use the zip that J-L delivers.

Any thoughts on what I can do to help peeps see that I don't add anything to the nxt client itself?

The only thing I can think of just now, is hand over my script to a core dev, and let them create the MSI. I did offer that before, but as they are working on their own installer, they didn't think it was a good idea to do that.
That installer will be there soon now I guess, so then the whole trust issue would be gone anyway. But as I'd like to offer this installer thingy to other devs too (like I work on the SuperNET installer for windows), I'd be happy to find a way.

Hmmm maybe I can ask a trusted member with some tech skills, to download and install my msi, then do a compare to the files from a zip. If all files are the same (which they are) that trusted member could approve.
Any idea who could and would be up for that?

Geez.... finally understand why peeps are not too happy about this installer... got to sort this out...
Thanks for asking =)

Grtz,
Qwitnix
Logged

NxtSwe

  • Hero Member
  • *****
  • Karma: +124/-9
  • Offline Offline
  • Posts: 657
    • View Profile
Re: [Windows] NRS Installer
« Reply #17 on: April 17, 2015, 05:18:13 am »

Would it be possible to make the files required to make the msi open source?
Maybe automate the process, so it can be checked that ... you know ... hashes match :)
Logged
Check out the NxtLib, the .NET Framework API for the Nxt platform.

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #18 on: April 17, 2015, 07:55:47 am »

I'm happy to provide everything as a download....
Yesterday discussed this with some of the SuperNET peeps and already send them some stuff to review, but it will take them time to process.

If there's anyone interested, just let me know, and I'll toss you a download link as soon as I have it (got to make a zip of the NRS template first).
Uploading my current template folder for NRS, including the msi's I posted here earlyer. Zip is 450 MB, but then you have all I have for NRS.

BTW: There's a way to just unpack the files from the MSI:
Open a cmd.exe and use the command: msiexec.exe /a <fullpath and filename of msi>
this will get you in a default series of "installation" screens for an administrative setup. There's a few screens, one of them asking for a location, that's the unpack location, one of them asking for company name and cd-key, just leave them blanc and click next.
Result will be all the files, except for the custom actions I implemented to alter the nxt.properties so that it points to the right location.
This way you can have a look at it without actually installing the msi.

« Last Edit: April 17, 2015, 08:06:00 am by Qwitnix »
Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #19 on: April 17, 2015, 08:20:27 am »

Updated the opening post with 2 downloads.
1. My whole template folder for the NRS Installer
2. A start of a txt file with an explanation what's what.

Have fun!
Qwnitnix
Logged

Daedelus

  • Hero Member
  • *****
  • Karma: +230/-12
  • Offline Offline
  • Posts: 3280
    • View Profile
Re: [Windows] NRS Installer
« Reply #20 on: April 17, 2015, 12:26:02 pm »

You're searching for the holy grail: trying to get something that noobies can check is secure in a one-click set-up  :D

Logged
NXT: NXT-4CS7-S4N5-PTH5-A8R2Q

Daedelus

  • Hero Member
  • *****
  • Karma: +230/-12
  • Offline Offline
  • Posts: 3280
    • View Profile
Re: [Windows] NRS Installer
« Reply #21 on: April 17, 2015, 12:34:49 pm »

Looks like events have caught up with us!


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Release 1.5.2e - integrated installer

https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-setup-1.5.2e.exe

sha256:

0b1c81f28bb144139d731227d0cc9fe64b8195e36760dbd3e59dce1d6024c798 *nxt-client-setup-1.5.2e.exe

This is an experimental release of the new integrated installer.
See: https://bitbucket.org/JeanLucPicard/nxt/issue/283/integrated-installer

Note that currently only the installation exe is provided I will upload the installation Jar later.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJVMOQfAAoJECdelKfYMRZR8mEH/0vt3MlQzJZyya0M8lACsAja
krTM8LyhKtjCXalS7eeB/tyoJUkPhUYMQLr7ZI9RGOv4L2kDFaooYOgJmzYlbmjz
7n/qogkt3ZAgrrYnZgPyrc8iiltXjQufVjkcGgvFkS2Fsj9PERhNOs/c+r8Zwme0
k8bS+DEs1NQek0znne7huhU1FC5CQ7Dc1Czm3Yft866KMCojQ7GeEC2Q+v+1d7z0
qmaGnTCFOZEfJ7ohyYhSgeJz0xZFcTzIao1ZOdHO4jWIeLtCqWNQm1/n2bSX45r2
fEkUxGR7p3Y2pw7RNhx2mxy5ONGcjX77hVGyGwCoDIpF0nqI4wV0il99im9mNgY=
=PJXQ
-----END PGP SIGNATURE-----
Logged
NXT: NXT-4CS7-S4N5-PTH5-A8R2Q

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #22 on: April 17, 2015, 06:17:06 pm »

That's what I ws waiting for...
Only started to offer this installer to fill the gap..

Once it goes live for a normal nrs release, I will stop with my installers.. :)
Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #23 on: April 19, 2015, 10:33:49 am »

Added 1.4.17 to the openingpost.

Solved the error in the MSI that showed up in Validation of the it. All warnings that are left, are explainable or even intended in some cases.

Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #24 on: May 19, 2015, 02:59:48 pm »

Added 1.4.18 to the openingpost.
Logged

Qwitnix

  • Full Member
  • ***
  • Karma: +31/-0
  • Offline Offline
  • Posts: 128
    • View Profile
Re: [Windows] NRS Installer
« Reply #25 on: June 08, 2015, 07:08:59 pm »

As the installer created by the devs is available now, I stop creating this installer.
Logged
Pages: 1 2 [All]
 

elective-stereophonic
elective-stereophonic
assembly
assembly