![]() #define py ReadIni(INIFile, "python ", "version ") #define REDInstallationsRegRoot 'SOFTWARE\Node-RED\installations ' The root key for bookkeeping of the Node-RED installations we know of on this system #define REDProvisionCount ReadIni(INIFile, "red ", "provision ", "5 ") We need this explicitely as there's no way to add dynamically to the section Count of parallel installations we provision for to manage #define REDMinVersion ReadIni(INIFile, "red ", "min ", "1.0 ") ![]() This is the lowest version number we offer for installation #define REDLatestTmpFileName "red.releases " In that case, we try to get at least the 'latest' version from ![]() If npm is not installed, we cannot get the dist-tag versions. #define REDAddVersions ReadIni(INIFile, "red ", "versions ", " ") Additional versions may be defined here duplicates don't matter! By default, we offer (for Node-RED) to install the dist-tag versions as known to npm. #define REDLicenseTmpFileName "red.license " #define REDLicenseURL ReadIni(INIFILE, "red ", "license ") #define NodeDownloadURL ReadIni(INIFILE, "node ", "download ", ' ') #define NodeLicenseTmpFileName "node.license " #define NodeLicenseURL ReadIni(INIFILE, "node ", "license ") #define NodeVersions ReadIni(INIFILE, "node ", "versions ", NodeVersionRecommended) comma-separated list of major versions numbers we offer for download #define NodeVersionRecommended ReadIni(INIFile, "node ", "recommended ") Node.js Default Version - that we propose to install if none is present #define VersionInfoURL ReadIni(INIFile, "installer ", "url ", " ") #define INIFile RemoveBackslash(SourcePath) + "\setup.ini " * That's easier for maintenence rather than searching for things in the source code * We configure all constants via an INI file. * Definition file for the Inno Setup compiler.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |