Skip to content

Commit

Permalink
Version 1️⃣.4️⃣: First Windows Standalone.
Browse files Browse the repository at this point in the history
Version 1️⃣.4️⃣: Generated first Windows standalone script and installer executable for non Python PCs.
  • Loading branch information
N-Elmer committed Dec 22, 2024
1 parent 63fe590 commit f68bc16
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Setup/Release Notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Installation
1. Download the setup executable from the release section of this repository.
2. Install the app via the setup.
3. Run the executable of the app after the installation.
4. Open the application in your browser at <http://localhost:8501>.
4. Open the application in your browser at http://localhost:8501.

Usage
-------
Expand Down
9 changes: 4 additions & 5 deletions Setup/Setup Script.iss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[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={{48C96D7B-62B8-43F5-940B-DDE1E39F1C98}
AppId={{275338B3-14EF-4EF3-9EE2-51FEED11F93C}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
Expand All @@ -34,10 +34,9 @@ ChangesAssociations=yes
DisableProgramGroupPage=yes
LicenseFile=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\LICENSE.txt
InfoBeforeFile=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\README.txt
InfoAfterFile=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\Debug.txt
InfoAfterFile=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\Release Notes.txt
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
OutputDir=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup
OutputBaseFilename=CAv1.4Setup
SetupIconFile=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\dist\icon.ico
Expand All @@ -55,8 +54,8 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\dist\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\LICENSE.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\README.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\Debug.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\*nltk_data"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\Release Notes.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\nltk_data\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Registry]
Expand Down
13 changes: 6 additions & 7 deletions Setup/Setup Script.~is
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
#define MyAppVersion "1.4"
#define MyAppPublisher "N-Elmer"
#define MyAppURL "https://github.com/N-Elmer/CHAT-SUMMARIZER/"
#define MyAppExeName "Chat Analyser.exe"
#define MyAppExeName "CAv1.4Setup.exe"
#define MyAppAssocName MyAppName + ""
#define MyAppAssocExt ".exe"
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt

[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={{48C96D7B-62B8-43F5-940B-DDE1E39F1C98}
AppId={{275338B3-14EF-4EF3-9EE2-51FEED11F93C}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
Expand All @@ -34,12 +34,11 @@ ChangesAssociations=yes
DisableProgramGroupPage=yes
LicenseFile=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\LICENSE.txt
InfoBeforeFile=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\README.txt
InfoAfterFile=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\Debug.txt
InfoAfterFile=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\Release Notes.txt
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
OutputDir=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup
OutputBaseFilename=CAv1.4Setup
OutputBaseFilename=10.0.10240
SetupIconFile=C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\dist\icon.ico
Compression=lzma
SolidCompression=yes
Expand All @@ -55,8 +54,8 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\dist\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\LICENSE.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\README.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\Debug.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\*nltk_data"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\Setup\Release Notes.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\Elmer\Documents\GitHub\CHAT-SUMMARIZER\nltk_data\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Registry]
Expand Down

0 comments on commit f68bc16

Please sign in to comment.