Bitcoin Forum
February 21, 2019, 11:04:43 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN] Installer / Setup Script for Windows Wallets  (Read 3844 times)
fruor
Member
**
Offline Offline

Activity: 78
Merit: 13


View Profile WWW
January 26, 2014, 12:45:12 AM
Last edit: January 26, 2014, 01:11:33 AM by fruor
 #1

FOR COIN DEVELOPERS ONLY
DO NOT ACCEPT .EXE FILES FROM SOURCES YOU DO NOT TRUST!

I will not include any precompiled executables ITT, and I don't want any of those posted by random users.
If you are a Coin Dev and need help editing or compiling or you want an added feature, icons, folders etc. leave me a PM and I see what I can do.

---
Installing a client wallet on Windows is pretty easy, but still people do complain when struggling with config files, forgot where they unzipped the binaries to, don't find the AppData folder etc. As some of the Altcoins are aiming for the masses, it has become necessary to offer an easy-to-go install and usage of every client.

To make things easier I wrote an installer script for Altcoins, creating a convenient setup.exe out of the windows binaries. It can easily be adapted to match any Coin and should only be released by Coin devs themselves.

What does the setup file do?
- create and install the coin-qt.exe and daemon in the Program Files(x86)\ folder (or Program Files\ on 32bit Windows)
- copy a pre-prepared conf file to the user's \Appdata\Roaming folder
- make it available as uninstallable windows program
- create start menu items for the coin-qt.exe and the uninstaller
- create an optional desktop icon
- offer the user to import an existing wallet when installing on a new computer

Benefits:
Setup and Go - no more use for .conf file editing for the user if the released one works fine
Wallet Protection - the wallet (created on first launch or imported) will never be affected by uninstalling the client
Overwrite Protection - program files require user interaction if they already exist in their target destination (e.g. for updates), wallet file will never be overwritten
Cleaner Look - Shortcut Icons where they should be, and the client program has finally found its way to the Program Files folder
Open Source - this script is for your reviewing and editing and can be compiled with the well-respected Open Source Compiler Inno Setup

Quick & Dirty How-To:
  • Download coininstaller.iss and copy it to the path where the windows binary files reside
    You can also open this in a text editor and follow the routines, the language used is very close to Perl
    https://www.dropbox.com/s/cd87dfkx4qunaeh/coininstaller.iss
  • Copy a .conf file to the same folder - this should be a .conf file the user will be having in it's Roaming\Appdata\CoinName\ folder, include nodes!
  • Download a copy of Inno Setup
    http://www.jrsoftware.org/isdl.php
  • Open the attached coininstaller.iss with it and edit it to match your coin
  • Go to Build-Compile or hit Strg+F9

the setup.exe (which has all files included) will be in the \SETUP folder of your windows binaries - test it and release to the masses

Donations are welcome!

BTC - 1Hh5AQjuvJjoSRXWV2NUpM2ctQdHH53SAS

LTC - LPf2V2JkYB7XiiNuGkHch8PcKJ2qFr4MFR

COINYE - 5SF2Qf9cUcSRvVvubAT8LmMCoiy6vUSse1

1550747083
Hero Member
*
Offline Offline

Posts: 1550747083

View Profile Personal Message (Offline)

Ignore
1550747083
Reply with quote  #2

1550747083
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1550747083
Hero Member
*
Offline Offline

Posts: 1550747083

View Profile Personal Message (Offline)

Ignore
1550747083
Reply with quote  #2

1550747083
Report to moderator
Bit_Happy
Legendary
*
Offline Offline

Activity: 1876
Merit: 1019


A Great Time to Start Something!


View Profile
March 13, 2014, 07:34:44 PM
 #2

This looks helpful, thanks.
Has anyone here tested it yet?

FYI: We are <snip>
d2dtk
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
April 30, 2014, 06:16:02 PM
 #3

This looks helpful, thanks.
Has anyone here tested it yet?

It installs everything needed to get the wallet running however there are not many nodes so it isn't connecting. Virus scan showed no results.

Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!