PDA

View Full Version : How to check the user's OS platform and start specific action



nicotraber
06-24-2003, 04:07 AM
Hi,

i want to build a installer, who check out the user's system platform and then make a specific REG entry.

I know about %IsWin95% / %IsWinXP% etc. but i need a example code, to figure it out.

Thank you for your Idea ...

Darryl
06-24-2003, 09:44 AM
You'll need two actions to accomplish a conditional Registry action. First you'll need to use the IF control structure, found in the actions list. The condition you will want to create is %IsWin95% = TRUE, or in this case, you could just have %IsWin95% as the condition, so both will work. (Of course you can use whatever condition you want.)

Inside of the IF and END IF, you will want to create your Modify Registry action.

Hope that helps.