PDA

View Full Version : install file under certain conditions.


RoSmecher
09-05-2004, 01:26 PM
hi i have two files both named ATL.DLL. one is for win nt/2000/xp and the other is for 95/98/ME. my question is how can i install only the correct one depending on what operating system the user is using?

i know it is something with actions, but if someone could help me out with the code that would be great.

thanks for your time and i look forward to your reply.

JXBURNS
09-06-2004, 01:48 PM
Wherever you add the file (archive or CD-ROM) double-click the relevant file.

Select the CONDITIONS TAB

Use the RUNTIME BUILD... button to set which operating system you want that specific file to install under (or type manually)

For WinNT4 and Win2000 you would end up with:

%IsWin2000% OR %IsWinNT4% OR %IsWinXP%

For Win9x/ME you would end up with:

%IsWin98% OR %IsWin95% OR %IsWinME%

John