Skip to content

Commit 58eb448

Browse files
committed
Initial Commit
0 parents  commit 58eb448

File tree

7 files changed

+223
-0
lines changed

7 files changed

+223
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
TESTCinstaller.iss
2+
TESTOutput/

C_Programming_Language.ico

178 KB
Binary file not shown.

Cinstaller1.iss

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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 "Install C"
5+
#define MyAppVersion "1.0"
6+
#define MyAppPublisher "Siddharth Bhatia"
7+
#define MyAppURL "https://www.installc.org/"
8+
#define MyAppExeName "InstallC.exe"
9+
10+
; SIDDHARTH I'm changing this to D drive just for testing purposes, change it back to C: in final.
11+
#define DefaultInstallationDir "C:\MinGW"
12+
13+
[Setup]
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={{89C0F75C-42E5-4DC6-8C5E-AE6BD5BABD59}
17+
AppName={#MyAppName}
18+
AppVersion={#MyAppVersion}
19+
;AppVerName={#MyAppName} {#MyAppVersion}
20+
AppPublisher={#MyAppPublisher}
21+
AppPublisherURL={#MyAppURL}
22+
AppSupportURL={#MyAppURL}
23+
AppUpdatesURL={#MyAppURL}
24+
DefaultDirName={#DefaultInstallationDir}
25+
DisableDirPage=yes
26+
DefaultGroupName={#MyAppName}
27+
DisableProgramGroupPage=yes
28+
DisableWelcomePage=no
29+
DisableReadyPage=yes
30+
WizardSizePercent=120
31+
WizardImageFile=c_wizardimage.bmp
32+
WizardSmallImageFile=c_wizardimagesmall.bmp
33+
WizardImageStretch=no
34+
WizardImageAlphaFormat=premultiplied
35+
36+
; Uncomment the following line to run in non administrative install mode (install for current user only.)
37+
;PrivilegesRequired=lowest
38+
39+
40+
OutputBaseFilename=installc
41+
SetupIconFile=C_Programming_Language.ico
42+
Compression=lzma
43+
SolidCompression=yes
44+
WizardStyle=modern
45+
ChangesEnvironment=yes
46+
VersionInfoVersion=0.0.0.1
47+
// Always double-check VersionInfoVersion when pushing a new release
48+
49+
; This adds an uninstaller.
50+
UninstallDisplayIcon=C_Programming_Language.ico
51+
; This specifys a custom name for the program's entry in the Add/Remove Programs Control Panel applet.
52+
UninstallDisplayName="InstallC Package"
53+
UninstallDisplayName=uninstallc
54+
55+
[Messages]
56+
WelcomeLabel2=This setup will install the following software on your computer:%n%nGCC 13.2.0, GDB 13.2, LLVM/Clang/LLD/LLDB 16.0.6, GNU Binutils 2.41, GNU Make 4.4.1, PExports 0.47, dos2unix 7.5.0, Yasm 1.3.0, NASM 2.16.01, JWasm 2.12pre, ccache version 4.8.2, CMake 3.27.2, ninja 1.11.1.git.kitware.jobserver-1, Doxygen 1.9.7%n%nAt least 1 GB of free disk space is required.
57+
FinishedLabelNoIcons=C has been successfully installed on your system. Learn how to use it at installc.org/learn.
58+
ClickFinish=Click Finish to exit Setup.
59+
60+
ClickNext=Click Install to continue, or Cancel to exit Setup.
61+
62+
[Languages]
63+
Name: "english"; MessagesFile: "compiler:Default.isl"
64+
65+
[Files]
66+
Source: "C:\Users\bhati\Downloads\winlibs-x86_64-posix-seh-gcc-13.2.0-llvm-16.0.6-mingw-w64ucrt-11.0.0-r1\mingw64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
67+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
68+
69+
[Registry]
70+
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \
71+
ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{app}\bin";
72+
73+
; Adding Flags: uninsdeletevalue will remove the changes made to PATH when uninstalling
74+
75+
[Code]
76+
// This pararaph changes the button label from 'Next' to 'Install' on the Welcome Page.
77+
procedure CurPageChanged(CurPageID: Integer);
78+
begin
79+
if CurPageID = wpWelcome then
80+
begin
81+
WizardForm.NextButton.Caption := SetupMessage(msgButtonInstall);
82+
//WizardForm.WelcomeLabel2.Height := 500;
83+
//WizardForm.WelcomeLabel2.AutoSize := True;
84+
//WizardForm.PageDescriptionLabel.Width := WizardForm.PageDescriptionLabel.Width - ScaleY(150);
85+
end
86+
else
87+
//WizardForm.NextButton.Caption := SetupMessage(msgButtonNext);
88+
end;
89+
90+

TESTCinstaller1.iss

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
; TESTCinstaller1.iss is a file where I change the path to the c installer and use a very small file instead.
2+
3+
; # TO-DO
4+
; * Code Signing Certificate, see:
5+
; *
6+
; * A message at the finishing screen guiding the new user about what to do next (open
7+
; Command Prompt and type `gcc --version`, or link to the tutorial on the website. Modify [Messages] for this.
8+
; * Implement a Don't Install If Application Is Already Installed On Machine from here: https://stackoverflow.com/questions/26333869/inno-setup-how-to-display-notifying-message-while-installing-if-application-is
9+
;
10+
;
11+
;
12+
13+
; Script generated by the Inno Setup Script Wizard.
14+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
15+
16+
#define MyAppName "Install C"
17+
#define MyAppVersion "1.0"
18+
#define MyAppPublisher "Siddharth Bhatia"
19+
#define MyAppURL "https://www.installc.org/"
20+
#define MyAppExeName "InstallC.exe"
21+
22+
; SIDDHARTH I'm changing this to D drive just for testing purposes, change it back to C: in final.
23+
#define DefaultInstallationDir "D:\MinGW"
24+
25+
[Setup]
26+
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
27+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
28+
AppId={{89C0F75C-42E5-4DC6-8C5E-AE6BD5BABD59}
29+
AppName={#MyAppName}
30+
AppVersion={#MyAppVersion}
31+
;AppVerName={#MyAppName} {#MyAppVersion}
32+
AppPublisher={#MyAppPublisher}
33+
AppPublisherURL={#MyAppURL}
34+
AppSupportURL={#MyAppURL}
35+
AppUpdatesURL={#MyAppURL}
36+
DefaultDirName={#DefaultInstallationDir}
37+
DisableDirPage=yes
38+
DefaultGroupName={#MyAppName}
39+
DisableProgramGroupPage=yes
40+
DisableWelcomePage=no
41+
DisableReadyPage=yes
42+
WizardSizePercent=120
43+
WizardImageFile=c_wizardimage.bmp
44+
WizardSmallImageFile=c_wizardimagesmall.bmp
45+
WizardImageStretch=no
46+
WizardImageAlphaFormat=premultiplied
47+
; InfoBeforeFile=info.txt
48+
49+
; Uncomment the following line to run in non administrative install mode (install for current user only.)
50+
;PrivilegesRequired=lowest
51+
52+
;SIDDHARTH SEE BELOW LINE
53+
OutputBaseFilename=installc
54+
OutputDir=TESTOutput
55+
SetupIconFile=C_Programming_Language.ico
56+
Compression=lzma
57+
SolidCompression=yes
58+
WizardStyle=modern
59+
ChangesEnvironment=yes
60+
VersionInfoVersion=0.0.0.1
61+
// Always double-check VersionInfoVersion when pushing a new release
62+
63+
; This adds an uninstaller.
64+
UninstallDisplayIcon=C_Programming_Language.ico
65+
; This specifys a custom name for the program's entry in the Add/Remove Programs Control Panel applet.
66+
UninstallDisplayName="InstallC Package"
67+
UninstallDisplayName=uninstallc
68+
69+
[Messages]
70+
; If you want to override these messages, open Default.isl to find out which variable values you need to change.
71+
WelcomeLabel2=This setup will install the following software on your computer:%n%nGCC 13.2.0, GDB 13.2, LLVM/Clang/LLD/LLDB 16.0.6, GNU Binutils 2.41, GNU Make 4.4.1, PExports 0.47, dos2unix 7.5.0, Yasm 1.3.0, NASM 2.16.01, JWasm 2.12pre, ccache version 4.8.2, CMake 3.27.2, ninja 1.11.1.git.kitware.jobserver-1, Doxygen 1.9.7%n%nAt least 1 GB of free disk space is required.
72+
FinishedLabelNoIcons=C has been successfully installed on your system. Learn how to use it at installc.org/learn.
73+
ClickFinish=Click Finish to exit Setup.
74+
75+
ClickNext=Click Install to continue, or Cancel to exit Setup.
76+
77+
[Languages]
78+
Name: "english"; MessagesFile: "compiler:Default.isl"
79+
80+
[Files]
81+
Source: "C:\Users\bhati\Downloads\testcinstaller\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
82+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
83+
84+
[Registry]
85+
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; \
86+
ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{app}\bin";
87+
88+
; Adding Flags: uninsdeletevalue will remove the changes made to PATH when uninstalling
89+
90+
[Code]
91+
// This pararaph changes the button label from 'Next' to 'Install' on the Welcome Page.
92+
procedure CurPageChanged(CurPageID: Integer);
93+
begin
94+
if CurPageID = wpWelcome then
95+
begin
96+
WizardForm.NextButton.Caption := SetupMessage(msgButtonInstall);
97+
//WizardForm.WelcomeLabel2.Height := 500;
98+
//WizardForm.WelcomeLabel2.AutoSize := True;
99+
//WizardForm.PageDescriptionLabel.Width := WizardForm.PageDescriptionLabel.Width - ScaleY(150);
100+
end
101+
else
102+
//WizardForm.NextButton.Caption := SetupMessage(msgButtonNext);
103+
end;
104+
105+

c_wizardimage.bmp

116 KB
Binary file not shown.

c_wizardimagesmall.bmp

13.2 KB
Binary file not shown.

info.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
GCC 13.2.0 + LLVM 16.0.6 + MinGW-w64 11.0.1 UCRT (release 2) Latest
2+
winlibs personal build version gcc-13.2.0-llvm-16.0.6-mingw-w64ucrt-11.0.1-r2
3+
4+
This is the winlibs Intel/AMD 32-bit and 64-bit standalone build of:
5+
6+
GCC 13.2.0
7+
GDB 13.2
8+
LLVM/Clang/LLD/LLDB 16.0.6
9+
GNU Binutils 2.41
10+
GNU Make 4.4.1
11+
PExports 0.47
12+
dos2unix 7.5.0
13+
Yasm 1.3.0
14+
NASM 2.16.01
15+
JWasm 2.12pre
16+
ccache version 4.8.2
17+
CMake 3.27.2
18+
ninja 1.11.1.git.kitware.jobserver-1
19+
Doxygen 1.9.7
20+
Downloads with llvm in the name also include:
21+
22+
MinGW-w64 11.0.1 (linked with ucrt)
23+
Thread model: mcf (MCF Gthread 1.5-ga.2)
24+
Runtime library: UCRT (Windows 10 or higher, or when Update for Universal C Runtime is installed on older Windows versions, not supported on systems older than Windows 7 SP1 and Windows Server 2008 R2 SP1)
25+
26+
This build was compiled with GCC 13.2.0 and packaged on 2023-08-12.

0 commit comments

Comments
 (0)