[Bug 37781] New: MS .NET Framework 4.5 installer displays warning 'Setup may not run properly, because the Windows Update Service is not available on this computer'

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 25 13:00:56 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=37781

            Bug ID: 37781
           Summary: MS .NET Framework 4.5 installer displays warning
                    'Setup may not run properly, because the Windows
                    Update Service is not available on this computer'
           Product: Wine
           Version: 1.7.33
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: programs
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

mentioned here: https://bugs.winehq.org/attachment.cgi?id=50320&action=edit

Actually not an issue (StopBlocker vs. WarnBlocker), so this is just for
reference.

Installer log shows:

--- snip ---
Logging all the global blocks
Pre-Installation Warnings:
  1. Setup may not run properly, because the Windows Update Service is not
available on this computer.
  2. Setup may not run properly, because the Windows Modules Installer Service
is not available on this computer.
--- snip ---

Resource XML:

--- snip ---
<Text ID="#(loc.Blocker_WUServiceMissing)" LocalizedText="Setup may not run
properly, because the Windows Update Service is not available on this
computer." />--- snip ---
<Text ID="#(loc.Blocker_TIServiceMissing)" LocalizedText="Setup may not run
properly, because the Windows Modules Installer Service is not available on
this computer." />
--- snip ---

'ParameterInfo.xml' tells the conditions to be evaluated:


--- snip ---
    <WarnBlockers>
...
      <BlockIf DisplayText="#(loc.Blocker_WUServiceMissing)"
ID="WUServiceMissing">
        <Not>
          <Exists>
            <Service ShortName="wuauserv" />
          </Exists>
        </Not>
      </BlockIf>
      <BlockIf DisplayText="#(loc.Blocker_TIServiceMissing)"
ID="TIServiceMissing">
        <Not>
          <Exists>
            <Service ShortName="TrustedInstaller" />
          </Exists>
        </Not>
      </BlockIf>
...
    </WarnBlockers>
--- snip ---

Trace log:

--- snip ---
0026:Call advapi32.OpenServiceW(001f6740,0019ab10 L"wuauserv",00000005)
ret=10032c6c 
...
0026:Ret  advapi32.OpenServiceW() retval=00000000 ret=10032c6c 
0026:Call KERNEL32.GetLastError() ret=10032c7d
0026:Ret  KERNEL32.GetLastError() retval=00000424 ret=10032c7d
...
--- snip ---

--- snip ---
...
0026:Call advapi32.OpenServiceW(00ddbb98,0019b068 L"TrustedInstaller",00000005)
ret=10032c6c 
...
0026:Ret  advapi32.OpenServiceW() retval=00000000 ret=10032c6c
0026:Call KERNEL32.GetLastError() ret=10032c7d
0026:Ret  KERNEL32.GetLastError() retval=00000424 ret=10032c7d 
--- snip ---

Having those services in Wine is kind of pointless (and potentially harmful)
since Wine can't be serviced Windows updates (binaries) by design.

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