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

Reset selected components in CustomSetup


5 replies to this topic

gloom

gloom
  • Full Members
  • 50 posts

Posted 25 June 2004 - 06:05

In CustomSetup dialog I selected some components, but when I back to Maintenance I want to reset my selections to Typical.
How?

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 25 June 2004 - 08:41

You need to modify the feature installstate (two different states). This can be done using Installscript or VBScript, but I don't have the sample code here. Chapter 5 of Bob Baker's http://www.amazon.co...il/-/0971570833 would help you.

Edited by Glytzhkof, 25 June 2004 - 08:42.

Regards
-Stein Åsmul

gloom

gloom
  • Full Members
  • 50 posts

Posted 25 June 2004 - 10:46

You mean AppLocal = "Feature1, Feature2.."?
But I have a lot of features. I think that must be a easy way?


Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 25 June 2004 - 11:31

I can't recall if there is a way to force install of a feature and all its subfeatures. If this is possible you could add a top level feature, and force select it and all subfeatures using scripting.
Regards
-Stein Åsmul

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 25 June 2004 - 14:31

You could try calling the SetInstallLevel control event to reset feature selection.

gloom

gloom
  • Full Members
  • 50 posts

Posted 28 June 2004 - 04:45

Danke schon Stefan! smile.gif
Es ist arbeitet.
(event SetInstallLevel = 100 on PushButton)