[Bug 15670] .NET applications that make use of System.IO.IsolatedStorage crash (missing "HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\<UserSID>" registry subkey)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 10 17:25:18 CST 2014


http://bugs.winehq.org/show_bug.cgi?id=15670

--- Comment #17 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

found another .NET app that runs into this issue: 'PaintRibbon 1.x'

Download:
http://download.cnet.com/PaintRibbon/3000-2191_4-10958115.html?part=dl-10119948&subj=dl&tag=button

Prerequisite: 'winetricks -q dotnet35sp1 corefonts windowscodecs'
(windowscodecs -> bug 34764)

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Paintribbon

$ wine ./PaintRibbon.exe
...
Unhandled Exception: System.IO.IsolatedStorage.IsolatedStorageException: Unable
to create the store directory. (Exception from HRESULT: 0x80131468)
   at
System.IO.IsolatedStorage.IsolatedStorageFile.nGetRootDir(IsolatedStorageScope
scope)
   at
System.IO.IsolatedStorage.IsolatedStorageFile.InitGlobalsNonRoamingUser(IsolatedStorageScope
scope)
   at
System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope
scope)
   at
System.IO.IsolatedStorage.IsolatedStorageFile.GetGlobalFileIOPerm(IsolatedStorageScope
scope)
   at System.IO.IsolatedStorage.IsolatedStorageFile.Init(IsolatedStorageScope
scope)
   at
System.IO.IsolatedStorage.IsolatedStorageFile.GetStore(IsolatedStorageScope
scope, Type domainEvidenceType, Type assemblyEvidenceType)
   at System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForDomain()
   at Fluent.Ribbon.LoadState()
   at Fluent.Ribbon.OnJustLayoutUpdated(Object sender, EventArgs e)
   at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object
resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object
resizedCompositionTarget)
   at System.Windows.Media.MediaContext.Resize(ICompositionTarget
resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
...
--- snip ---

Workaround:

--- snip ---
$ wine reg add "HKLM\\Software\\Microsoft\\Windows
NT\\CurrentVersion\\ProfileList\\S-1-5-21-0-0-0-1000"
--- snip ---

$ sha1sum paintribbonsetup.exe 
d74c6a5ddca61c0f62019db14657993cb552daf2  paintribbonsetup.exe

$ du -sh paintribbonsetup.exe 
1.7M    paintribbonsetup.exe

$ wine --version
wine-1.7.10-343-g770d09d

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list