[Bug 36633] Windows 7 USB/DVD download tool (.NET 2.0 app) fails on startup, reporting 'Administrative privileges not sufficient'
WineHQ Bugzilla
wine-bugs at winehq.org
Thu Jan 14 12:13:32 CST 2021
https://bugs.winehq.org/show_bug.cgi?id=36633
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |dotnet
URL|http://www.microsoftstore.c |https://web.archive.org/web
|om/store/msusa/html/pbPage. |/20130403085818/http://imag
|Help_Win7_usbdvd_dwnTool |es2.store.microsoft.com/pro
| |d/clustera/framework/w7udt/
| |1.0/en-us/windows7-usb-dvd-
| |tool.exe
--- Comment #7 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
adding stable links via Internet Archive for documentation:
Windows 7 USB/DVD download tool:
https://web.archive.org/web/20130403085818/http://images2.store.microsoft.com/prod/clustera/framework/w7udt/1.0/en-us/windows7-usb-dvd-tool.exe
Image Mastering API v2.0 (IMAPIv2.0) for Windows XP (KB932716)(Microsoft
Download Center):
https://web.archive.org/web/20151006211426/http://download.microsoft.com/download/3/a/2/3a2deb62-2bc7-4069-aae5-55eadf9927a1/WindowsXP-KB932716-v2-x86-ENU.exe
---
I've run a small C# app (from my comment #3) against Wine versions from that
time but never encountered the error message. It crashes on some Wine releases
but these were different problems.
Install .NET Framework SDK 2.0 for C# compiler:
'winetricks -q dotnet20sdk'
Create a text file 'bug36633.cs' with following content:
--- snip ---
using System;
using System.Security.Principal;
namespace bug36633
{
class Program
{
static void Main(string[] args)
{
WindowsIdentity identity = WindowsIdentity.GetCurrent();
WindowsPrincipal principal = identity != null ? new
WindowsPrincipal(identity) : null;
if (principal == null ||
!principal.IsInRole(WindowsBuiltInRole.Administrator))
{
Console.WriteLine("Not detected as administrator (problem).");
}
else
{
Console.WriteLine("Detected as administrator (ok).");
}
}
}
}
--- snip ---
Compile it to .NET executable using the SDK C# compiler.
--- snip ---
$ wine "C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\csc.exe" /debug+
bug36633.cs
...
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
...
--- snip ---
Automated poor man's testing against a range of Wine versions.
Prerequisite: disable JIT debugger
--- snip ---
$ wine reg add "HKLM\\Software\\Microsoft\\.NETFramework" \
/v DbgJITDebugLaunchSetting /t REG_DWORD /d 1 /f
--- snip ---
Using 'winetricks autostart_winedbg=enabled nocrashdialog' to ensure default
crash handler is always Wine and remains non-interactive.
--- snip ---
$ for ver in 1.4 1.6 1.7.{0..54} ; do (echo "#####" ;\
wine_register_path $ver ;\
wineboot -u &> /dev/null ;\
winetricks autostart_winedbg=enabled nocrashdialog &> /dev/null ;\
WINEDEBUG=-all wine ./bug36633.exe 2>&1 | egrep "(admin|debugger)" ;\
wineserver -w) ;\
done
#####
Active Wine version: wine-1.4
Detected as administrator (ok).
#####
Active Wine version: wine-1.6
Detected as administrator (ok).
#####
Active Wine version: wine-1.7.0
Detected as administrator (ok).
#####
Active Wine version: wine-1.7.1
wine: Unhandled exception 0xe0434f4d in thread 27 at address 0x7b83781e (thread
0027), starting debugger...
#####
Active Wine version: wine-1.7.2
wine: Unhandled exception 0xe0434f4d in thread 27 at address 0x7b83779e (thread
0027), starting debugger...
#####
Active Wine version: wine-1.7.3
wine: Unhandled exception 0xe0434f4d in thread 36 at address 0x7b83779e (thread
0036), starting debugger...
#####
Active Wine version: wine-1.7.4
wine: Unhandled exception 0xe0434f4d in thread 36 at address 0x7b83779e (thread
0036), starting debugger...
#####
Active Wine version: wine-1.7.5
wine: Unhandled exception 0xe0434f4d in thread 36 at address 0x7b83779e (thread
0036), starting debugger...
#####
Active Wine version: wine-1.7.6
wine: Unhandled exception 0xe0434f4d in thread 36 at address 0x7b83779e (thread
0036), starting debugger...
#####
Active Wine version: wine-1.7.7
Detected as administrator (ok).
#####
Active Wine version: wine-1.7.8
Detected as administrator (ok).
#####
Active Wine version: wine-1.7.9
Detected as administrator (ok).
#####
Active Wine version: wine-1.7.10
Detected as administrator (ok).
#####
Active Wine version: wine-1.7.11
Detected as administrator (ok).
#####
Active Wine version: wine-1.7.12
wine: Unhandled exception 0xe0434f4d in thread 35 at address 0x7b8377be (thread
0035), starting debugger...
#####
Active Wine version: wine-1.7.13
wine: Unhandled exception 0xe0434f4d in thread 35 at address 0x7b8377be (thread
0035), starting debugger...
#####
Active Wine version: wine-1.7.14
wine: Unhandled exception 0xe0434f4d in thread 35 at address 0x7b8377ce (thread
0035), starting debugger...
#####
Active Wine version: wine-1.7.15
wine: Unhandled exception 0xe0434f4d in thread 45 at address 0x7b8377ee (thread
0045), starting debugger...
#####
Active Wine version: wine-1.7.16
wine: Unhandled exception 0xe0434f4d in thread 45 at address 0x7b83782e (thread
0045), starting debugger...
#####
Active Wine version: wine-1.7.17
wine: Unhandled exception 0xe0434f4d in thread 45 at address 0x7b83786e (thread
0045), starting debugger...
#####
Active Wine version: wine-1.7.18
wine: Unhandled exception 0xe0434f4d in thread 45 at address 0x7b83786e (thread
0045), starting debugger...
#####
Active Wine version: wine-1.7.19
wine: Unhandled exception 0xe0434f4d in thread 45 at address 0x7b83786e (thread
0045), starting debugger...
#####
Active Wine version: wine-1.7.20
wine: Unhandled exception 0xe0434f4d in thread 45 at address 0x7b83788e (thread
0045), starting debugger...
#####
Active Wine version: wine-1.7.21
Detected as administrator (ok).
#####
Active Wine version: wine-1.7.22
Detected as administrator (ok).
#####
Active Wine version: wine-1.7.23
Detected as administrator (ok).
...
#####
Active Wine version: wine-1.7.53
Detected as administrator (ok).
#####
Active Wine version: wine-1.7.54
Detected as administrator (ok).
--- snip ---
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