[Bug 36633] Windows 7 USB/DVD download tool fails on startup, reporting 'Administrative privileges not sufficient'
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jun 2 14:28:44 CDT 2014
http://bugs.winehq.org/show_bug.cgi?id=36633
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |download
URL| |http://www.microsoftstore.c
| |om/store/msusa/html/pbPage.
| |Help_Win7_usbdvd_dwnTool
CC| |focht at gmx.net
Summary|Administrative privileges |Windows 7 USB/DVD download
|not sufficient |tool fails on startup,
| |reporting 'Administrative
| |privileges not sufficient'
--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello,
I can't reproduce this, the app starts fine here (after working around several
other bugs).
Did you install MS .NET Framework 2.0 or Mono (default)?
Microsoft provided the C# source code for the .NET app with the installation
here:
--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/Local Settings/Application
Data/Apps/Windows 7 USB DVD Download Tool
$ unzip -l wudtsource.zip
Archive: wudtsource.zip
Length Date Time Name
--------- ---------- ----- ----
1286 12-08-2009 16:55 README
0 11-23-2009 16:08 dmcicons/
1685 11-20-2009 10:46 dmcicons/app.rc
2171 11-18-2009 12:55 dmcicons/AssemblyInfo.cpp
4568 11-20-2009 10:47 dmcicons/dmcicons.vcproj
86272 01-25-2009 11:17 dmcicons/wudt.ico
0 12-08-2009 16:56 Install/
1072 11-20-2009 14:34 Install/CreateLocalizedInstallers.cmd
3145 12-08-2009 17:43 Install/Install.wixproj
9593 12-08-2009 17:37 Install/Product.wxs
1475 12-02-2009 15:04 Install/ProductStrings.de-DE.wxl
69278 11-23-2009 12:30 Install/ProductStrings.en-AU.wxl
69278 11-23-2009 12:30 Install/ProductStrings.en-GB.wxl
1284 12-02-2009 15:02 Install/ProductStrings.en-US.wxl
1394 12-02-2009 15:01 Install/ProductStrings.es-ES.wxl
1376 12-02-2009 15:01 Install/ProductStrings.fr-FR.wxl
1448 12-02-2009 15:00 Install/ProductStrings.it-IT.wxl
1603 12-02-2009 14:59 Install/ProductStrings.ja-JP.wxl
69435 12-02-2009 14:59 Install/ProductStrings.ko-KR.wxl
1412 12-02-2009 15:03 Install/ProductStrings.nl-NL.wxl
0 11-23-2009 16:10 IoWrapper/
11770 11-16-2009 12:33 IoWrapper/dutil.cpp
10815 11-16-2009 12:37 IoWrapper/dutil.h
4389 12-01-2009 15:56 IoWrapper/IoWrapper.vcproj
2467 11-16-2009 12:32 IoWrapper/memutil.cpp
1662 11-16-2009 12:33 IoWrapper/memutil.h
1526 11-19-2009 16:45 IoWrapper/precomp.h
47978 11-16-2009 12:33 IoWrapper/strutil.cpp
5102 11-16-2009 12:33 IoWrapper/strutil.h
10888 12-02-2009 13:42 IoWrapper/UsbIOWrapper.cpp
1342 11-23-2009 13:42 IoWrapper/UsbIOWrapper.h
0 12-08-2009 17:22 ISOTool/
646 10-06-2009 15:36 ISOTool/app.manifest
18328 11-16-2009 14:21 ISOTool/COPYING
0 12-08-2009 16:57 ISOTool/DriveService/
1727 11-19-2009 10:21 ISOTool/DriveService/BootloaderException.cs
9426 11-20-2009 14:49 ISOTool/DriveService/DriveService.cs
13945 12-08-2009 18:07 ISOTool/DriveService/DvdDriveService.cs
2545 11-16-2009 12:42 ISOTool/DriveService/IDriveService.cs
10968 11-23-2009 15:37 ISOTool/DriveService/UsbDriveService.cs
5721 11-16-2009 12:40 ISOTool/ImageButton.cs
...
--- snip ---
The code snippet 'Program.cs':
--- snip ---
[STAThread]
private static void Main()
{
// Verify the user is running under admin priveleges
WindowsIdentity identity = WindowsIdentity.GetCurrent();
WindowsPrincipal principal = identity != null ? new
WindowsPrincipal(identity) : null;
if (principal == null ||
!principal.IsInRole(WindowsBuiltInRole.Administrator))
{
MessageBox.Show(
Properties.Resources.RequireAdmin,
Properties.Resources.ToolTitle,
MessageBoxButtons.OK,
MessageBoxIcon.None,
MessageBoxDefaultButton.Button1,
0);
return;
}
...
--- snip ---
Likely related to Lsa (NTAccount) API.
$ sha1sum Windows7-USB-DVD-tool.exe
ed1108a525066d1f850023cb5bfa05fc4ed21983 Windows7-USB-DVD-tool.exe
$ du -sh Windows7-USB-DVD-tool.exe
2.6M Windows7-USB-DVD-tool.exe
$ wine --version
wine-1.7.19-70-gd6a59f7
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