Skip to content

Commit ce2851f

Browse files
author
sreeder
committed
add windows .iss for running .bat
1 parent 3bb6e33 commit ce2851f

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
; Script generated by the Inno Setup Script Wizard.
2+
; http://cyrille.rossant.net/create-a-standalone-windows-installer-for-your-python-application/
3+
; http://www.jrsoftware.org/isinfo.php
4+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
5+
6+
#define MyAppName "ODMTools"
7+
#define OrgName "UCHIC"
8+
#define MyAppVersion "v1.2.8-beta"
9+
#define MyAppURL "https://github.com/ODM2/ODMToolsPython"
10+
11+
[Setup]
12+
; NOTE: The value of AppId uniquely identifies this application.
13+
; Do not use the same AppId value in installers for other applications.
14+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
15+
AppId={{B0DD13A0-C200-4562-B94B-2BEEB1782E3E}
16+
AppName={#MyAppName}
17+
AppVersion={#MyAppVersion}
18+
;AppVerName={#MyAppName} {#MyAppVersion}
19+
AppPublisher = iUtah
20+
AppPublisherURL={#MyAppURL}
21+
AppSupportURL={#MyAppURL}
22+
AppUpdatesURL={#MyAppURL}
23+
DefaultDirName={pf}\{#MyAppName}
24+
DefaultGroupName={#MyAppName}
25+
OutputBaseFilename={#MyAppName}_{#MyAppVersion}_Installer
26+
SetupIconFile={#MyAppDir}\odmtools\common\icons\ODMTools.ico
27+
Compression=lzma
28+
SolidCompression=yes
29+
30+
[Languages]
31+
Name: "english"; MessagesFile: "compiler:Default.isl"
32+
33+
[Tasks]
34+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
35+
36+
[Files]
37+
Source: "D:\DEV\Releases\ODMTools\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
38+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
39+
40+
[Icons]
41+
Name: "{group}\{#MyAppName}"; Filename: "{app}\run.bat"; WorkingDir: "{app}";
42+
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
43+
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
44+
45+
[Dirs]
46+
Name: "{localappdata}\{#OrgName}\{#MyAppName}"

0 commit comments

Comments
 (0)