I'm currently building an installer that installs different components depending on if a switch is invoked on startup
Setup 1: trigger installer
Setup 2: trigger installer with argument /vSERVERTYPE=Server
When Setup 1 is triggered i want to hide a feature from the user
I Currently have the following InstallShield InstallScript code to do so:
if(serverInstallSwitch != "Server") then
MessageBox("Not a server install", INFORMATION);
FeatureSetData (MEDIA,
"Sybase_Database_Service_64bit",
FEATURE_FIELD_VISIBLE, FALSE,
"");
endif;
This however does not work, it does show the messagebox "Not a server install" but it does not hide the feature.
What am I doing wrong?