Commit 411711ef7553cfe9c8c79e3c4566fe45e2746e91
1 parent
1347fde8
Exists in
master
and in
3 other branches
Creating registry key for windows event log.
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
win/pw3270.nsi.in
... | ... | @@ -161,6 +161,11 @@ SubSection "@PRODUCT_NAME@" SecMain |
161 | 161 | # Default settings |
162 | 162 | SetRegView @WINARCH@ |
163 | 163 | |
164 | + # Setup log file | |
165 | + # https://docs.microsoft.com/en-us/windows/win32/eventlog/event-sources | |
166 | + WriteRegStr HKLM "SYSTEM\CurrentControlSet\Services\EventLog\@PRODUCT_NAME@" \ | |
167 | + "PackageVersion" "@PACKAGE_VERSION@" | |
168 | + | |
164 | 169 | # Required for IPC Library. |
165 | 170 | WriteRegStr HKLM "Software\@PRODUCT_NAME@" "InstallLocation" "$INSTDIR" |
166 | 171 | ... | ... |