https://bugs.winehq.org/show_bug.cgi?id=47405
Bug ID: 47405 Summary: Windows 7 Updates Installer batch script: 'Run as administrator' Product: Wine Version: 1.8.7 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: mcluskyism@alice.it Distribution: ---
Created attachment 64753 --> https://bugs.winehq.org/attachment.cgi?id=64753 WINEDEBUG=+relay,+seh,+tid wine cmd /c WHD-W7UI.cmd >> output.txt 2>&1
From FAQ - WineHQ Wiki "As far as Windows programs are concerned, you are
running with administrator privileges. If an application complains about a lack of administrator privileges, file a bug;" My first time on Bugzilla, please be kind. This script refuses to work, claiming administrator privileges.
https://github.com/abbodi1406/WHD/blob/master/scripts/WHD-W7UI_4.9.zip sha1sum WHD-W7UI_4.9.zip 72cfd597e76ec5442ebbf46641702b0367e83e3d WHD-W7UI_4.9.zip
wine --version wine-1.8.7 (Debian 1.8.7-2)
uname -a Linux atmyhome 4.9.0-9-686-pae #1 SMP Debian 4.9.168-1+deb9u3 (2019-06-16) i686 GNU/Linux
wine cmd /c WHD-W7UI.cmd &> log.txt
============================================================ ERROR: right click on the script and 'Run as administrator' ============================================================
Press any key to exit.
https://bugs.winehq.org/show_bug.cgi?id=47405
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- set _reg=%windir%\system32\reg.exe %_reg% query "HKU\S-1-5-19" 1>nul 2>nul || goto :E_Admin
It wants the key S-1-5-19 to exist, which Wine currently doesn't create. Then it runs into bug 32679.
https://bugs.winehq.org/show_bug.cgi?id=47405
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- By the way, you probably want to update your Wine version, even though it won't help with this bug. 1.8.7 is ancient.
https://bugs.winehq.org/show_bug.cgi?id=47405
--- Comment #3 from federico segato mcluskyism@alice.it --- Thank you Zebediah for your effort. You know, I'm on Debian Stable, so nothing is "bleeding edge". Maybe I could try with Debian wine-development release, I read something about issuing wine runas /trustlevel: I hope it could help myself.
https://bugs.winehq.org/show_bug.cgi?id=47405
--- Comment #4 from Zebediah Figura z.figura12@gmail.com --- (In reply to federico segato from comment #3)
Thank you Zebediah for your effort. You know, I'm on Debian Stable, so nothing is "bleeding edge". Maybe I could try with Debian wine-development release, I read something about issuing wine runas /trustlevel: I hope it could help myself.
No, that won't help either. "runas" is a stub, and it has nothing to do with the bug here.
https://bugs.winehq.org/show_bug.cgi?id=47405
--- Comment #5 from federico segato mcluskyism@alice.it --- (In reply to Zebediah Figura from comment #4)
No, that won't help either. "runas" is a stub, and it has nothing to do with the bug here.
Ok, so I'm blocked ATM
https://bugs.winehq.org/show_bug.cgi?id=47405
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- What exactly are you hoping to accomplish by running this script?
https://bugs.winehq.org/show_bug.cgi?id=47405
federico segato mcluskyism@alice.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian
https://bugs.winehq.org/show_bug.cgi?id=47405
--- Comment #7 from federico segato mcluskyism@alice.it --- (In reply to Zebediah Figura from comment #6)
What exactly are you hoping to accomplish by running this script?
It is a script to help download Windows 7 KB hotfixes, it is intended to run in parallel with another Win application called WHDownloader. Here's WHDownloader https://forums.mydigitallife.net/threads/whdownloader-support-and-chat.44645... and it seems to work smooth if left alone. The script comes from another coder (abbodi1406) who also keeps update the Seven list for the WHDownloader https://forums.mydigitallife.net/threads/windows-7-hotfix-repository.19461/ and https://forums.mydigitallife.net/threads/abbodi1406s-batch-scripts-repo.7419...
https://bugs.winehq.org/show_bug.cgi?id=47405
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- Yes, but what are you trying to accomplish by installing updates for Windows?
https://bugs.winehq.org/show_bug.cgi?id=47405
--- Comment #9 from federico segato mcluskyism@alice.it --- (In reply to Zebediah Figura from comment #8)
Yes, but what are you trying to accomplish by installing updates for Windows?
Of course, I'm trying to perform a Windows 7 ISO slipstreaming, into my Debian box using Wine and Windows softwares like NTLite (who doesn't work at all in Wine). And then I will use this ISO to perform a clean and up-to-date Seven reinstall on a old netbook without OS.