Checking if specific runtime is already installed
Posted: Wed Jun 01, 2016 9:42 am
Hi!
So during the prereq stage. I have the program set to install 3 runtimes. 2 of them, I want to be optional. So I have them inside an if statement and before the if statement I use a message box to receive the users feedback on yes/no for if to install those 2 runtimes or not.
Now, I want to further put this message box in an if statement so that the message box only pops up if these 2 runtimes are not already installed.
(No point asking the user if they want to install these runtimes, if they are already installed)
----
So basically, my question is: Is there any variable that returns from the prereq runtimes check, that indicates wether specific runtimes are or are not installed? Is there any way I can set a variable to do this?
I basically want like variables that indicate if runtimes are or arent installed so that
my message box if statement can be like:
if variable runTimeA equals false and if variable runtimeB equals false
show message box
something along those lines ^
So during the prereq stage. I have the program set to install 3 runtimes. 2 of them, I want to be optional. So I have them inside an if statement and before the if statement I use a message box to receive the users feedback on yes/no for if to install those 2 runtimes or not.
Now, I want to further put this message box in an if statement so that the message box only pops up if these 2 runtimes are not already installed.
(No point asking the user if they want to install these runtimes, if they are already installed)
----
So basically, my question is: Is there any variable that returns from the prereq runtimes check, that indicates wether specific runtimes are or are not installed? Is there any way I can set a variable to do this?
I basically want like variables that indicate if runtimes are or arent installed so that
my message box if statement can be like:
if variable runTimeA equals false and if variable runtimeB equals false
show message box
something along those lines ^