Open KyleRicardo opened 3 weeks ago
This is where the output path is being set: https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/templates/nsis/common.nsh#L137
I'm not familiar enough with nsis scripting to advise where/what to change in order for the output location to be changed though. Fully in favor of having it in a different location, especially since the uninstallation logs I assume are getting deleted during the uninstall process since it's located in the $INSTDIR
Hi community,
I need to log the NSIS install and uninstall process, so I change the
electron-builder.json5
file toas per https://github.com/electron-userland/electron-builder/issues/5119#issuecomment-889608933 and https://www.electron.build/configuration/nsis
But it seems the output log file's location cannot be customized, the installation log is put under "C:\" and the uninstallation log is put under $INSTDIR
BTW I use
/allsuers /S
args to do slient installation.That's very weird, because the $INSTDIR itself should be removed too in the uninstallation process.
Anyone can help on this? I want to customize the log output file location. Many thanks!