PDA

View Full Version : Thank you very much, still another question?


doombo
01-24-2002, 01:01 PM
i found out that to check thr registry for let's say ie 5.5 theres a lot of versions, i was wondering if i could tell the search registry command to serarch one version or another and if it finds any of them return true, here are some of the versions i found.
it's the same whith some of the other programs.

5.50.3825.1300 Internet Explorer 5.5 Developer Preview (Beta)
5.50.4030.2400 Internet Explorer 5.5 & Internet Tools Beta
5.50.4134.0100 Windows Me (4.90.3000)
5.50.4134.0600 Internet Explorer 5.5
5.50.4308.2900 Internet Explorer 5.5 Advanced Security Privacy Beta
5.50.4522.1800 Internet Explorer 5.5 Service Pack 1
5.50.4807.2300 Internet Explorer 5.5 Service Pack 2

Adam
01-24-2002, 03:10 PM
You could just have multiple Read from Registry actions with "True if Exists" checked, This way if the variable is found to be true then you know that one of the multiple registry checks was successful.

------------------
Adam Kapilik
Indigo Rose Corporation

doombo
01-24-2002, 04:40 PM
ok, i agree but how do i do that, how do i pass the varables to the other action, example, i check for all the versions of ie
then i have only one that is true, the variable name is the same or what, i have to name the variable diferent every time i look in the registry, then i pass the value to another action depending on the value, sorry i'm all mess up. please tell me how to do this.

Mark
01-26-2002, 12:31 AM
Hi,

Try using the following system:

Assign Value (%RegVar% = FALSE)

Read From Registry - For 5.50.3825.1300
Variable Name: %RegVar%
True If Exists
Boolean Condition: %RegVar% = FALSE

Read From Registry - For 5.50.4030.2400
Variable Name: %RegVar%
True If Exists
Boolean Condition: %RegVar% = FALSE

Read From Registry - For 5.50.4134.0100
Variable Name: %RegVar%
True If Exists
Boolean Condition: %RegVar% = FALSE

Read From Registry - For 5.50.4134.0600
Variable Name: %RegVar%
True If Exists
Boolean Condition: %RegVar% = FALSE

Read From Registry - For 5.50.4308.2900
Variable Name: %RegVar%
True If Exists
Boolean Condition: %RegVar% = FALSE

Read From Registry - For 5.50.4522.1800
Variable Name: %RegVar%
True If Exists
Boolean Condition: %RegVar% = FALSE

Read From Registry - For 5.50.4807.2300
Variable Name: %RegVar%
True If Exists
Boolean Condition: %RegVar% = FALSE


Then at the end of all of these actions %RegVar% would be set to TRUE if one of these exist and FALSE if none of them do.

mark.