mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-12 01:39:32 -04:00
Add Bitsquare.iss file as produced by javapackager
This file was produced by adding a `-v` flag following the `-deploy`
flag in `package/windows.bat`. The creation of the file is reported by
javapackager as follows:
Config files are saved to
C:\Users\CBEAMS~1.WIN\AppData\Local\Temp\fxbundler5661616451276716144\windows.
Use them to customize package.
Subsequent commits will customize this file, primarily for the purpose
of avoid the dreaded 'missing dll' errors mentioned originally in
d16c274
and detailed at https://bitbucket.org/shemnon/javafx-gradle/issue/43.
This commit is contained in:
parent
c8a6c8b330
commit
8db981c138
1 changed files with 73 additions and 0 deletions
73
package/windows/Bitsquare.iss
Normal file
73
package/windows/Bitsquare.iss
Normal file
|
@ -0,0 +1,73 @@
|
|||
;This file will be executed next to the application bundle image
|
||||
;I.e. current directory will contain folder Bitsquare with application files
|
||||
[Setup]
|
||||
AppId={{io.bitsquare.app.gui}}
|
||||
AppName=Bitsquare
|
||||
AppVersion=0.1.0
|
||||
AppVerName=Bitsquare 0.1.0
|
||||
AppPublisher=Bitsquare
|
||||
AppComments=Bitsquare
|
||||
AppCopyright=Copyright (C) 2014
|
||||
;AppPublisherURL=http://java.com/
|
||||
;AppSupportURL=http://java.com/
|
||||
;AppUpdatesURL=http://java.com/
|
||||
DefaultDirName={localappdata}\Bitsquare
|
||||
DisableStartupPrompt=Yes
|
||||
DisableDirPage=Yes
|
||||
DisableProgramGroupPage=Yes
|
||||
DisableReadyPage=Yes
|
||||
DisableFinishedPage=Yes
|
||||
DisableWelcomePage=Yes
|
||||
DefaultGroupName=Bitsquare
|
||||
;Optional License
|
||||
LicenseFile=
|
||||
;WinXP or above
|
||||
MinVersion=0,5.1
|
||||
OutputBaseFilename=Bitsquare-0.1.0
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
PrivilegesRequired=lowest
|
||||
SetupIconFile=Bitsquare\Bitsquare.ico
|
||||
UninstallDisplayIcon={app}\Bitsquare.ico
|
||||
UninstallDisplayName=Bitsquare
|
||||
WizardImageStretch=No
|
||||
WizardSmallImageFile=Bitsquare-setup-icon.bmp
|
||||
ArchitecturesInstallIn64BitMode=x64
|
||||
|
||||
[Languages]
|
||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||
|
||||
[Files]
|
||||
Source: "Bitsquare\Bitsquare.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "Bitsquare\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\Bitsquare"; Filename: "{app}\Bitsquare.exe"; IconFilename: "{app}\Bitsquare.ico"; Check: returnTrue()
|
||||
Name: "{commondesktop}\Bitsquare"; Filename: "{app}\Bitsquare.exe"; IconFilename: "{app}\Bitsquare.ico"; Check: returnFalse()
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\Bitsquare.exe"; Description: "{cm:LaunchProgram,Bitsquare}"; Flags: nowait postinstall skipifsilent; Check: returnTrue()
|
||||
Filename: "{app}\Bitsquare.exe"; Parameters: "-install -svcName ""Bitsquare"" -svcDesc ""Bitsquare"" -mainExe ""Bitsquare.exe"" "; Check: returnFalse()
|
||||
|
||||
[UninstallRun]
|
||||
Filename: "{app}\Bitsquare.exe "; Parameters: "-uninstall -svcName Bitsquare -stopOnUninstall"; Check: returnFalse()
|
||||
|
||||
[Code]
|
||||
function returnTrue(): Boolean;
|
||||
begin
|
||||
Result := True;
|
||||
end;
|
||||
|
||||
function returnFalse(): Boolean;
|
||||
begin
|
||||
Result := False;
|
||||
end;
|
||||
|
||||
function InitializeSetup(): Boolean;
|
||||
begin
|
||||
// Possible future improvements:
|
||||
// if version less or same => just launch app
|
||||
// if upgrade => check if same app is running and wait for it to exit
|
||||
// Add pack200/unpack200 support?
|
||||
Result := True;
|
||||
end;
|
Loading…
Add table
Add a link
Reference in a new issue