To prevent launching installer twice or more times consider adding this to
.onInit
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${APPNAME}") i .r1 ?e'
Pop $R0
StrCmp $R0 0 +3
MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running."
Abort
just before FunctionEnd, this will check if window with appnam is already
launched, if so it wil show a messagebox with info. Hope this will be included
:)
Original issue reported on code.google.com by ml.ci...@gmail.com on 10 Apr 2011 at 10:30
Original issue reported on code.google.com by
ml.ci...@gmail.com
on 10 Apr 2011 at 10:30