Skip to content

Commit

Permalink
small typo (fix InnoSetup UnInstall icon and group Name and app id)
Browse files Browse the repository at this point in the history
  • Loading branch information
Furtif committed Mar 2, 2024
1 parent 7f610ba commit 2019a0e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define MyAppContact "cedricpaille@gmail.com"
#define MyAppSupportURL "https://github.com/cedricp/ddt4all"
#define MyAppReadmeMd "https://github.com/cedricp/ddt4all/blob/master/README.md"
#define C_StartingYear "2016"
#define C_StartingYear "©2016"
#define C_EndingYear GetDateTimeString('yyyy','','')
#define DateEUR GetDateTimeString('dd.mm.yyyy','','')

Expand All @@ -29,14 +29,14 @@ VersionInfoProductName={#MyAppName}
AppCopyright={#MyAppCompany} {#C_StartingYear}-{#C_EndingYear}

;--------------------- Info Windows program list
UninstallDisplayIcon=..\..\dtt4all_data\icons\obd.ico
UninstallDisplayIcon={uninstallexe}
UninstallDisplayName={#MyAppName}
AppPublisher={#MyAppCompany}

UsepreviousLanguage=No

DefaultDirName={pf}\{#MyAppDir}
DefaultGroupName={#MyAppDir}
DefaultGroupName={#MyAppName}
SetupIconFile=..\..\dtt4all_data\icons\obd.ico
OutputBaseFilename={#MyAppDir}-win-installer-{#MyAppVersion}-python-3.8.6-32bits
VersionInfoCompany={#MyAppCompany}
Expand All @@ -46,6 +46,7 @@ VersionInfoProductVersion={#MyAppVersion}
VersionInfoProductTextVersion={#MyAppVersion}
LicenseFile=..\..\license.txt
WizardStyle=modern
AppId={{3E70988F-0D77-4639-800D-2CD9DB2617B1}

[Files]
;Source: "..\..\ecu.zip"; DestDir: "{app}"; Flags: onlyifdoesntexist skipifsourcedoesntexist
Expand All @@ -57,12 +58,12 @@ Source: "..\..\dtt4all_data\*"; DestDir: "{app}\dtt4all_data"; Flags: ignorevers
Source: "..\..\*.py"; DestDir: "{app}"; Excludes: "*.pyc"
Source: "..\..\*.qss"; DestDir: "{app}"; AfterInstall: AfterMyProgInstall;



[InstallDelete]
Type: filesandordirs; Name: "{app}\*"
Type: filesandordirs; Name: "{group}";
Type: filesandordirs; Name: "{app}"

[UninstallDelete]
Type: filesandordirs; Name: "{group}";
Type: filesandordirs; Name: "{app}"

[Code]
Expand All @@ -84,8 +85,8 @@ Name: "{app}\vehicles"; Permissions: users-full
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Icons]
Name: "{group}\ddt4all"; Filename: "{app}\Python386-32\python.exe"; Parameters: """{app}\main.py"""; WorkingDir: "{app}"; IconFilename: "{app}\dtt4all_data\icons\obd.ico"
Name: "{userdesktop}\ddt4all"; Filename: "{app}\Python386-32\python.exe"; Parameters: """{app}\main.py"""; WorkingDir: "{app}"; IconFilename: "{app}\dtt4all_data\icons\obd.ico"; Tasks: desktopicon
Name: "{group}\{#MyAppName}"; Filename: "{app}\Python386-32\python.exe"; Parameters: """{app}\main.py"""; WorkingDir: "{app}"; IconFilename: "{app}\dtt4all_data\icons\obd.ico"
Name: "{userdesktop}\{#MyAppName}"; Filename: "{app}\Python386-32\python.exe"; Parameters: """{app}\main.py"""; WorkingDir: "{app}"; IconFilename: "{app}\dtt4all_data\icons\obd.ico"; Tasks: desktopicon

[CustomMessages]
en.AfterMyProgInstall=Do not forget to install database to %n%n
Expand Down
15 changes: 9 additions & 6 deletions dtt4all_data/inno-win-setup/wininstaller.iss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define MyAppContact "cedricpaille@gmail.com"
#define MyAppSupportURL "https://github.com/cedricp/ddt4all"
#define MyAppReadmeMd "https://github.com/cedricp/ddt4all/blob/master/README.md"
#define C_StartingYear "2016"
#define C_StartingYear "©2016"
#define C_EndingYear GetDateTimeString('yyyy','','')
#define DateEUR GetDateTimeString('dd.mm.yyyy','','')

Expand All @@ -28,14 +28,14 @@ VersionInfoProductName={#MyAppName}
AppCopyright={#MyAppCompany} {#C_StartingYear}-{#C_EndingYear}

;--------------------- Info Windows program list
UninstallDisplayIcon=..\..\dtt4all_data\icons\obd.ico
UninstallDisplayIcon={uninstallexe}
UninstallDisplayName={#MyAppName}
AppPublisher={#MyAppCompany}

UsepreviousLanguage=No

DefaultDirName={pf}\{#MyAppDir}
DefaultGroupName={#MyAppDir}
DefaultGroupName={#MyAppName}
SetupIconFile=..\..\dtt4all_data\icons\obd.ico
OutputBaseFilename={#MyAppDir}-win-installer-{#MyAppVersion}-python-3.12.1-64bits
UsePreviousPrivileges=True
Expand All @@ -47,6 +47,7 @@ VersionInfoProductTextVersion={#MyAppVersion}
VersionInfoOriginalFileName={#MyAppName}
LicenseFile=..\..\license.txt
WizardStyle=modern
AppId={{3E70988F-0D77-4639-800D-2CD9DB2617B1}

[Files]
;Source: "..\..\ecu.zip"; DestDir: "{app}"; Flags: onlyifdoesntexist skipifsourcedoesntexist
Expand All @@ -60,9 +61,11 @@ Source: "..\..\*.qss"; DestDir: "{app}"; AfterInstall: AfterMyProgInstall;
;Source: "..\..\*.qss"; DestDir: "{app}"

[InstallDelete]
Type: filesandordirs; Name: "{app}\*"
Type: filesandordirs; Name: "{group}";
Type: filesandordirs; Name: "{app}"

[UninstallDelete]
Type: filesandordirs; Name: "{group}";
Type: filesandordirs; Name: "{app}"

[Code]
Expand All @@ -84,8 +87,8 @@ Name: "{app}\dtt4all_data"; Permissions: users-full
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Icons]
Name: "{group}\ddt4all"; Filename: "{app}\Python312-x64\python.exe"; Parameters: """{app}\main.py"""; WorkingDir: "{app}"; IconFilename: "{app}\dtt4all_data\icons\obd.ico"
Name: "{userdesktop}\ddt4all"; Filename: "{app}\Python312-x64\python.exe"; Parameters: """{app}\main.py"""; WorkingDir: "{app}"; IconFilename: "{app}\dtt4all_data\icons\obd.ico"; Tasks: desktopicon
Name: "{group}\{#MyAppName}"; Filename: "{app}\Python312-x64\python.exe"; Parameters: """{app}\main.py"""; WorkingDir: "{app}"; IconFilename: "{app}\dtt4all_data\icons\obd.ico"
Name: "{userdesktop}\{#MyAppName}"; Filename: "{app}\Python312-x64\python.exe"; Parameters: """{app}\main.py"""; WorkingDir: "{app}"; IconFilename: "{app}\dtt4all_data\icons\obd.ico"; Tasks: desktopicon

[CustomMessages]
en.AfterMyProgInstall=Do not forget to install database to %n%n
Expand Down

0 comments on commit 2019a0e

Please sign in to comment.