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

Installing features based on OS


4 replies to this topic

GOGO

GOGO
  • Members
  • 8 posts

Posted 04 May 2004 - 22:10

I Need help!!!

I am creating an installshield package with two features. I would like the installation to be based on the OS. For example if I am installing on a server(w2003) one of the components to install, and if installation is on a client(NT/2000) I want the other feature to install.

DO I have to modify the install script or is there any other way?

THANKS A LOT,
Gogo

Edited by GOGO, 04 May 2004 - 22:22.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 May 2004 - 10:42

You can use the VersionNT and Version9X properties in component or feature conditions. Use feature conditions to set a feature's level to 0 to hide it.

GOGO

GOGO
  • Members
  • 8 posts

Posted 05 May 2004 - 13:55

Thanks for the reply Stefan! I will follow your advise.

GOGO

GOGO
  • Members
  • 8 posts

Posted 05 May 2004 - 15:31

Thanks Stefan!!!

GOGO

GOGO
  • Members
  • 8 posts

Posted 06 May 2004 - 15:45

Well for those new with installshield( like myself) you have to use negatation when sellecting the OS.

For example: If you want a feature to be install on a XP only you have to set "Level" = 0 and use a the syntax "NOT(WindowsNT=501)"