Jump to content











Photo
- - - - -

REG_MULTI_SZ


  • Please log in to reply
No replies to this topic

#1 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 March 2008 - 02:45 PM

Try following code in CodeBox:
RegHiveLoad,WB-Software,%TargetDir%\i386\System32\Config\software

 RegRead,"HKLM","WB-Software\Microsoft\Windows\CurrentVersion\Setup","Installation Sources",%val%

 RegWrite,"HKLM",0x7,"WB-Software\Microsoft\Windows\CurrentVersion\Setup","Installation Sources",%val%,x

 RegHiveUnLoad,WB-Software
It works in so far that the X is appended to the current strings.
But there comes an error:

RegHiveUnLoad - Failed to unload registry hive: [WB-Software]

In regedit can be seen that the hive is still mounted.
It can be removed only by
  • exit WinBuilder
  • remove with regedit
Peter

BTW: Already inserted in BugTracker




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users