summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2012-08-08 18:39:33 +0300
committerUri Lublin <uril@redhat.com>2012-08-08 18:40:21 +0300
commit689d7c9a5f7392f6cc6cdd46105bef17fd704818 (patch)
tree4dfdd4be3b3a9fe2a9790ef8377371f03639edd2
parent09d01b6f24b9ce395144d990e8ca7d06f6f55da1 (diff)
usbclerk-installer: install/uninstall license files
-rw-r--r--usbclerk.nsis.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/usbclerk.nsis.in b/usbclerk.nsis.in
index e1bfc25..22ca7b3 100644
--- a/usbclerk.nsis.in
+++ b/usbclerk.nsis.in
@@ -125,6 +125,9 @@ compare_versions_done:
nsExec::ExecToLog '$0 /C "$1\usbclerk.exe" uninstall'
Delete "$1\Uninstall_usbclerk.exe"
Delete "$1\usbclerk.exe"
+ Delete "$1\license.rtf"
+ Delete "$1\GPL"
+ Delete "$1\LICENSE"
!macroend
@@ -156,6 +159,9 @@ Section "Install"
SetOutPath "$INSTDIR"
File usbclerk.exe
+ File license.rtf
+ File GPL
+ File LICENSE
ReadEnvStr $0 COMSPEC
nsExec::ExecToLog '$0 /C "$INSTDIR\usbclerk.exe" install'
nsExec::ExecToLog '$0 /C net start usbclerk'