forked from NatronGitHub/Natron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Windows installer (NatronGitHub#596)
* tools/MINGW-packages: added new installer
- Loading branch information
Showing
10 changed files
with
493 additions
and
8 deletions.
There are no files selected for viewing
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
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
339 changes: 339 additions & 0 deletions
339
tools/MINGW-packages/mingw-w64-natron-setup/LICENSE.txt
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
; NATRON WINDOWS INSTALLER | ||
|
||
#define MyAppName "Natron" | ||
#define MyAppPublisher "The Natron developers" | ||
#define MyAppURL "https://natrongithub.github.io" | ||
#define MyAppURLSupport "https://github.com/NatronGitHub/Natron/issues" | ||
#define MyAppURLUpdates "https://github.com/NatronGitHub/Natron/releases" | ||
#define MyAppExeName "Natron.exe" | ||
#define MyAppAssocName MyAppName + " Project" | ||
#define MyAppAssocExt ".ntp" | ||
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt | ||
|
||
[Setup] | ||
AppId={{B1D54C04-B15B-4015-831A-CA5DACA60BD0} | ||
AppName={#MyAppName} | ||
AppVerName={#MyAppName} | ||
AppPublisher={#MyAppPublisher} | ||
AppPublisherURL={#MyAppURL} | ||
AppSupportURL={#MyAppURLSupport} | ||
AppUpdatesURL={#MyAppURLUpdates} | ||
DefaultDirName={autopf64}\{#MyAppName} | ||
DefaultGroupName={#MyAppName} | ||
PrivilegesRequiredOverridesAllowed=dialog | ||
ChangesAssociations=yes | ||
LicenseFile=LICENSE.txt | ||
OutputDir=output | ||
OutputBaseFilename=Setup | ||
SetupIconFile=natronIcon256_windows.ico | ||
Compression=lzma | ||
SolidCompression=yes | ||
WizardStyle=modern | ||
WizardImageFile=WizardImageFile.bmp | ||
WizardSmallImageFile=WizardSmallImageFile.bmp | ||
WizardImageStretch=yes | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
|
||
[Tasks] | ||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked | ||
|
||
[Components] | ||
Name: "natron"; Description: "Natron"; Types: full compact custom; Flags: fixed | ||
;Name: "docs"; Description: "Natron Documentation"; Types: full | ||
Name: "pyplugs"; Description: "Natron PyPlugs"; Types: full | ||
Name: "ocio"; Description: "OpenColorIO Configs"; Types: full | ||
Name: "io"; Description: "OpenFX IO"; Types: full compact custom; Flags: fixed | ||
Name: "misc"; Description: "OpenFX Misc"; Types: full compact custom; Flags: fixed | ||
Name: "cimg"; Description: "OpenFX CImg"; Types: full | ||
Name: "stoy"; Description: "OpenFX Shadertoy"; Types: full | ||
Name: "arena"; Description: "OpenFX Arena"; Types: full | ||
Name: "gmic"; Description: "OpenFX G'MIC"; Types: full | ||
Name: "sgl"; Description: "OpenGL Software Renderer (FOR LEGACY HARDWARE ONLY)" | ||
|
||
[Files] | ||
Source: "{src}\bin\*"; DestDir: "{app}\bin\"; Components: natron; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\docs\*"; DestDir: "{app}\docs\"; Components: natron; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\lib\*"; DestDir: "{app}\lib\"; Components: natron; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
|
||
Source: "{src}\Plugins\PySide\*"; DestDir: "{app}\Plugins\PySide\"; Components: natron; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Plugins\PyPlugs\*"; DestDir: "{app}\Plugins\PyPlugs\"; Components: pyplugs; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Plugins\OFX\Natron\Arena.ofx.bundle\*"; DestDir: "{app}\Plugins\OFX\Natron\Arena.ofx.bundle\"; Components: arena; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Plugins\OFX\Natron\CImg.ofx.bundle\*"; DestDir: "{app}\Plugins\OFX\Natron\CImg.ofx.bundle\"; Components: cimg; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Plugins\OFX\Natron\GMIC.ofx.bundle\*"; DestDir: "{app}\Plugins\OFX\Natron\GMIC.ofx.bundle\"; Components: gmic; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Plugins\OFX\Natron\IO.ofx.bundle\*"; DestDir: "{app}\Plugins\OFX\Natron\IO.ofx.bundle\"; Components: io; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Plugins\OFX\Natron\Misc.ofx.bundle\*"; DestDir: "{app}\Plugins\OFX\Natron\Misc.ofx.bundle\"; Components: misc; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Plugins\OFX\Natron\Shadertoy.ofx.bundle\*"; DestDir: "{app}\Plugins\OFX\Natron\Shadertoy.ofx.bundle\"; Components: stoy; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
|
||
Source: "{src}\Resources\docs\*"; DestDir: "{app}\Resources\docs\"; Components: natron; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Resources\etc\*"; DestDir: "{app}\Resources\etc\"; Components: natron; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Resources\OpenColorIO-Configs\*"; DestDir: "{app}\Resources\OpenColorIO-Configs\"; Components: ocio; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Resources\pixmaps\*"; DestDir: "{app}\Resources\pixmaps\"; Components: natron; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Resources\poppler\*"; DestDir: "{app}\Resources\poppler\"; Components: arena; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
Source: "{src}\Resources\stylesheets\*"; DestDir: "{app}\Resources\stylesheets\"; Components: natron; Flags: ignoreversion recursesubdirs createallsubdirs external | ||
|
||
Source: "{src}\bin\mesa\opengl32.dll"; DestDir: "{app}\bin\"; Components: sgl; Flags: ignoreversion external | ||
|
||
[Registry] | ||
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue | ||
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey | ||
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\Resources\pixmaps\natronProjectIcon_windows.ico,0" | ||
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\bin\{#MyAppExeName}"" ""%1""" | ||
Root: HKA; Subkey: "Software\Classes\Applications\{#MyAppExeName}\SupportedTypes"; ValueType: string; ValueName: "{#MyAppAssocExt}"; ValueData: "" | ||
|
||
[Icons] | ||
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" | ||
Name: "{group}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}" | ||
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Tasks: desktopicon | ||
|
||
[Run] | ||
Filename: "{app}\bin\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Maintainer: [email protected] | ||
|
||
# | ||
# Inno Setup must be installed prior to build | ||
# Binary: https://files.jrsoftware.org/is/6/innosetup-6.1.2.exe | ||
# Source: https://github.com/jrsoftware/issrc/archive/refs/tags/is-6_1_2.zip | ||
# | ||
|
||
_realname=natron-setup | ||
pkgbase=mingw-w64-${_realname} | ||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" | ||
pkgver=1.0 | ||
pkgrel=3 | ||
pkgdesc="Natron Inno Setup" | ||
arch=('any') | ||
url="https://github.com/jrsoftware/issrc" | ||
license=('custom:Modified BSD license') | ||
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}") | ||
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}") | ||
options=('!strip') | ||
source=('LICENSE.txt' | ||
'Natron.iss' | ||
'natronIcon256_windows.ico' | ||
'WizardImageFile.bmp' | ||
'WizardSmallImageFile.bmp' | ||
) | ||
sha256sums=('SKIP' | ||
'SKIP' | ||
'SKIP' | ||
'SKIP' | ||
'SKIP' | ||
) | ||
|
||
build() { | ||
cd "${srcdir}" | ||
/c/Program\ Files\ \(x86\)/Inno\ Setup\ 6/ISCC.exe Natron.iss | ||
} | ||
|
||
package() { | ||
cp "${srcdir}/output/Setup.exe" "${pkgdir}/" | ||
} |
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+40.7 KB
tools/MINGW-packages/mingw-w64-natron-setup/natronIcon256_windows.ico
Binary file not shown.
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
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