Hi Dashut,
Advanced Installer does not implement this.
I've cooked up a small batch script for you. You can launch Advanced Installer by running it. It will ensure only one instance is opened.
Code: Select all
@echo off
:: list processes
tasklist > processes.txt
:: search advinst.exe in the process list
findstr advinst.exe processes.txt > searchresult.txt
:: set our result env variable to a default value
set myresult=default
:: get the result of our searching for advinst.exe
set /p myresult= < searchresult.txt
:: test if myresult still has 'd' as the first letter, meaning it still has the default value
:: in which case advinst.exe is not running therefore we can launch it
if %myresult:~0,1%==d start "title" "C:\Program Files (x86)\Caphyon\Advanced Installer 7.7\bin\x86\advinst.exe"
:: delete our intermediary files
del processes.txt
del searchresult.txt
I've also added the improvement on our TODO list so we can support this behavior in the future.
Let me know if it helps.
Best regards,
Gabriel
FOLLOW US
Get the latest news in Application Packaging