Commit fc92b832 authored by Jussi Lindgren's avatar Jussi Lindgren

Build: Enabled NSIS installer logging

parent 765f9619
......@@ -1005,6 +1005,11 @@ FunctionEnd
Function .onInit
StrCpy $9 ${vs90}
; Note that for logging to work, you will need a logging-enabled build of nsis.
; At the time of writing this, you could get one from http://nsis.sourceforge.net/Special_Builds
LogSet on
; On silent install, we install all components
IfSilent 0 +2
Call EnableOptionals
......
......@@ -45,6 +45,10 @@
Function .onInit
; Note that for logging to work, you will need a logging-enabled build of nsis.
; At the time of writing this, you could get one from http://nsis.sourceforge.net/Special_Builds
LogSet on
UserInfo::GetAccountType
Pop $R1
StrCmp $R1 "Admin" has_admin_rights 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment