Determining and using administrative rights in .MSIs