Closed Bug 37924 Opened 25 years ago Closed 25 years ago

WinReg: createkey does not create key in windows registry

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect, P3)

x86
Windows NT

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jimmykenlee, Assigned: ssu0262)

Details

(Whiteboard: [nsbeta2+])

Build: 2000-05-02-09-M16(WIN) 1. From http://jimbob/trigger3.html, click on Acceptance drop-down menu and choose a_winreg_createkey 2. Click Trigger case button 3. Click Ok from confirmation dialog RESULT: Install.log is created and indicates key is successfully created. Key is not actually created after checking windows registry. EXPECTED RESULT: Key is created as described by install.log (HKEY_CLASSES_ROOT) INSTALL SCRIPT: //////////////////////////////////////////////////////////////////////////////// // a_winreg_createkey // // Acceptance test // • Checks that a key is added to the Registry createkey(String subkey, // String classname); // // ~ XPInstall QA // May 19, 1999 // // March 17, 2000 jimmylee Implement initInstall, performInstall, // cancelInstall // //////////////////////////////////////////////////////////////////////////////// initInstall("Acceptance: a_winreg_createkey", "a_winreg_createkey", "1.2.3.4", 0); var winreg = getWinRegistry(); winreg.createKey("Software\\WinReg Test Key\\subkey1\\subkey2", ""); if (0 == getLastError()) performInstall(); else cancelInstall();
If the rootkey is set, then the behavior is fine. This can be observed from a_winreg_createkey_setrootkey from the Acceptance drop-down from http://jimbob/trigger3.html
not working with default root key if a root key is not set.
Target Milestone: --- → M18
a regression, puttin on nsbeta2 radar
Assignee: cathleen → ssu
Keywords: nsbeta2
Putting on [nsbeta2+] radar for beta2 fix.
Whiteboard: [nsbeta2+]
Build: 2000-05-22-09-M16(WIN) This is working in this build for both WinNT and Win98. I have no idea why this is working now.
marking this fixed per Jimmy's comment. If the problem resurfaces, please reopen this bug.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Build: 2000-05-25-09-M16(WIN) Still good.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.