SelectionTree in Admin Installation
Posted 26 July 2004 - 15:33
Is it possible to use SelectionTree during Administrative Installation Sequence ?
Actually I tried to use the SetupType->Custom Setup Dialog in the same way as it was in the Regular Installation. But unable to populate the feature tree. My goal is to provide, the administrator, choice to select the feature for creating the network image (installation).
Posted 27 July 2004 - 08:18
I wanted exactly the same thing. I ended up creating checkboxes, which works OK, as long as you don't have too many features (but if you want to offer Run from network or Install on demand you've got to come up with something else)
Posted 27 July 2004 - 16:40
|The CostFinalize action must be executed before starting any user interface sequence which allows the user to view or modify Feature table selections or directories.|
So yes, I believe the FeatureTree dialogs depends on additional temporary columns of information that are added by the costing process.
Posted 03 August 2004 - 07:58
Posted 03 August 2004 - 08:51
Posted 04 August 2004 - 07:08
Posted 04 August 2004 - 08:13
So maybe you are not using the best approach (why do you need such a detailed selection in the admin install?). However if you do need this, you may have to use an external user interface.
Posted 04 August 2004 - 10:50
Most custmers do not own repackaging software to create transforms, or much knowledge about MSI for that matter. Still, they want something like the old 'answer files' to install silently.
This is the scheme I use right now (no code!):
I have a special dialog with about 8 checkboxes, all linked to a public property (name in ALL CAPS). The Next button checks consistency (eg. at least one checkbox is checked).
The checkbox properties are all mentioned in the AdminProperties property.
Every feature (that is set in admin setup) has two conditions:
0 in case of (IsAdminPackage AND NOT ADMINFEATURE)
1 in case of (IsAdminPackage AND ADMINFEATURE)
... where ADMINFEATURE is the public property.
This works really nice, it even works with Windows 2000 GPO deployment. The drawback is that it gets quite hard to add/change/remove features, a lot has to be done. Further, if you use build flags to exclude features in certain build, you need to hide the corresponding checkboxes as well.
Posted 04 August 2004 - 11:23
BTW did you know that you can bundle an OEM version InstallShield Tuner with your software to enable your customer to create transforms? (I admit that I don't know the price of Tuner)