summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Bonazzola <sbonazzo@redhat.com>2018-10-04 14:33:49 +0200
committerSandro Bonazzola <sbonazzo@redhat.com>2018-10-04 14:33:49 +0200
commita21d55134b3601c358f56a9c5b61f89100d498ad (patch)
treedd4b06ba6afbaecd30ffafb9ebe5f585af1090cb
parentb7d2c76758560f68c1f2fdef545ad82b3c21e5c9 (diff)
Add references
-rw-r--r--DumpLog.nsh2
-rw-r--r--win-guest-tools.nsis3
2 files changed, 4 insertions, 1 deletions
diff --git a/DumpLog.nsh b/DumpLog.nsh
index 82d9e50..b86c25e 100644
--- a/DumpLog.nsh
+++ b/DumpLog.nsh
@@ -4,8 +4,10 @@
!ifndef LVM_GETITEMTEXT
!define LVM_GETITEMTEXT 0x102D
!endif
+# For reference: https://stackoverflow.com/questions/29418718/nsis-intaller-lvm-getitemcount-already-defined
Function DumpLog
+# For reference: http://nsis.sourceforge.net/Dump_log_to_file
Exch $5
Push $0
Push $1
diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index 13cc4f1..79d7934 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -23,7 +23,7 @@
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
-#
+#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -257,6 +257,7 @@ SectionEnd
Section -post
WriteUninstaller "$INSTDIR\Uninstall ${FILENAME}.exe"
+ # for reference: https://stackoverflow.com/questions/2407509/writing-current-date-time-as-file-name-using-nsis
!define /date MyTIMESTAMP "%Y-%m-%d-%H-%M-%S"
StrCpy $0 "$INSTDIR\install-${MyTIMESTAMP}.log"
Push $0