How to suppress restarting the computer in nsis?
Is there any way not to allow the user to restart the computer during the installation? Thanks.
8 posts
Thanks for your reply. Can you briefly explain how I can use this message WM_QUERYENDSESSION in NSIS?Originally Posted by Afrow UK View PostNSIS already blocks reboots by handling WM_QUERYENDSESSION and returning FALSE.
Stu
I meant how to use WM_QUERYENDSESSION in NSIS? Thanks.Originally Posted by Afrow UK View PostWhat?
Stu
NSIS already blocks reboots by handling WM_QUERYENDSESSION and returning FALSE.I'm not sure how I could rephrase this to make more sense. If NSIS already handles WM_QUERYENDSESSION behind the scenes then why do you need to handle it yourself (except to allow reboots by returning TRUE)?