Archive: Allow only one installer instance with NSIS 3.0a0


Allow only one installer instance with NSIS 3.0a0
Hi, I'm trying to do what's on this web page http://nsis.sourceforge.net/Allow_on...aller_instance

Previously it was working fine with NSIS 2.46. I tried to change CreateMutexA with CreateMutexW when Unicode is set to true but it's not working. Even when set to false it seems like I can't get it to work.

Thanks for helping :D

By the way, I'm glad to see NSIS 3.0a0 :up:


Never mix t type with A/W suffix, the code on the wiki is wrong.

System::Call 'kernel32::CreateMutex(i 0, i 0, t "abcdef") ?e'

Problem solved
Thanks Anders, I will never trust a wiki again :D