如下图所示
点击Action下面的On Startup弹出Action框。
在编辑框内输入下面脚本,即可。
result = Registry.DoesKeyExist(HKEY_LOCAL_MACHINE, "software\\microsoft\\windows\\currentversion\\uninstall\\滤白检测系统");
result2 = Registry.DoesKeyExist(HKEY_LOCAL_MACHINE, "software\\microsoft\\windows\\currentversion\\uninstall\\全血分离系统");
if (result == true) then
Dialog.Message("提示", "系统检测到您已经安装了滤白检测系统,如果您需要安装综合平台,请先将滤白检测系统卸载!");
elseif(result == true) then
Dialog.Message("提示", "系统检测到您已经安装了全血分离系统!如果您需要安装综合平台,请先将全血分离系统卸载!");
Application.Exit();
end