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: