Closed tereshchuk055 closed 4 months ago
Слава Українi!
Владiслав, the event is intended to be invoked before the builder script is saved for further execution. The idea is that the user can modify the build script (if required) from the event handler, then it is saved and then executed.
Is this design causing the problems in your case?
Героям Слава!
Sorry, it was my misconception. Previously, I used the WixSourceSaved event in ManagedProject and didn't notice that NsisBootstrapper uses NsiSourceGenerated but does not have the SourceSaved event. I expected to manually edit the .nsi script file and didn't notice that I can modify the script itself before it is written to the file.
Appreciate your help, the issue is solved!
It seems that event should be invoked after script file has been generated