https://bugs.winehq.org/show_bug.cgi?id=39986
Bug ID: 39986 Summary: Smartflix (to access Netflix) gives an error - setup does not start Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: thierry.salmon@gmail.com Distribution: ---
Created attachment 53425 --> https://bugs.winehq.org/attachment.cgi?id=53425 file created after Smartlix crashed
When starting Smartflix (to access Netflix), I get this error. See attachment.
wine SmartflixSetup.exe
https://bugs.winehq.org/show_bug.cgi?id=39986
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|advapi32 |-unknown Version|unspecified |1.6.2 Severity|blocker |normal
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Please upgrade to 1.8 or 1.9 first, your version 1.6.2 is very old.
https://bugs.winehq.org/show_bug.cgi?id=39986
--- Comment #2 from Thierry Salmon thierry.salmon@gmail.com --- Hi,
Thanks for your answer. It was definitly the first thing to do.
I got an error that I was using Windows XP. So I configured wine to emulate Windows 7.
But then I got a pop up "installation has failed". wine SmartflixSetup.exe fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevationType, ...) semi-stub fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20 err:wininet:open_http_connection create_netconn failed: 12029 fixme:urlmon:DownloadBSC_OnStopBinding No cache file fixme:commctrl:TaskDialogIndirect 0x33dd70, 0x33ddd4, (nil), (nil) fixme:commctrl:TaskDialogIndirect dwCommonButtons=0 uType=0 ret=1
OK, I can live without it! :-)
https://bugs.winehq.org/show_bug.cgi?id=39986
--- Comment #3 from Austin English austinenglish@gmail.com --- What wine version are you now using? Was the crash issue fixed in the new version (it looks like it was)?
You could try winetricks wininet for that issue, might help.
https://bugs.winehq.org/show_bug.cgi?id=39986
--- Comment #4 from Thierry Salmon thierry.salmon@gmail.com --- I have now wine-1.9.1. The new version fixed the crash. The installation still doesn't work but it is cleaner, I get a pop up window displaying an error message. I din't get it with the older version of wine.
I just tried "winetricks wininet". But it didn't make a difference.
https://bugs.winehq.org/show_bug.cgi?id=39986
marco.brieden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marco.brieden@gmail.com
--- Comment #5 from marco.brieden@gmail.com --- Created attachment 54187 --> https://bugs.winehq.org/attachment.cgi?id=54187 Output of wine SmartflixSetup.exe
https://bugs.winehq.org/show_bug.cgi?id=39986
--- Comment #6 from marco.brieden@gmail.com --- bug still present in wine-1.9.7 (Staging)
SmartflixSetup.exe crashes instantly without opening any windows or popups
https://bugs.winehq.org/show_bug.cgi?id=39986
--- Comment #7 from marco.brieden@gmail.com --- Link to the program (it is hidden when browsing to site in Linux):
https://releases-cdn.smartflix.io/win/SmartflixSetup.exe?version=1.3.1&f...
https://bugs.winehq.org/show_bug.cgi?id=39986
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #8 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Created attachment 54189 --> https://bugs.winehq.org/attachment.cgi?id=54189 stupid hack to get installer a tiny bit futher
In debuglog there`s an interesting line just before the messagebox appears:
003b:Call KERNEL32.lstrlenW(00423cd0 L"Please re-run this installer as a normal user instead of "Run as Administrator".")
I attached a stupid hack to get at least the installerwindow up, but unfortunately it crashes a bit further on. Sidenote: the app needs .net 4.0 apparently.
My guess is something is going wrong somewhere in calls below:
003b:Call advapi32.OpenProcessToken(ffffffff,00000008,0033ddd8) ret=00406016 003b:Ret advapi32.OpenProcessToken() retval=00000001 ret=00406016 003b:Call advapi32.GetTokenInformation(00000064,00000012,0033dde0,00000004,0033dddc) ret=0040602f 003b:trace:advapi:GetTokenInformation (0x64, Unknown, 0x33dde0, 4, 0x33dddc): 003b:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevationType, ...) semi-stub 003b:Ret advapi32.GetTokenInformation() retval=00000001 ret=0040602f
https://bugs.winehq.org/show_bug.cgi?id=39986
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #9 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- The crash i talked about in previous comment seems to come from starting the application itself.
The app seems to be in installed (in drive_c/users/louis/Local Settings/Application Data/smartflix), so the setup seems to have succeeded
https://bugs.winehq.org/show_bug.cgi?id=39986
--- Comment #10 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Hi, I got Smartflix running using the recipe Michael Muller gave in https://bugs.winehq.org/show_bug.cgi?id=40613#c3
Here`s how it works for Smartflix (I copy/paste this from Michael`s comment and I changed what you need here): ............................................................................... 1. Apply NtQueryInformationToken hack *** 2. Install .NET (winetricks dotnet452) 3. Start the Smartflix installer and let it crash (The installer executes a .NET application which will not work in Wine with windows version set >= XP, .NET tries to use uiautomationcore.dll on newer versions.) 4. Set the windows version back to XP. 5. Install the 2010 and 2013 VC runtime (winetricks vcrun2013 vcrun2010) 6. Create a copy of msvcr100.dll and name it msvcr100_clr0400.dll in system32 7. Go to drive_c/users/$USER/Local Settings/Application Data/Smartflix/app-1.3.1 8. Run Smartflix.exe --squirrel-install 1.3.1
Now you can run Smartflix.exe without parameters and it should work. ............................................................................... *** hack: diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index 47d7b31..2ad44dd 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -504,7 +504,7 @@ NTSTATUS WINAPI NtQueryInformationToken( { TOKEN_ELEVATION_TYPE *elevation_type = tokeninfo; FIXME("QueryInformationToken( ..., TokenElevationType, ...) semi-stub\n"); - *elevation_type = TokenElevationTypeFull; + *elevation_type = TokenElevationTypeDefault;//TokenElevationTypeFull; } break; case TokenElevation:
https://bugs.winehq.org/show_bug.cgi?id=39986
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED
--- Comment #11 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- I`ll add the above howto to Appdb.
For now, as this is really a duplicate off bug 40613, i will resolve this as such.
*** This bug has been marked as a duplicate of bug 40613 ***
https://bugs.winehq.org/show_bug.cgi?id=39986
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- Closing duplicate bugs.