Community
Participate
Working Groups
Per bug #215560, we can now mark an IU as locked from an uninstall and/or update perspective. The installer should probably mark all the root IU's as locked for uninstall, so that the user can't uninstall the SDK root. Something like: profile.setInstallableUnitProfileProperty(iu, IInstallableUnit.PROP_PROFILE_LOCKED_IU, Integer.toString(IInstallableUnit.LOCK_UNINSTALL));
the snippet should read: profile.setInstallableUnitProperty (not profile.setInstallableUnitProfileProperty)