Skip to content

Commit

Permalink
Add an Inno Setup based installer script
Browse files Browse the repository at this point in the history
  • Loading branch information
kovben2004 committed Mar 16, 2024
1 parent 992f9e4 commit 6f673b3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions qt/bibref.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#define BIBREF_VERSION "2024Mar14"

[Setup]
AppName=bibref
AppVersion={#BIBREF_VERSION}
WizardStyle=modern
DefaultDirName={commonpf32}\bibref-qt
DefaultGroupName=bibref
UninstallDisplayIcon={app}\bibref.ico
Compression=lzma2
SolidCompression=yes
OutputBaseFilename=bibref-setup

[Files]
Source: "bibref-qt-{#BIBREF_VERSION}\*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs

[Icons]
Name: "{group}\bibref-qt"; Filename: "{app}\start.bat"; IconFilename: "{app}\bibref.ico"
Name: "{group}\Uninstall bibref"; Filename: "{uninstallexe}"; IconFilename: "{app}\bibref.ico"
Name: "{autoprograms}\bibref-qt"; Filename: "{app}\start.bat"; IconFilename: "{app}\bibref.ico"
Name: "{autodesktop}\bibref-qt"; Filename: "{app}\start.bat"; IconFilename: "{app}\bibref.ico"

[Run]
Filename: {app}\start.bat; Description: Start bibref now; Flags: postinstall nowait skipifsilent

0 comments on commit 6f673b3

Please sign in to comment.