FreeCAD
46 строк · 1.7 Кб
1/*
2
3Settings for FreeCAD installer
4
5These typically need to be modified for each FreeCAD release
6
7*/
8
9# Make the installer as small as possible
10# comment this for testing builds since it will reduce the time to create an installer
11# a lot - for the cost of a much greater file size.
12# So assure it is active for release builds!
13SetCompressor /SOLID lzma
14
15#--------------------------------
16# Version number
17
18!define APP_VERSION_MAJOR 0
19!define APP_VERSION_MINOR 22
20!define APP_VERSION_REVISION 0
21!define APP_VERSION_EMERGENCY "beta" # use "1" for an emergency release of FreeCAD otherwise ""
22# alternatively you can use APP_VERSION_EMERGENCY for a custom suffix of the version number
23!define APP_EMERGENCY_DOT "" # use "." for an emergency release of FreeCAD otherwise ""
24!define APP_VERSION_BUILD 1 # Start with 1 for the installer releases of each version
25
26!define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}${APP_EMERGENCY_DOT}${APP_VERSION_EMERGENCY}" # Version to display
27
28!define COPYRIGHT_YEAR 2023
29
30#--------------------------------
31# Installer file name
32# Typical names for the release are "FreeCAD-020-Installer-1.exe" etc.
33
34!define ExeFile "${APP_NAME}-${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-WIN-x64-installer-${APP_VERSION_BUILD}.exe"
35
36#--------------------------------
37# installer bit type - FreeCAD is only provided as 64bit build
38!define MULTIUSER_USE_PROGRAMFILES64
39
40#--------------------------------
41# File locations
42# !!! you need to adjust them to the folders in your Windows system !!!
43
44!define FILES_FREECAD "G:\FreeCADInst\Installer\FreeCAD"
45!define FILES_DEPS "G:\FreeCADInst\Installer\MSVCRedist"
46!define FILES_THUMBS "G:\FreeCADInst\Installer\thumbnail"
47