-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to customize the log output file location #8313
Comments
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 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
Hi community,
I need to log the NSIS install and uninstall process, so I change the
electron-builder.json5
file toas per #5119 (comment) 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!
The text was updated successfully, but these errors were encountered: