Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to make a Setup that starts other setups


1 reply to this topic

gjufer

gjufer
  • Members
  • 1 posts

Posted 15 January 2002 - 08:51

Dear Install-Experts,
Perhaps you can help me....
My Setup must run for win95, 98, nt, 2000 and xp. if it's win95 I have to start USB.exe and two other setups.exe
for the other windows I only have to start the other setups.exe.
How can I do that? (detetect the Windows Version and starts other Programms)

pdriley

pdriley
  • Members
  • 91 posts

Posted 15 January 2002 - 11:53

Create a custom action to run an executable: this should be easy enough using the Custom Action Wizard.  Put that CA into your InstallExecuteSequence and add a condition to detect the version.

You can check for NT/9x series just by saying:
VersionNT or
Version9X

To get a specific version, you need to check the actual value of these Properties.  The value will be the version number multiplied by 100

So if you want to say "Win 2K or Win XP" then the condition should be:
VersionNT >= 500