- Get fpcupdeluxe here and Inno Setup.
- Run fpcupdeluxe, change any preferences you want + choose FPC version, then click on "FPC Only" to start the installation.
- Once done, open fpc.iss on Inno Setup then change Sources variable under Files section to your installed FPC location (remember to keep suffix
\*
!) - "Compile" the project then we will get a new installer!
Last active
May 14, 2023 12:48
-
-
Save lebao3105/88045258f8723d4b2928fc3a7dec42b4 to your computer and use it in GitHub Desktop.
Pack your own Free Pascal Compiler for Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Script generated by the Inno Setup Script Wizard. | |
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | |
#define MyAppName "Free Pascal Compiler" | |
; Change MyAppVersion to your FPC version please | |
#define MyAppVersion "3.3.1-11699-g6c47f8f4d7" | |
#define MyAppPublisher "Florial Klaempfl and others" | |
#define MyAppURL "freepascal.org" | |
[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={{6B6D313E-7878-400D-8026-EEAB24118BDC} | |
AppName={#MyAppName} | |
AppVersion={#MyAppVersion} | |
;AppVerName={#MyAppName} {#MyAppVersion} | |
AppPublisher={#MyAppPublisher} | |
AppPublisherURL={#MyAppURL} | |
AppSupportURL={#MyAppURL} | |
AppUpdatesURL={#MyAppURL} | |
DefaultDirName={autopf}\fpc_win64 | |
DefaultGroupName=Free Pascal Compiler (x86_64-win64) | |
; Uncomment the following line to run in non administrative install mode (install for current user only.) | |
;PrivilegesRequired=lowest | |
PrivilegesRequiredOverridesAllowed=dialog | |
OutputBaseFilename=fpctrunk | |
Compression=lzma | |
SolidCompression=yes | |
WizardStyle=modern | |
[Languages] | |
Name: "english"; MessagesFile: "compiler:Default.isl" | |
[Files] | |
Source: "C:\fpc\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs | |
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | |
[Icons] | |
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment