http://bugs.winehq.org/show_bug.cgi?id=34803
Bug #: 34803 Summary: .NET Framework 2.0 SP2 refuses to install on top of .NET 2.0 SP1 (SBSDisabled registry key install blocker detected) Product: Wine Version: 1.7.5 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello folks,
some users reported this in Wine appdb entry for .NET Framework 2.0:
--- quote --- I can't .NET Framework 2.0 SP2 install 2.0 basic and SP1 its going normally, only have I problem SP2
Log: err:msi:ITERATE_Actions Execution halted, action L"DD_CA_InstallBlock_X86.3643236F_FC70_11D3_A536_0090278A1BB8" returned 1603 fixme:imm:ImmDisableIME (-1): stub err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
I searched here this solution, but i find not my Linux: Ubunt 12.04 LTS --- quote ---
--- quote --- I also am getting the same error but on ubuntu 13.10 and using
$ wine --version wine-1.7.4 --- quote ---
Indeed, .NET Framework 2.0 SP2 installer refuses to install on top of .NET Framework 2.0 SP1.
Relevant part of trace log:
--- snip --- ... 002f:trace:msi:ACTION_AppSearchReg L"SearchInstallBlock_____X86.3643236F_FC70_11D3_A536_0090278A1BB8" ... 002f:Call advapi32.RegOpenKeyW(80000002,00187208 L"SOFTWARE\Microsoft\.NETFramework\v2.0.50727\SBSDisabled",007ce548) ret=7dac04b9 002f:trace:reg:NtOpenKey (0x18,L"SOFTWARE\Microsoft\.NETFramework\v2.0.50727\SBSDisabled",2000000,0x7ce548) 002f:trace:reg:NtOpenKey <- 0xc8 002f:Ret advapi32.RegOpenKeyW() retval=00000000 ret=7dac04b9 ... 002f:Call advapi32.RegQueryValueExW(000000c8,00186ff0 L"Install",00000000,00000000,00000000,007ce544) ret=7dac0574 002f:trace:reg:RegQueryValueExW (0xc8,L"Install",(nil),(nil),(nil),0x7ce544=0) 002f:trace:reg:NtQueryValueKey (0xc8,L"Install",2,0x7ce380,12) 002f:Ret advapi32.RegQueryValueExW() retval=00000000 ret=7dac0574 ... 002f:trace:msi:msi_set_property 0x1650c0 L"DD_INSTALLBLOCKFOUND_X86.3643236F_FC70_11D3_A536_0090278A1BB8" L"1" -1 ... 002f:trace:msi:MSI_EvaluateConditionW L"( (NOT REMOVE) AND DD_INSTALLBLOCKFOUND_X86.3643236F_FC70_11D3_A536_0090278A1BB8 )" ... 002f:trace:msi:MSI_EvaluateConditionW 1 <- L"( (NOT REMOVE) AND DD_INSTALLBLOCKFOUND_X86.3643236F_FC70_11D3_A536_0090278A1BB8 )" 002f:trace:msi:ACTION_PerformAction Performing action (L"DD_CA_InstallBlock_X86.3643236F_FC70_11D3_A536_0090278A1BB8") ... 002f:trace:msi:ACTION_CustomAction Handling custom action L"DD_CA_InstallBlock_X86.3643236F_FC70_11D3_A536_0090278A1BB8" (13 (null) L"Setup cannot continue because this version of the .NET Framework is incompatible with a previously installed one. For more information, see http://support.microsoft.com/support/kb/articles/q312/5/00.asp") ... 002f:err:msi:ITERATE_Actions Execution halted, action L"DD_CA_InstallBlock_X86.3643236F_FC70_11D3_A536_0090278A1BB8" returned 1603 ... --- snip ---
The "SBSDisabled" -> "Install=1" key prevents this.
There are many MS KB and blog entries about .NET installers/updates refusing to install/uninstall in certain combinations so this might be even a limitation on Windows.
Though installing
.NET Framework 2.0 SP2 on top of .NET Framework 2.0 .NET Framework 2.0 SP2 on top of .NET Framework 3.5
works.
The installation can be forced by removing the key:
--- snip --- $ wine reg delete "HKLM\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\SBSDisabled" --- snip ---
Using the .NET Framework Setup Verification Tool from Aaron Stebner (Microsoft) which checks for proper installation of .NET assemblies and registry entries one can indeed see the forced installation of SP2 on top of SP1 was not proper: the test application crashes.
Website and download here: http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
.NET 2.0 SP1 and .NET 2.0 SP2 are validated successfully with the tool if they are installed independently on top of .NET 2.0
So this installer block might be really a valid limitation.
Maybe someone with a pristine Windows 2000/XP install (no .NET service packs) could try to install this combination: 2.0 SP1 + 2.0 SP2 and check if it exhibits the same error.
Regards
http://bugs.winehq.org/show_bug.cgi?id=34803
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download, Installer URL| |http://www.microsoft.com/en | |-us/download/details.aspx?i | |d=1639
http://bugs.winehq.org/show_bug.cgi?id=34803
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34803
--- Comment #1 from Austin English austinenglish@gmail.com --- Starting at windows xp with no service packs: installed windows installer 3.1 (needed by .Net's) .Net 2.0 - success XP SP2 - needed by .Net 20 sp1 - success .Net 20 sp1 - success
at this point, the registry key exist and Install is set to 1
.Net 20 sp2 - success
I then ran the verifier utility, which also reported success.
In wine, however, it fails to install: err:msi:ITERATE_Actions Execution halted, action L"DD_CA_InstallBlock_X86.3643236F_FC70_11D3_A536_0090278A1BB8" returned 1603
workaround: deleting the registry key.
https://bugs.winehq.org/show_bug.cgi?id=34803
--- Comment #2 from Austin English austinenglish@gmail.com --- Oh, a fun note that you may like..
the error dialog from .net 2.0 SP1 about missing XP sp2 says it is needed by .Net 3.5 ;)
https://bugs.winehq.org/show_bug.cgi?id=34803
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Austin,
it might be interesting to get a verbose MSI log (+voicewarmup -> http://support.microsoft.com/kb/314852) from your Windows machine for the .NET Framework 2.0 SP2 install part. Starting at the point where .NET Framework 2.0 SP1 got installed and the install blocker key (SBS) is present and set to '1'.
You might need to redo previous steps or restore to some earlier snapshot. I don't know if your Windows install can be rolled back without any trace of SP2 (files and registry).
Maybe it's some client-side vs. server-side MSI install thing again.
Regards
https://bugs.winehq.org/show_bug.cgi?id=34803
--- Comment #4 from Austin English austinenglish@gmail.com --- Created attachment 47881 --> https://bugs.winehq.org/attachment.cgi?id=47881 logs
I uninstalled .Net 2.0 SP2, which removed all of it at once. I reinstalled the whole thing, then activated logging at the last step. The registry key was present before sp2 install, and that install succeeded.
It's a vm, I have a snapshot I can revert to for a clean install if really needed, but those installs are time intensive..
https://bugs.winehq.org/show_bug.cgi?id=34803
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #4)
Created attachment 47881 [details] logs
I uninstalled .Net 2.0 SP2, which removed all of it at once. I reinstalled the whole thing, then activated logging at the last step. The registry key was present before sp2 install, and that install succeeded.
It's a vm, I have a snapshot I can revert to for a clean install if really needed, but those installs are time intensive..
Ping.
https://bugs.winehq.org/show_bug.cgi?id=34803
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME URL|http://www.microsoft.com/en |https://web.archive.org/web |-us/download/details.aspx?i |/20131212140804/https://dow |d=1639 |nload.microsoft.com/downloa | |d/c/6/e/c6e88215-0178-4c6c- | |b5f3-158ff77b1f38/NetFx20SP | |2_x86.exe Status|NEW |RESOLVED
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting. I feel stumped now because I can't even reproduce this problem with the old Wine versions this was reported against: wine-1.7.4, wine-1.7.5 (built on much more modern Linux distro/host though, Fedora 28 x86_64 multilib).
--- snip --- ... 0009:trace:msi:ACTION_AppSearchReg L"SearchInstallBlock_____X86.3643236F_FC70_11D3_A536_0090278A1BB8" ... 0009:trace:msi:msi_get_property returning L"v2.0.50727" for property L"URTVersion" ... 0009:Call advapi32.RegOpenKeyW(80000002,01648db8 L"SOFTWARE\Microsoft\.NETFramework\v2.0.50727\SBSDisabled",0033ccc4) ret=7c18befd 0009:Ret advapi32.RegOpenKeyW() retval=00000000 ret=7c18befd ... 0009:Call advapi32.RegQueryValueExW(0000013c,022dfc38 L"Install",00000000,00000000,00000000,0033ccc0) ret=7c18bf8e 0009:Ret advapi32.RegQueryValueExW() retval=00000000 ret=7c18bf8e ... 0009:Call advapi32.RegQueryValueExW(0000013c,022dfc38 L"Install",00000000,0033ccbc,022dfc20,0033ccc0) ret=7c18c010 0009:Ret advapi32.RegQueryValueExW() retval=00000000 ret=7c18c010 ... 0009:trace:msi:msi_set_property 0x1aa468 L"DD_INSTALLBLOCKFOUND_X86.3643236F_FC70_11D3_A536_0090278A1BB8" L"1" -1 0009:trace:msi:msi_get_property 0x1aa468 L"DD_INSTALLBLOCKFOUND_X86.3643236F_FC70_11D3_A536_0090278A1BB8" (nil) 0x33cd48 ... 0009:trace:msi:msi_get_property returning (null) for property L"DD_INSTALLBLOCKFOUND_X86.3643236F_FC70_11D3_A536_0090278A1BB8" ... 0009:trace:msi:MSI_DatabaseOpenViewW L"UPDATE `_Property` SET `Value` = ? WHERE `_Property` = 'DD_INSTALLBLOCKFOUND_X86.3643236F_FC70_11D3_A536_0090278A1BB8'" 0x33cd4c ... 0009:trace:msi:MSI_ProcessMessageVerbatim Calling UI handler 0x3a0c04f5(pvContext=0xbce3a0, iMessageType=04000010, szMessage=L"Property(S): DD_INSTALLBLOCKFOUND_X86.3643236F_FC70_11D3_A536_0090278A1BB8 = 1") ... --- snip ---
The offending MSI condition is nowhere to be found:
--- snip --- ( (NOT REMOVE) AND DD_INSTALLBLOCKFOUND_X86.3643236F_FC70_11D3_A536_0090278A1BB8 ) --- snip ---
The custom action 'DD_CA_InstallBlock_X86.3643236F_FC70_11D3_A536_0090278A1BB8' is only present in the original .NET Framework 2.0 MSI. It disappears later with .NET Framework 2.0 SP1 installation (patches/transforms applied).
Relevant registry block related to .NET Framework 2.0 installation:
--- snip --- [Software\Classes\Installer\Features\D6461317C3DC4F04799BDCE9E42626FE] 1552338842 "GUIH_ARP_NETFXDIR_HIDDEN_URT_STD_ENU_X86_IXP"="" "None_Mondo_32_bit_specific"="" "Redist_UI"="" "Servicing_Key"="" "URT_STD_ENU_X86_IXP_SETUP"="" "URTM_STD_ENU_X86_IXP"="" "Watson20_x86_All_MSMs"=""
[Software\Classes\Installer\Products\D6461317C3DC4F04799BDCE9E42626FE] 1552338842 "AdvertiseFlags"=dword:00000184 "Assignment"=dword:00000000 "AuthorizedLUAApp"=dword:00000000 "Clients"=":" "InstanceType"=dword:00000000 "Language"=dword:00000000 "PackageCode"="FE8E5CFB041CA454B974EE7CA3A4BAF3" "ProductName"="Microsoft .NET Framework 2.0" "Version"=dword:0200c627
[Software\Classes\Installer\Products\D6461317C3DC4F04799BDCE9E42626FE\SourceList] 1552338842 "LastUsedSource"="n;1;Z:\home\focht\Downloads\dotnet20\" "PackageName"="netfx.msi"
[Software\Classes\Installer\Products\D6461317C3DC4F04799BDCE9E42626FE\SourceList\Media] 1552338842 "1"=";Microsoft .NET Framework 2.0 [Disk 1]" "10"=";Microsoft .NET Framework 2.0 [Disk 1]" "11"=";Microsoft .NET Framework 2.0 [Disk 1]" "12"=";Microsoft .NET Framework 2.0 [Disk 1]" "13"=";Microsoft .NET Framework 2.0 [Disk 1]" "2"=";Microsoft .NET Framework 2.0 [Disk 1]" "3"=";Microsoft .NET Framework 2.0 [Disk 1]" "4"=";Microsoft .NET Framework 2.0 [Disk 1]" "5"=";Microsoft .NET Framework 2.0 [Disk 1]" "6"=";Microsoft .NET Framework 2.0 [Disk 1]" "7"=";Microsoft .NET Framework 2.0 [Disk 1]" "8"=";Microsoft .NET Framework 2.0 [Disk 1]" "9"=";Microsoft .NET Framework 2.0 [Disk 1]" "DiskPrompt"="" "MediaPackage"=""
[Software\Classes\Installer\Products\D6461317C3DC4F04799BDCE9E42626FE\SourceList\Net] 1552338869 "1"=str(2):"Z:\home\focht\Downloads\dotnet20\" "2"=str(2):"C:\windows\Microsoft.NET\Framework\v2.0.50727\Microsoft .NET Framework 2.0\"
[Software\Classes\Installer\UpgradeCodes\41E8829053EAFEA48BE8329D517B1FED] 1552338842 "D6461317C3DC4F04799BDCE9E42626FE"="" --- snip ---
Relevant registry block after .NET Framework 2.0 SP1 installation:
--- snip --- [Software\Classes\Installer\Features\1F3B805BA42A0C233B0158879691FE82] 1552339531 "NetFX20A_enu_x86_net_IDKEYS"=""
"Redist_UI"="" "Servicing_Key"=""
"URTM_STD_ENU_X86_IXP"="" "Watson20_x86_All_MSMs"=""
[Software\Classes\Installer\Products\1F3B805BA42A0C233B0158879691FE82] 1552339531 "AdvertiseFlags"=dword:00000184 "Assignment"=dword:00000000 "AuthorizedLUAApp"=dword:00000000 "Clients"=":" "InstanceType"=dword:00000000 "Language"=dword:00000000 "PackageCode"="F5AD85FF89770B540B554CF1F57AC086" "ProductName"="Microsoft .NET Framework 2.0 Service Pack 1" "Version"=dword:0201521e
[Software\Classes\Installer\Products\1F3B805BA42A0C233B0158879691FE82\Patches] 1552339531 "E44F9CA57C603E144A467371A79B01D5"=":T1ToU1;:#T1ToU1" "Patches"=str(7):"6073E3C7DBF896147962A074BF9F3DA2\080F86D540A652144BBF04829EB79A87C\0001363E86FDE860794D8778BF18EA36A1A\0002BD48EBD497144248995B927C08AB9D4\0007A0DC8558450022488EF10CC4177FD16\0DF36C10937666A74B9F51BE3E3FB4A07\0CCA0F521CF3DB204D869726F4ED6005D\0DEC4EC3C0B64E7047A30A738AA0EA263\0E44F9CA57C603E144A467371A79B01D5\0"
[Software\Classes\Installer\Products\1F3B805BA42A0C233B0158879691FE82\SourceList] 1552339531 "LastUsedSource"="n;1;Z:\home\focht\downloads\dotnet20sp1\wcu\dotnetframework\dotnetfx20\" "PackageName"="netfx20a_x86.msi"
[Software\Classes\Installer\Products\1F3B805BA42A0C233B0158879691FE82\SourceList\Media] 1552339531 "30000"=";" "30001"=";" "30002"=";" "30004"=";" "30005"=";" "30006"=";" "30007"=";" "30008"=";"
"DiskPrompt"="" "MediaPackage"=""
[Software\Classes\Installer\Products\1F3B805BA42A0C233B0158879691FE82\SourceList\Net] 1552339531 "1"=str(2):"Z:\home\focht\downloads\dotnet20sp1\wcu\dotnetframework\dotnetfx20\"
[Software\Classes\Installer\UpgradeCodes] 1552339538 --- snip ---
As said, the original install (net) source disappeared after SP1 install: 'C:\windows\Microsoft.NET\Framework\v2.0.50727\Microsoft .NET Framework 2.0\' (path/files no longer present), along with the custom action definition/condition which was in the MSI (root cause of blocker).
I've also tested with and without the fix for bug 36139 (https://source.winehq.org/git/wine.git/commitdiff/deb274226783ab886bdb448769...) which fell into this timeline but it didn't make any difference.
Whatever. Resolving 'WORKSFORME'.
$ wine --version wine-4.3-229-g6d82b2f1ad
Regards
https://bugs.winehq.org/show_bug.cgi?id=34803
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #7 from André H. nerv@dawncrow.de --- closing worksforme