Archive: detect conflicting programs with NSIS


detect conflicting programs with NSIS
I'm running a third party program using execwait to install iSeries access for windows telnet emulator program via a silent installation. It works great however once in a while some pc's running programs prevent the setup.exe from running. It just hangs until I clear random user process's.

Code:
ExecWait "$INSTDIR\iSeries\setup.exe -SMS -s"

Is there anyway to detect these conflicting programs and or what could be causing it to not run while these other programs are running?

Thanks,
Chad


Unrelated, but your code is missing quotes around the executable path. It can fail if the path contains spaces.

As for the conflicting programs, that depends on how that setup detects it. I guess that when running silently it will just wait until those processes are gone. Maybe there's a switch that tells it to fail in that case.