1+ ; Script generated by the Inno Setup Script Wizard.
2+ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3+
4+ #define MyAppName " PyCalc-GUI"
5+ #define MyAppVersion " 1.1"
6+ #define MyAppPublisher " Chill-Astro"
7+ #define MyAppURL " https://github.com/Chill-Astro/PyCalc-GUI"
8+ #define MyAppExeName " PyCalc-GUI.exe"
9+ #define MyAppAssocName MyAppName + " File"
10+ #define MyAppAssocExt " .myp"
11+ #define MyAppAssocKey StringChange(MyAppAssocName, " " , " " ) + MyAppAssocExt
12+
113[Setup]
2- AppName = PyCalc GUI
3- AppVerName = PyCalc GUI v1.0
4- AppPublisher = Chill-Astro
5- DefaultDirName = {autopf}\Chill-Astro\PyCalc-GUI
6- DefaultGroupName = Chill-Astro
7- UninstallDisplayIcon = {app} \PycalcGUI.exe
8- Compression = lzma2
9- SolidCompression = yes
14+ ; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
15+ ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
16+ AppId = {{633C1E5F-90A3-492B-933F-84ECEE95A462}
17+ AppName = {#MyAppName }
18+ AppVersion = {#MyAppVersion}
19+ AppVerName = {#MyAppName }
20+ AppPublisher = {#MyAppPublisher}
21+ AppPublisherURL = {#MyAppURL}
22+ AppSupportURL = {#MyAppURL}
23+ AppUpdatesURL = {#MyAppURL}
24+ DefaultDirName = {autopf}\Chill-Astro\{#MyAppName }
25+ UninstallDisplayIcon = {app} \{#MyAppExeName}
26+ ; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
27+ ; on anything but x64 and Windows 11 on Arm.
1028ArchitecturesAllowed = x64compatible
29+ ; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the
30+ ; install be done in "64-bit mode" on x64 or Windows 11 on Arm,
31+ ; meaning it should use the native 64-bit Program Files directory and
32+ ; the 64-bit view of the registry.
1133ArchitecturesInstallIn64BitMode = x64compatible
12- OutputDir = Output
13- OutputBaseFilename = PyCalcGUI-Setup
34+ ChangesAssociations = yes
35+ DisableProgramGroupPage = yes
36+ ; Uncomment the following line to run in non administrative install mode (install for current user only).
37+ ;PrivilegesRequired=lowest
38+ PrivilegesRequiredOverridesAllowed= dialog
39+ OutputBaseFilename = PyCalc-GUI-Setup
40+ SolidCompression = yes
1441WizardStyle = modern
42+ DisableWelcomePage = no
43+
1544
1645[Languages]
1746Name : " english" ; MessagesFile : " compiler:Default.isl"
47+ Name : " arabic" ; MessagesFile : " compiler:Languages\Arabic.isl"
48+ Name : " armenian" ; MessagesFile : " compiler:Languages\Armenian.isl"
49+ Name : " brazilianportuguese" ; MessagesFile : " compiler:Languages\BrazilianPortuguese.isl"
50+ Name : " bulgarian" ; MessagesFile : " compiler:Languages\Bulgarian.isl"
51+ Name : " catalan" ; MessagesFile : " compiler:Languages\Catalan.isl"
52+ Name : " corsican" ; MessagesFile : " compiler:Languages\Corsican.isl"
53+ Name : " czech" ; MessagesFile : " compiler:Languages\Czech.isl"
54+ Name : " danish" ; MessagesFile : " compiler:Languages\Danish.isl"
55+ Name : " dutch" ; MessagesFile : " compiler:Languages\Dutch.isl"
56+ Name : " finnish" ; MessagesFile : " compiler:Languages\Finnish.isl"
57+ Name : " french" ; MessagesFile : " compiler:Languages\French.isl"
58+ Name : " german" ; MessagesFile : " compiler:Languages\German.isl"
59+ Name : " hebrew" ; MessagesFile : " compiler:Languages\Hebrew.isl"
60+ Name : " hungarian" ; MessagesFile : " compiler:Languages\Hungarian.isl"
61+ Name : " icelandic" ; MessagesFile : " compiler:Languages\Icelandic.isl"
62+ Name : " italian" ; MessagesFile : " compiler:Languages\Italian.isl"
63+ Name : " japanese" ; MessagesFile : " compiler:Languages\Japanese.isl"
64+ Name : " korean" ; MessagesFile : " compiler:Languages\Korean.isl"
65+ Name : " norwegian" ; MessagesFile : " compiler:Languages\Norwegian.isl"
66+ Name : " polish" ; MessagesFile : " compiler:Languages\Polish.isl"
67+ Name : " portuguese" ; MessagesFile : " compiler:Languages\Portuguese.isl"
68+ Name : " russian" ; MessagesFile : " compiler:Languages\Russian.isl"
69+ Name : " slovak" ; MessagesFile : " compiler:Languages\Slovak.isl"
70+ Name : " slovenian" ; MessagesFile : " compiler:Languages\Slovenian.isl"
71+ Name : " spanish" ; MessagesFile : " compiler:Languages\Spanish.isl"
72+ Name : " swedish" ; MessagesFile : " compiler:Languages\Swedish.isl"
73+ Name : " tamil" ; MessagesFile : " compiler:Languages\Tamil.isl"
74+ Name : " turkish" ; MessagesFile : " compiler:Languages\Turkish.isl"
75+ Name : " ukrainian" ; MessagesFile : " compiler:Languages\Ukrainian.isl"
1876
1977[Tasks]
2078Name : " desktopicon" ; Description : " {cm:CreateDesktopIcon}" ; GroupDescription: " {cm:AdditionalIcons}" ; Flags : unchecked
2179
2280[Files]
23- Source : " C:\Users\Master\Chill-Astro\PyCalc-GUI\*" ; DestDir : " {app} " ; Flags : recursesubdirs createallsubdirs
81+ Source : " C:\Users\Master\Chill-Astro\PyCalc-GUI\dist\*" ; DestDir : " {app} " ; Flags : ignoreversion
82+ ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
83+
84+ [Registry]
85+ Root : HKA; Subkey : " Software\Classes\{#MyAppAssocExt}\OpenWithProgids" ; ValueType : string ; ValueName : " {#MyAppAssocKey}" ; ValueData : " " ; Flags : uninsdeletevalue
86+ Root : HKA; Subkey : " Software\Classes\{#MyAppAssocKey}" ; ValueType : string ; ValueName : " " ; ValueData : " {#MyAppAssocName}" ; Flags : uninsdeletekey
87+ Root : HKA; Subkey : " Software\Classes\{#MyAppAssocKey}\DefaultIcon" ; ValueType : string ; ValueName : " " ; ValueData : " {app} \{#MyAppExeName},0"
88+ Root : HKA; Subkey : " Software\Classes\{#MyAppAssocKey}\shell\open\command" ; ValueType : string ; ValueName : " " ; ValueData : " " " {app} \{#MyAppExeName}" " " " %1 " " "
89+ Root : HKLM; Subkey : " SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ; ValueName : " Path" ; ValueType : expandsz ; ValueData : " {olddata};{app} " ;
90+
2491[Icons]
25- Name : " {group} \PyCalc GUI" ; Filename : " {app} \PycalcGUI.exe" ; IconFilename: " {app} \Pycalc.ico"
26- Name : " {commondesktop}\PyCalc GUI" ; Filename : " {app} \PycalcGUI.exe" ; IconFilename: " {app} \Pycalc.ico" ; Tasks: desktopicon
92+ Name : " {autoprograms}\{#MyAppName}" ; Filename : " {app} \{#MyAppExeName}"
93+ Name : " {autodesktop}\{#MyAppName}" ; Filename : " {app} \{#MyAppExeName}" ; Tasks: desktopicon
94+
95+ [Run]
96+ Filename : " {app} \{#MyAppExeName}" ; Description : " {cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}" ; Flags : nowait postinstall skipifsilent
97+
0 commit comments