In a nutshell if I use the system plugin after calling
, thenSetDetailsPrint none
has no effect.SetDetailsPrint lastused
Here is a sample that reproduces the issue on my system.
## Compiled using MakeNSIS v2.46
OutFile "System Plugin - SetDetailsPrint [Bug].exe"
ShowInstDetails show
Section Main
DetailPrint "This is displayed"
Call SetDetailsPrintTest
DetailPrint "This should be displayed but dosn't!"
SectionEnd
Function SetDetailsPrintTest
SetDetailsPrint none
Push $0
System::Alloc 8
Pop $0
DetailPrint "This is not displayed"
System::Free $0
## FIXME This should revert to the default DetailsPrint mode but has no effect
SetDetailsPrint lastused
FunctionEnd