Issue :While application is running,the user is able to unsinstall it.
My Implementation : I have used the code to check if application is running then avoid uninstallation and report an error msg.
I have used below script to avoid uninstallation if application is already running.
Function IsAppRunning
checkAppRunning:
${nsProcess::FindProcess} "${APPEXENAME}" $R0
${If} $R0 == 0
messageBox MB_ICONEXCLAMATION "$(STRING_APP_RUNNING)"
GoTo checkAppRunning
${EndIf}
${nsProcess::Unload}
FunctionEnd
When I get Issue : The problem is only when the installer is created unsig unicode, otherwise it works fine.
Is there any plugin or any solution to fix this issue?
Application is getting uninstalled while is being running.
4 posts
Obvious question but are you sure you are using the Unicode version of the plugin?
Just for the record: Have you considered using LockedList plug-in?
Thanks Anders,LoRd_MuldeR for your quick response.
Yes Anders, I have used unicode version plugin but that was older one.
The issue is resolved as I have downloaded new version nsProcessW.dll file for NSIS UNICODE support (and just rename nsProcessW.dll into nsProcess.dll).
Thanks again..
Yes Anders, I have used unicode version plugin but that was older one.
The issue is resolved as I have downloaded new version nsProcessW.dll file for NSIS UNICODE support (and just rename nsProcessW.dll into nsProcess.dll).
Thanks again..