liwei
Posts: 3
Joined: Thu Mar 08, 2018 4:39 am

I add a custom condition to check if mysql installed,but why it no using

Hi,all. i use advanced installer in a short time ,i wish get help from here.Now,i want to add one custom launch condition to check if mysql installed,i do as follow:
1、 add one "Registry key exists" as pic1.
2、 test value in system which installed mysql as pic2.
3、add custom condition in "launch conditions".
4、 run the program and track running log ,but it show wrong message as pic3.
I make settings as blow ,Could anyone tell me what'st wrong with it?
Great Thanks.
Attachments
pic3
pic3
085.png (27.74 KiB) Viewed 3364 times
pic2
pic2
082.png (38.45 KiB) Viewed 3364 times
pi1
pi1
080.png (46.76 KiB) Viewed 3364 times
Last edited by liwei on Thu Mar 08, 2018 9:05 am, edited 1 time in total.
liwei
Posts: 3
Joined: Thu Mar 08, 2018 4:39 am

Re: I add a custom condition to check if mysql installed,but why can't it no using

i make one coustom condition as pic4,but fail
Attachments
pic4
pic4
11.png (26.54 KiB) Viewed 3361 times
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: I add a custom condition to check if mysql installed,but why it no using

Hi and welcome to our forums.

I'm not sure why you encounter this problem. Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
liwei
Posts: 3
Joined: Thu Mar 08, 2018 4:39 am

Re: I add a custom condition to check if mysql installed,but why it no using

Thanks,I will sent project file to Email address
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: I add a custom condition to check if mysql installed,but why it no using

Hi,

Thank you for sending me the project file.

Please keep in mind that the way launch conditions work is this:
- if the condition is TRUE the installation will continue
- if the condition is FALSE the installation will be blocked

For example, let's consider that we set this condition: NOT RESULT_PROPERTY
- in case the search does not find any value, the "RESULT_PROPERTY" property will be empty, so the condition will be TRUE and the installation will continue
- in case the search finds any value, the "RESULT_PROPERTY" property will be set, so the above condition will be FALSE and the installation will be blocked

Let me know if you have other questions.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”