[Bug 16878] New: .NET 3.0: XPSEPSC installer fails due to missing ntoskrnl.exe placeholder and version resource

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 11 05:05:42 CST 2009


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

           Summary: .NET 3.0: XPSEPSC installer fails due to missing
                    ntoskrnl.exe placeholder and version resource
           Product: Wine
           Version: 1.1.12
          Platform: Other
               URL: http://www.microsoft.com/downloads/details.aspx?FamilyID
                    =10cc340b-f857-4a14-83f5-25634c3bf043
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ntoskrnl
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net


Hello,

NOTE: bug 16875 which covers two issues in setupapi.SetupGetTargetPathW needs
to be properly fixed for *both* cases, see "update.inf" snippet which is part
of this bug report.

After bug 16875 (and 16876) are fixed, the installer fails:

"c:\\windows\\temp\\dd_dotnetfx3error.txt":

--- snip ---
[01/11/09,11:36:24] Microsoft .NET Framework 2.0: [2] Error: Installation
failed for component Microsoft .NET Framework 2.0. MSI returned error code 1603
[01/11/09,11:36:37] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0
is not installed.
[01/11/09,11:36:37] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0
was not attempted to be installed.
--- snip ---

"c:\\windows\\temp\\dd_dotnetfx3install.txt":

--- snip ---
[01/11/09,11:36:37] WapUI: Return for RGB Rast indicates a successful
installation. DepCheck indicates the component is installed.
[01/11/09,11:36:37] WapUI: Return for MSXML 6.0 Parser indicates a successful
installation. DepCheck indicates the component is installed.
[01/11/09,11:36:37] WapUI: Return for WIC Installer indicates a successful
installation. DepCheck indicates the component is installed.
[01/11/09,11:36:37] WapUI: DepCheck indicates Microsoft .NET Framework 2.0 is
not installed.
--- snip ---

Obviously bug 12401 (which I have analyzed in bug 10601).

So the prerequisite expands.

1. clean WINEPREFIX
2. sh winetricks -q dotnet20
3. download .NET 3.0 Framework installer from: http://download.microsoft.com
/download/4/d/a/4da3a5fa-ee6a-42b8-8bfa-ea5c4a458a7d/dotnetfx3setup.exe
(sha1sum: 
a566bcd2ffffc3842a95adc57f7df3f8cd11577f)
4. export _SFX_CAB_SHUTDOWN_REQUEST=1 (workaround, see bug 9158)
5. wine ./dotnetfx3setup.exe

It might take a while until all required packages are downloaded using BITS.

Note: If you need to redo steps, backup the directory "dotnetfx304506.30" from
"c:\\windows\\temp" to a different location, remove ~/.wine, copy
"dotnetfx304506.30" again to "c:\\windows\\temp" to prevent BITS from
downloading over and over again.

After applying prerequisite the installer fails again:

"c:\\windows\\temp\\dd_dotnetfx3error.txt":

--- snip ---
[01/11/09,11:53:13] XPSEPSC x86 Installer: [2] Error code 1603 for this
component means "ERROR_INSTALL_FAILURE
"
[01/11/09,11:53:13] XPSEPSC x86 Installer: [2] Setup Failed on component
XPSEPSC x86 Installer
[01/11/09,11:53:24] WapUI: [2] DepCheck indicates XPSEPSC x86 Installer is not
installed.
--- snip ---

"c:\\windows\\temp\\dd_XPS.txt":

--- snip ---
[dd_XPS.txt]
0.007:
================================================================================
0.008: 2009/01/11 11:53:12.167 (local)
0.009: C:\a71b96a363115310c46014e60bbc1d36\update\update.exe (version 6.2.29.0)
0.009: Hotfix started with following command line: /quiet /norestart
/log:C:\windows\temp\dd_XPS.txt 
0.009: GetKernelType: GetInternalFilename failed
0.552: In Function TestVolatileFlag, line 11873, RegOpenKeyEx failed with error
0x2
0.552: In Function TestVolatileFlag, line 11905, RegOpenKeyEx failed with error
0x2
0.552: DoInstallation: CleanPFR failed: 0x2 
0.553: SetProductTypes: InfProductBuildType=BuildType.IP
0.554: SetAltOsLoaderPath: No section uses DirId 65701; done.
0.554: RegisterDll: Executing command line: "C:\windows\system32\regsvr32.exe"
/s "C:\windows\system32\licdll.dll" ...
0.634: RegisterDll: Exit code=0x00000001
0.634: RegisterDll: Executing command line: "C:\windows\system32\regsvr32.exe"
/s "C:\windows\system32\regwizc.dll" ...
0.712: RegisterDll: Exit code=0x00000001
0.713: Unexpected Error While Executing Line 1 ( Condition.Requirement ) of
W2K.Condition 
0.713: ExConditionalEvaluateSection: Syntax error in 'Condition' key of section
W2K.Condition.
0.713: DoInstallation:  Error 0xf00c while evaluating extended conditional
section [ProductInstall.ExtendedConditional].
0.713: CleanupTrustedInfFile: GetFileAttributes for
C:\windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\update.cat
failed: 0x2
0.714: The XpsEPSC c:\a71b96a363115310c46014e60bbc1d36\update\update.inf file
is not correct.
0.714: Update.exe extended error code = 0xf00c
0.714: Update.exe return code was masked to 0x643 for MSI custom action
compliance.
--- snip ---

Relevant "update.inf":

--- snip ---
...
[ProductInstall.ExtendedConditional]
ConditionInstall=W2K.Condition

[W2K.Condition]
Condition = SingleOp, Condition.Requirement
ConditionalOperations=Install.Not2k

[Condition.Requirement]
GreatOrEqualOp=CheckFilever, System32.files, ntoskrnl.exe, >=, 5.1.0.0
...
[DestinationDirs]
Copy.System32=11
Copy.System32.not2k=11
Copy.PrintProc=55
Copy.dllcache=65619
Copy.dllcache.not2k=65619
--- snip ---

Adding version resource to ntoskrnl.exe alone is not sufficient, a placeholder
needs to be present in system32:

--- snip ---
0028:Call KERNEL32.FindFirstFileA(0033ac3c
"C:\\windows\\system32\\ntoskrnl.exe",0033a18c) ret=0106da6d
0028:Ret  KERNEL32.FindFirstFileA() retval=ffffffff ret=0106da6d
0028:Call KERNEL32.GetLastError() ret=0106b894
0028:Ret  KERNEL32.GetLastError() retval=00000002 ret=0106b894
...
0028:Call msvcrt._vsnprintf(0033a967,000007f7,01027e3c "Unexpected Error While
Executing Line %d ( %ws ) of %ws \n",0033b198) ret=0106b900
--- snip ---

After fixing this problem the condition is satisfied.

Regards


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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