[Win installer] add support for logging

the installer will now write a text file 'install.log' to the installation folder of FreeCAD
This commit is contained in:
Uwe
2022-02-13 22:05:11 +01:00
parent 5cb2c315a2
commit b9a12e672c
2 changed files with 18 additions and 7 deletions

View File

@@ -20,8 +20,13 @@ Section -ProgramFiles SecProgramFiles
${if} $Pointer == "-1"
StrCpy $INSTDIR "$INSTDIR\${APP_DIR}"
${endif}
# turn on logging
# Note that this can first be done here since the log file is written to $INSTDIR
# to $INSTDIR must have a valid path before logging can be turned on
LogSet on
# Install and register the core FreeCAD files
# Install and register the core FreeCAD files
# Initializes the plug-ins dir ($PLUGINSDIR) if not already initialized.
# $PLUGINSDIR is automatically deleted when the installer exits.