[Bug 35927] Win Toolkit v.1.4.37.20 (.NET 3.5 app) fails with Mono (says it needs administrative privileges)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Apr 5 13:46:30 CDT 2014


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
                URL|                            |http://www.softpedia.com/pr
                   |                            |ogDownload/Windows-7-Toolki
                   |                            |t-Download-181550.html
                 CC|                            |focht at gmx.net
          Component|-unknown                    |mscoree
            Summary|Win Toolkit v.1.4.37.20     |Win Toolkit v.1.4.37.20
                   |requires administrative     |(.NET 3.5 app) fails with
                   |privilegies on startup.     |Mono (says it needs
                   |                            |administrative privileges)

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello Alexey,

--- quote ---
I tried to login as root and run wine, but this error still present.
--- quote ---

A message from a Windows application, stating 'requires administrative
privileges' has nothing to do with root privileges on Linux.

NEVER run Wine as root (su, sudo)! Wine doesn't require to be run as root.
You will screw your WINEPREFIX and possibly other things up.
If you have run Wine as root you need to:

--- snip ---
$ sudo rm -rf ~/.wine­­
--- snip ---

and then recreate the WINEPREFIX as normal user by reinstalling the app and
rerunning winetricks recipes.
If you used 'winetricks' script as root you might also need to:

--- snip ---
$ sudo rm -rf ~/.cache/winetricks/ 
--- snip ---

Again: Despite what an application says about 'administrative privileges' -
always run Wine as regular user.

The app needs at least .NET Framework 3.5 installed.
You could try with recent Wine 1.7.x version which ships newer Mono 4.5.x

If that doesn't work install native .NET -> 'winetricks -q dotnet35'

Additionally the app needs Deployment Image Servicing and Management (DISM)
tool installed, it searches for it:

--- snip ---
...
0023:Call KERNEL32.GetFullPathNameW(0033e4ec
L"C:\\windows\\System32\\Dism.exe",00000105,0033e2e0,00000000) ret=0037a1e7
0023:Ret  KERNEL32.GetFullPathNameW() retval=0000001c ret=0037a1e7 
...
0023:Call KERNEL32.GetFullPathNameW(0033e4ec L"C:\\Program Files\\Windows
Kits\\8.1\\Assessment and Deployment Kit\\Deployment
Tools\\x86\\DISM\\dism.exe",00000105,0033e2e0,00000000) ret=0037a1e7
0023:Ret  KERNEL32.GetFullPathNameW() retval=00000062 ret=0037a1e7
...
0023:Call KERNEL32.GetFullPathNameW(0033e4ec L"C:\\Program Files\\Windows
Kits\\8.0\\Assessment and Deployment Kit\\Deployment
Tools\\x86\\DISM\\dism.exe",00000105,0033e2e0,00000000) ret=0037a1e7
0023:Ret  KERNEL32.GetFullPathNameW() retval=00000062 ret=0037a1e7
...
0023:Call KERNEL32.GetFullPathNameW(0033e4ec L"C:\\Program Files (x86)\\Windows
Kits\\8.1\\Assessment and Deployment Kit\\Deployment
Tools\\amd64\\DISM\\dism.exe",00000105,0033e2e0,00000000) ret=0037a1e7
0023:Ret  KERNEL32.GetFullPathNameW() retval=0000006a ret=0037a1e7
...
0023:Call KERNEL32.GetFullPathNameW(0033e4ec L"C:\\Program Files (x86)\\Windows
Kits\\8.0\\Assessment and Deployment Kit\\Deployment
Tools\\amd64\\DISM\\dism.exe",00000105,0033e2e0,00000000) ret=0037a1e7
0023:Ret  KERNEL32.GetFullPathNameW() retval=0000006a ret=0037a1e7
...
0023:Call KERNEL32.GetFullPathNameW(0033e4ec L"C:\\Program Files\\Windows
AIK\\Tools\\Servicing\\Dism.exe",00000105,0033e2e0,00000000) ret=0037a1e7
0023:Ret  KERNEL32.GetFullPathNameW() retval=00000035 ret=0037a1e7
...
0023:Call KERNEL32.GetFullPathNameW(0033e4ec L"C:\\Program Files\\Windows
AIK\\Tools\\x86\\Servicing\\Dism.exe",00000105,0033e2e0,00000000) ret=0037a1e7
0023:Ret  KERNEL32.GetFullPathNameW() retval=00000039 ret=0037a1e7
--- snip ---

MSDN: http://technet.microsoft.com/en-us/library/dd744256%28WS.10%29.aspx

DISM is part of Windows 7+ .. but one can download it separately.

Download: http://www.microsoft.com/en-us/download/details.aspx?id=5188
("Windows Automated Installation Kit (AIK) Supplement for Windows 7 SP1)

I tested with native .NET and the app starts fine, showing main GUI.
NOTE: If the app requires to work with binary Windows registry formats
(registry hives) at some point this won't work anyway.

Upgrade to recent Wine 1.7.x and run the app with _clean_ (new!) WINEPREFIX.
If you don't know how to do that, please visit WineHQ user forums
(http://forum.winehq.org/).

$ sha1sum WinToolkit_1.4.37.20.7z 
939222cba007c39445a4a42f85d5408e37c9cab3  WinToolkit_1.4.37.20.7z

$ du -sh WinToolkit_1.4.37.20.7z 
3.5M    WinToolkit_1.4.37.20.7z

$ wine --version
wine-1.7.16

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