Name "NVDA"\r
VIProductVersion "0.0.0.0" ;Needs to be here so other version info shows up\r
VIAddVersionKey "ProductName" "NVDA"\r
-VIAddVersionKey "LegalCopyright" "Copyright 2006 - 2011 NVDA Contributors"\r
+VIAddVersionKey "LegalCopyright" "${COPYRIGHT}"\r
VIAddVersionKey "FileDescription" "NVDA launcher file"\r
VIAddVersionKey "ProductVersion" "${VERSION}"\r
\r
\r
vars = Variables()\r
vars.Add("version", "The version of this build", versionInfo.version)\r
+vars.Add("copyright", "The copyright string of this build", versionInfo.copyright)\r
vars.Add(BoolVariable("release", "Whether this is a release version", False))\r
vars.Add("publisher", "The publisher of this build", versionInfo.publisher)\r
vars.Add(PathVariable("certFile", "The certificate file with which to sign executables", "",\r
uninstFile=File("dist/uninstall.exe")\r
uninstGen = env.Command(File("uninstaller/uninstGen.exe"), "uninstaller/uninst.nsi",\r
[[makensis, "/V2",\r
- "/DVERSION=$version", '/DPUBLISHER="$publisher"',\r
+ "/DVERSION=$version", '/DPUBLISHER="$publisher"','/DCOPYRIGHT="$copyright"',\r
"/DUNINSTEXE=%s"%uninstFile.abspath,\r
"/XOutFile ${TARGET.abspath}",\r
"$SOURCE"]])\r
\r
launcher = env.Command(outputDir.File("%s_launcher.exe" % outFilePrefix), ["launcher/nvdaLauncher.nsi", dist],\r
[[makensis, "/V2",\r
- "/DVERSION=$version", '/DPUBLISHER="$publisher"',\r
+ "/DVERSION=$version", '/DPUBLISHER="$publisher"','/DCOPYRIGHT="$copyright"',\r
"/DNVDADistDir=${SOURCES[1].abspath}", "/XOutFile ${TARGET.abspath}",\r
"$SOURCE"]])\r
if certFile:\r
Name "${appName}"\r
VIProductVersion "0.0.0.0" ;Needs to be here so other version info shows up\r
VIAddVersionKey "ProductName" "${appName}"\r
-VIAddVersionKey "LegalCopyright" "Copyright 2006 - 2011 NVDA Contributors"\r
+VIAddVersionKey "LegalCopyright" "${COPYRIGHT}"\r
VIAddVersionKey "FileDescription" "${appName} installer"\r
VIAddVersionKey "ProductVersion" "${VERSION}"\r
\r