51 lines
1.5 KiB
Text
51 lines
1.5 KiB
Text
; Inno Setup script: per-user install (no admin), Start menu entry, uninstaller.
|
|
; Built by tools/package.sh under wine: iscc /DVersion=<v> /DSrc=<folder with mulberry.exe> /DOut=<output folder> mulberry.iss
|
|
#ifndef Version
|
|
#define Version "0.0.0"
|
|
#endif
|
|
#ifndef Src
|
|
#define Src "..\dist\Mulberry"
|
|
#endif
|
|
#ifndef Out
|
|
#define Out "..\dist"
|
|
#endif
|
|
|
|
[Setup]
|
|
AppId={{}
|
|
AppName=Mulberry
|
|
AppVersion={#Version}
|
|
AppVerName=Mulberry {#Version}
|
|
AppPublisher=astar76
|
|
AppPublisherURL=https://astar76.com/git/astar76/Mulberry
|
|
VersionInfoVersion={#Version}
|
|
VersionInfoProductName=Mulberry
|
|
VersionInfoDescription=Mulberry Setup
|
|
DefaultDirName={localappdata}\Programs\Mulberry
|
|
DisableProgramGroupPage=yes
|
|
DisableDirPage=auto
|
|
PrivilegesRequired=lowest
|
|
ArchitecturesAllowed=x64compatible
|
|
ArchitecturesInstallIn64BitMode=x64compatible
|
|
OutputDir={#Out}
|
|
OutputBaseFilename=Mulberry-{#Version}-Setup
|
|
SetupIconFile=mulberry.ico
|
|
UninstallDisplayIcon={app}\mulberry.exe
|
|
UninstallDisplayName=Mulberry
|
|
LicenseFile=..\LICENSE
|
|
Compression=lzma2/max
|
|
SolidCompression=yes
|
|
WizardStyle=modern
|
|
CloseApplications=yes
|
|
|
|
[Tasks]
|
|
Name: "desktopicon"; Description: "Create a desktop shortcut"; Flags: unchecked
|
|
|
|
[Files]
|
|
Source: "{#Src}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
|
|
[Icons]
|
|
Name: "{userprograms}\Mulberry"; Filename: "{app}\mulberry.exe"
|
|
Name: "{userdesktop}\Mulberry"; Filename: "{app}\mulberry.exe"; Tasks: desktopicon
|
|
|
|
[Run]
|
|
Filename: "{app}\mulberry.exe"; Description: "Launch Mulberry"; Flags: nowait postinstall skipifsilent
|