-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from phelixnmc/windows_installer
Windows Installer Script (Innosetup)
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
; also in the code | ||
#define version "0.x.xx" | ||
|
||
#define sourceFolder "..\release" | ||
#define progname "Namecoin" | ||
|
||
[Messages] | ||
WelcomeLabel2=%nThis will install [name/ver] on your computer.%n | ||
ClickFinish=ATTENTION: Please note it may take a couple of hours for the initial blockchain download to complete.%n%nClick Finish to exit Setup. | ||
ConfirmUninstall=Are you sure you want to completely remove %1 and all of its components?%n%nThis will leave blockchain data and your wallet.dat file alone. | ||
UninstalledAll=%1 was successfully removed from your computer.%n%nThere might still be blockchain data and your wallet.dat file in %APPDATA%\Namecoin | ||
|
||
[Setup] | ||
AppVerName={#progname} {#version} | ||
AppName={#progname} | ||
DefaultDirName={pf}\{#progname} | ||
DefaultGroupName={#progname} | ||
UninstallDisplayIcon={uninstallexe} | ||
Compression=lzma2/ultra | ||
SolidCompression=yes | ||
OutputDir=.\installer | ||
OutputBaseFilename={#progname}_v{#version}_setup | ||
|
||
[Files] | ||
Source: "{#sourceFolder}\namecoin-qt.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "{#sourceFolder}\..\src\namecoind.exe"; DestDir: "{app}"; Flags: ignoreversion | ||
Source: "{#sourceFolder}\*.dll"; DestDir: "{app}"; Flags: ignoreversion | ||
|
||
[Tasks] | ||
Name: desktopicon; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:" | ||
Name: desktopicon\common; Description: "For all users"; GroupDescription: "Additional icons:"; Flags: exclusive | ||
Name: desktopicon\user; Description: "For the current user only"; GroupDescription: "Additional icons:"; Flags: exclusive unchecked | ||
Name: quicklaunchicon; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"; Flags: unchecked | ||
|
||
[Icons] | ||
Name: "{group}\{#progname}"; Filename: "{app}\namecoin-qt.exe" | ||
Name: "{commondesktop}\Namecoin-Qt"; Filename: "{app}\namecoin-qt.exe"; Tasks: desktopicon\common | ||
Name: "{userdesktop}\Namecoin-Qt"; Filename: "{app}\namecoin-qt.exe"; Tasks: desktopicon\user | ||
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Namecoin-Qt"; Filename: "{app}\namecoin-qt.exe"; Tasks: quicklaunchicon | ||
Name: "{group}\uninstall"; Filename: "{uninstallexe}"; | ||
|
||
[Run] | ||
; info time blockchain download | ||
Filename: "{app}\namecoin-qt.exe"; Description: "Launch application"; Flags: postinstall skipifsilent nowait | ||
|