Please refer to "Procedure 3: Detaching an Oracle Home using the Oracle Universal Installer” from Oracle support doc: R12.0 / R12.1 : How To Create, Update or Rebuild The Central Inventory For Oracle Applications E-Business Suite ? (Doc ID 742477.1). The document includes the instructions for upgrading the OUI within the 10.1.x home to 10.2.