windowsrtinstaller: change licensing and change logo displayed in UI
authorDavid Pinedo <david@lunarg.com>
Fri, 29 Jan 2016 19:20:49 +0000 (12:20 -0700)
committerDavid Pinedo <david@lunarg.com>
Fri, 29 Jan 2016 19:23:59 +0000 (12:23 -0700)
windowsRuntimeInstaller/InstallerRT.nsi
windowsRuntimeInstaller/LICENSE.rtf [deleted file]
windowsRuntimeInstaller/VULKANRT_LICENSE.rtf [new file with mode: 0644]
windowsRuntimeInstaller/VulkanLogo.bmp

index 80cb627..6c71138 100644 (file)
@@ -180,7 +180,9 @@ RequestExecutionLevel admin
 AddBrandingImage left 150
 Caption "${PRODUCTNAME} ${PRODUCTVERSION} Setup"
 Name "${PRODUCTNAME} ${PRODUCTVERSION}"
+LIcenseData "VULKANRT_LICENSE.rtf"
 Page custom brandimage "" ": Brand Image"
+Page license
 Page directory
 Page instfiles
 UninstallCaption "\${PRODUCTNAME} ${PRODUCTVERSION} Uninstall"
@@ -232,7 +234,8 @@ Section
 
         SetOutPath "$INSTDIR"
         File ${ICOFILE}
-        File LICENSE.rtf
+        FILE VULKANRT_LICENSE.RTF
+        File ..\LICENSE.txt
         File ConfigLayersAndVulkanDLL.ps1
 
         # Run the ConfigLayersAndVulkanDLL.ps1 script to copy the most recent version of
@@ -263,7 +266,8 @@ Section
 
         SetOutPath "$INSTDIR"
         File ${ICOFILE}
-        File LICENSE.rtf
+        File VULKANRT_LICENSE.rtf
+        File ..\LICENSE.txt
         File ConfigLayersAndVulkanDLL.ps1
 
         # Run the ConfigLayersAndVulkanDLL.ps1 script to copy the most recent version of
@@ -402,7 +406,8 @@ Section "uninstall"
         DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCTNAME}${PRODUCTVERSION}"
 
         # Remove files in install dir
-        Delete /REBOOTOK "$INSTDIR\LICENSE.rtf"
+        Delete /REBOOTOK "$INSTDIR\VULKANRT_LICENSE.rtf"
+        Delete /REBOOTOK "$INSTDIR\LICENSE.txt"
         Delete /REBOOTOK "$INSTDIR\UninstallVulkanRT.exe"
         Delete /REBOOTOK "$INSTDIR\Vulkan.ico"
         Delete /REBOOTOK "$INSTDIR\ConfigLayersAndVulkanDLL.ps1"
diff --git a/windowsRuntimeInstaller/LICENSE.rtf b/windowsRuntimeInstaller/LICENSE.rtf
deleted file mode 100644 (file)
index 6a17969..0000000
Binary files a/windowsRuntimeInstaller/LICENSE.rtf and /dev/null differ
diff --git a/windowsRuntimeInstaller/VULKANRT_LICENSE.rtf b/windowsRuntimeInstaller/VULKANRT_LICENSE.rtf
new file mode 100644 (file)
index 0000000..2b8840c
Binary files /dev/null and b/windowsRuntimeInstaller/VULKANRT_LICENSE.rtf differ
index 3789402..07e792b 100644 (file)
Binary files a/windowsRuntimeInstaller/VulkanLogo.bmp and b/windowsRuntimeInstaller/VulkanLogo.bmp differ