summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Williamson <grant.williamson@gmail.com>2012-03-07 11:31:57 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-03-14 14:30:51 +0100
commitfda3f368402152c680ed46b87f307b5f74e6741d (patch)
tree772d0c12274fcc9dad6febb07c9959d4843fdc15
parenta53dd412ec060c8b9e42ddcef4bd372254dd9f2d (diff)
Display license before installing drivers
-rw-r--r--spice-guest-tools.nsis17
-rw-r--r--win-driver-license.txt47
2 files changed, 60 insertions, 4 deletions
diff --git a/spice-guest-tools.nsis b/spice-guest-tools.nsis
index ea59a63..79c435e 100644
--- a/spice-guest-tools.nsis
+++ b/spice-guest-tools.nsis
@@ -46,13 +46,22 @@ InstallDir "$PROGRAMFILES\SPICE Guest Tools"
# ShowInstDetails hide
# ShowUninstDetails hide
+!include "MUI2.nsh"
+!insertmacro MUI_PAGE_WELCOME
+!insertmacro MUI_PAGE_LICENSE win-driver-license.txt
+!insertmacro MUI_PAGE_INSTFILES
+!insertmacro MUI_PAGE_FINISH
+
+!insertmacro MUI_UNPAGE_WELCOME
+!insertmacro MUI_UNPAGE_LICENSE win-driver-license.txt
+!insertmacro MUI_UNPAGE_INSTFILES
+!insertmacro MUI_UNPAGE_FINISH
+
+!insertmacro MUI_LANGUAGE "English"
+
XPStyle on
RequestExecutionLevel admin
-# Page components
-Page directory
-Page instfiles
-
ComponentText "Select which optional components you want to install."
DirText "Please select the installation folder."
diff --git a/win-driver-license.txt b/win-driver-license.txt
new file mode 100644
index 0000000..e41a271
--- /dev/null
+++ b/win-driver-license.txt
@@ -0,0 +1,47 @@
+Copyright 2012 Red Hat, Inc.
+
+ This software is licensed under the GNU General Public License,
+ version 2 (GPLv2) (see COPYING for details), subject to the following
+ clarification.
+
+ With respect to binaries built using the Microsoft(R) Windows Driver
+ Kit (WDK), GPLv2 does not extend to any code contained in or derived
+ from the WDK ("WDK Code"). As to WDK Code, by using or distributing
+ such binaries you agree to be bound by the Microsoft Software License
+ Terms for the WDK. All WDK Code is considered by the GPLv2 licensors
+ to qualify for the special exception stated in section 3 of GPLv2
+ (commonly known as the system library exception).
+
+ There is NO WARRANTY for this software, express or implied,
+ including the implied warranties of NON-INFRINGEMENT, TITLE,
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ This software incorporates material covered by the following terms:
+
+ Copyright 2007 IBM Corporation
+
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the
+ distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file