http://bugs.winehq.org/show_bug.cgi?id=22210
Summary: HTML-Kit Tools trial installer produces an error message in Win7 mode Product: Wine Version: 1.1.41 Platform: x86-64 URL: http://www.html-kit.com/tools/download/ OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com
Created an attachment (id=27103) --> (http://bugs.winehq.org/attachment.cgi?id=27103) Terminal output
If the installer for the trial version of HTML-Kit Tools is run with Wine's Windows version set to Windows 7, it produces an error dialog after creating shortcuts:
IPropertyStore::SetValue failed, code 0x80004002
After this, the installer doesn't offer to start the program automatically, but there appears to be no other impact on the installation. (That may not be related to this message anyway for all I know.) This doesn't happen in WinXP/Vista/2k mode.
This is a .NET app, but the installer doesn't seem to use it; behavior is the same whether the .NET Framework is installed or not.
http://bugs.winehq.org/show_bug.cgi?id=22210
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer
http://bugs.winehq.org/show_bug.cgi?id=22210
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |NoAppDBEntry
http://bugs.winehq.org/show_bug.cgi?id=22210
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|NoAppDBEntry |
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2010-03-31 00:37:27 --- NoAppDBEntry is useless, please don't add it.
http://bugs.winehq.org/show_bug.cgi?id=22210
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Component|-unknown |shell32 Summary|HTML-Kit Tools trial |HTML-Kit Tools trial |installer produces an error |installer produces an error |message in Win7 mode |message in Win7 mode | |(IShellLink object needs to | |provide IPropertyStore | |interface) Ever Confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net 2010-08-06 02:16:55 --- Hello,
looks like IShellLink object needs to provide IPropertyStore interface. Most likely for Windows 7 Taskbar jump list feature.
--- snip --- 0016:trace:shell:IShellLinkA_fnSetShowCmd (0x15c378) 1 0016:trace:shell:IShellLinkA_fnSetDescription (0x15c378)->(pName=Launch HTML-Kit Tools) ... 0016:trace:shell:ShellLink_QueryInterface (0x15c378)->( IID: {886d8eeb-8cf2-4446-8d02-cdba1dbdcf99}) 0016:err:shell:ShellLink_QueryInterface -- Interface: E_NOINTERFACE 0016:Call KERNEL32.FormatMessageA(00003200,00000000,80004002,00000000,0033e724,00000400,00000000) ret=0042e6c0 0016:Call ntdll.RtlFindMessage(7b810000,0000000b,00000000,80004002,0033e5ac) ret=7b83b701 0016:Ret ntdll.RtlFindMessage() retval=c0000109 ret=7b83b701 0016:Call ntdll.RtlNtStatusToDosError(c0000109) ret=7b83b8d7 0016:Ret ntdll.RtlNtStatusToDosError() retval=0000013d ret=7b83b8d7 0016:Ret KERNEL32.FormatMessageA() retval=00000000 ret=0042e6c0 0016:Call KERNEL32.RaiseException(0eedface,00000001,00000007,0033eb14) ret=004527f4 0016:Call ntdll.RtlRaiseException(0033ea00) ret=7b835ad2 0016: eax=7b824eb1 ebx=7b881ed8 ecx=00000000 edx=0eedface esi=0eedface edi=0033ea70 ebp=0033ea58 esp=0033e9f4 ds=002b es=002b fs=0063 gs=006b flags=00200246 0016:trace:seh:raise_exception code=eedface flags=1 addr=0x7b835ad2 ip=7b835ad2 tid=0016 0016:trace:seh:raise_exception info[0]=004527f4 0016:trace:seh:raise_exception info[1]=0050c5b8 0016:trace:seh:raise_exception info[2]=80004002 0016:trace:seh:raise_exception info[3]=00455738 0016:trace:seh:raise_exception info[4]=00000000 0016:trace:seh:raise_exception info[5]=0033eb60 0016:trace:seh:raise_exception info[6]=0033eb30 ... 0016:Call user32.MessageBoxA(0003063a,00512b98 "IPropertyStore::SetValue failed; code 0x80004002.\r\n",00512bd8 "Setup",00000010) ret=0042ef66 --- snip ---
Some example snippet how it is meant to be used in apps:
--- snip example --- // Get a pointer to the IShellLink interface. hr = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (LPVOID*)&link); if (FAILED(hr)) return; link->SetPath(path_to_app); link->SetArguments(L"/some /args"); link->SetDescription(L"A description"); // Turns into tooltip
IPropertyStore* prop_store; hr = link->QueryInterface(&prop_store); if(SUCCEEDED(hr)) { PROPVARIANT pv; pv.vt=VT_LPWSTR; pv.pwszVal=L"Name of item"; // Turns into actual item name
PROPERTYKEY PKEY_Title; CLSIDFromString(L"{F29F85E0-4FF9-1068-AB91-08002B27B3D9}", &(PKEY_Title.fmtid)); PKEY_Title.pid=2;
// Set the title property. hr = prop_store->SetValue(PKEY_Title, pv); // THIS is where the displayed title is actually set
// Save the changes we made to the property store prop_store->Commit(); prop_store->Release(); }
SHARDAPPIDINFOLINK appinfo; appinfo.pszAppID=L"Company.AppName"; // Previously registered using SetCurrentProcessExplicitAppUserModelID appinfo.psl=link; SHAddToRecentDocs(SHARD_APPIDINFOLINK, &appinfo); link->Release(); --- snip example ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=22210
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #3 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-07-06 03:22:12 CDT --- Still in wine-1.6-rc4-52-g9a0b434
https://bugs.winehq.org/show_bug.cgi?id=22210
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 37735 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=22210
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #5 from super_man@post.com --- Still failing 1.7.49
https://bugs.winehq.org/show_bug.cgi?id=22210
--- Comment #6 from super_man@post.com --- Created attachment 53352 --> https://bugs.winehq.org/attachment.cgi?id=53352 hack
I didnt test this time, but these changes in attached hacky patch were enough to fix this bug before. There coud be some offsets now. I didnt test.
https://bugs.winehq.org/show_bug.cgi?id=22210
--- Comment #7 from Andrey Gusev andrey.goosev@gmail.com --- War Thunder Launcher 1.0.3.35 crashes at the end of installation with 'IPropertyStore::SetValue(PKEY_AppUserModel_PreventPinning) failed; code 0x80004001.'
wine-2.16-105-g19d57982ec
https://bugs.winehq.org/show_bug.cgi?id=22210
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |44744
https://bugs.winehq.org/show_bug.cgi?id=22210
GG gillg02@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gillg02@hotmail.com
--- Comment #8 from GG gillg02@hotmail.com --- As said here, I made a test returning S_OK instead of E_NOTIMPL in stub method, and it works for me (with another application than HTML-Kit tools).
See https://bugs.winehq.org/show_bug.cgi?id=44744#c12
https://bugs.winehq.org/show_bug.cgi?id=22210
--- Comment #9 from Gijs Vermeulen gijsvrm@gmail.com --- The original issue of this bug was fixed a long time ago with: https://source.winehq.org/git/wine.git/commit/aeda103769fa677bbbf8793b3dd2ca...
Based on Comment #10 the next issue is now tracked in bug 44866. (propertystore_SetValue and propertystore_Commit being stubs)
https://bugs.winehq.org/show_bug.cgi?id=22210
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |aeda103769fa677bbbf8793b3dd | |2cab617cb32bd Status|NEW |RESOLVED
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
resolving fixed as per comment #9
Regards
https://bugs.winehq.org/show_bug.cgi?id=22210
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.7.