COM co-class per-user registration
问题 Need to implement per-user registration of a COM co-class by adding registry entries to the HKCU registry hive (XP SP3, Windows 7, Windows 8). What is the minimal set of required registry entries to create an object instance by calling the VBScript CreateObject function? UPD: VBScript implementation Sub RegisterComObject(Path, ProgId, ClsId) Dim Shell Set Shell = WScript.CreateObject("WScript.Shell") Shell.RegWrite "HKCU\Software\Classes\" & ProgId & "\", "" Shell.RegWrite "HKCU\Software