Skip to content

Commit

Permalink
add windows .iss for running .bat
Browse files Browse the repository at this point in the history
  • Loading branch information
sreeder committed Oct 18, 2016
1 parent 3bb6e33 commit ce2851f
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions setup/Windows/odmtools_setup_build.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
; Script generated by the Inno Setup Script Wizard.
; http://cyrille.rossant.net/create-a-standalone-windows-installer-for-your-python-application/
; http://www.jrsoftware.org/isinfo.php
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "ODMTools"
#define OrgName "UCHIC"
#define MyAppVersion "v1.2.8-beta"
#define MyAppURL "https://github.com/ODM2/ODMToolsPython"

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{B0DD13A0-C200-4562-B94B-2BEEB1782E3E}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher = iUtah
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputBaseFilename={#MyAppName}_{#MyAppVersion}_Installer
SetupIconFile={#MyAppDir}\odmtools\common\icons\ODMTools.ico
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "D:\DEV\Releases\ODMTools\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\run.bat"; WorkingDir: "{app}";
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Dirs]
Name: "{localappdata}\{#OrgName}\{#MyAppName}"

0 comments on commit ce2851f

Please sign in to comment.