Avoiding Maintenance Mode Problems
Posted 14 March 2005 - 17:33
Posted 14 March 2005 - 19:24
Now in your case, you either need to present the user with the proper set of dialogs to dictate the new component selections -or- call say ComponentSetupTypeSet() to re-apply the default component selections for the indicated setup type (e.g. Typical).
Posted 14 March 2005 - 19:45
Posted 14 March 2005 - 20:09
if (CMDLINE % "UNINSTALL") then
Posted 14 March 2005 - 22:02
Well there probably is a more elegant solution, but in that case, you'll just have to manually select the components accordingly by calling ComponentListItems to get a list of the current components, evaluate the status via ComponentIsItemSelected, and then adjust any via ComponentSelectItem.
I actually do something similar for my setups since I don't use Maintenance mode either.
Good luck then and hope it helps.
Posted 15 March 2005 - 18:17