[Bug 9023] MS Office 2003 claims "not installed for this user"
http://bugs.winehq.org/show_bug.cgi?id=9023 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #21 from Anastasius Focht <focht(a)gmx.net> 2008-06-20 15:56:06 --- Hello, James there seems to be a regression introduced with your latest msi patch set... The infamous "not installed for this user" message reappeared when running any Office 2003 app after fresh install. --- snip bisect --- 288af81a7cd8e3a809160259e8f1aec8d54a2cef is first bad commit commit 288af81a7cd8e3a809160259e8f1aec8d54a2cef Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Wed Jun 18 00:51:13 2008 -0500 msi: Fix the ProcessComponents action to handle the package context. :040000 040000 525a4e934f49c2f290557c158124705328f036b9 e4f3987ea4ea1c2217ac59173974c58808996630 M dlls --- snip bisect --- Tested on clean WINEPREFIX. [focht(a)localhost wine-git]$ wine --version wine-1.0-141-g56d5332 [focht(a)localhost OFFICE11]$ pwd /home/focht/.wine/drive_c/Program Files/Microsoft Office/OFFICE11 WINEDEBUG=+seh,+tid,+relay,+msi wine ./excel.exe >log.txt 2>&1 --- snip wine trace --- .. 006e:Call msi.MsiEnumClientsW(0032f790 L"{A2B280D4-20FB-4720-99F7-40C09FBCE10A}",00000000,0032f7e4) ret=30cbc1d5 006e:trace:msi:MsiEnumClientsW L"{A2B280D4-20FB-4720-99F7-40C09FBCE10A}" 0 0x32f7e4 006e:trace:msi:MSIREG_OpenUserDataComponentKey L"{A2B280D4-20FB-4720-99F7-40C09FBCE10A}" .. 006e:Call advapi32.RegOpenKeyW(80000002,0032d6aa L"Software\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-4\\Components\\4D082B2ABF020274997F040CF9CB1EA0",0032db88) ret=6078fdbf 006e:Ret advapi32.RegOpenKeyW() retval=00000002 ret=6078fdbf .. 006e:trace:msi:MSIREG_OpenLocalSystemComponentKey L"{A2B280D4-20FB-4720-99F7-40C09FBCE10A}" .. 006e:Call advapi32.RegOpenKeyW(80000002,0032d6ae L"Software\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Components\\4D082B2ABF020274997F040CF9CB1EA0",0032db88) ret=6078ea9c 006e:Ret advapi32.RegOpenKeyW() retval=00000000 ret=6078ea9c 006e:Call advapi32.RegEnumValueW(00000074,00000000,0032db42,0032db84,00000000,00000000,00000000,00000000) ret=6078fea1 006e:Ret advapi32.RegEnumValueW() retval=00000000 ret=6078fea1 006e:Call advapi32.RegEnumValueW(00000074,00000000,0032db42,0032db84,00000000,00000000,00000000,00000000) ret=6078ff79 006e:Ret advapi32.RegEnumValueW() retval=00000000 ret=6078ff79 .. 006e:Ret msi.MsiEnumClientsW() retval=00000000 ret=30cbc1d5 .. 006e:Call msi.MsiQueryFeatureStateW(0032f7e4 L"{90110407-6000-11D3-8CFE-0150048383C9}",0032dc54 L"EXCELFiles") ret=30cd6a99 006e:trace:msi:MsiQueryFeatureStateW L"{90110407-6000-11D3-8CFE-0150048383C9}" L"EXCELFiles" .. 006e:trace:msi:MSIREG_OpenUserFeaturesKey L"{90110407-6000-11D3-8CFE-0150048383C9}" .. 006e:trace:msi:MSIREG_OpenUserFeaturesKey squished (L"7040110900063D11C8EF10054038389C") 006e:Call advapi32.RegOpenKeyW(80000001,0032d64e L"Software\\Microsoft\\Installer\\Features\\7040110900063D11C8EF10054038389C",0032db98) ret=60790cf7 006e:Ret advapi32.RegOpenKeyW() retval=00000002 ret=60790cf7 006e:Ret msi.MsiQueryFeatureStateW() retval=ffffffff ret=30cd6a99 .. 006e:Call msi.MsiEnumClientsW(0032f790 L"{A2B280D4-20FB-4720-99F7-40C09FBCE10A}",00000001,0032f7e4) ret=30cbc1d5 006e:trace:msi:MsiEnumClientsW L"{A2B280D4-20FB-4720-99F7-40C09FBCE10A}" 1 0x32f7e4 006e:trace:msi:MSIREG_OpenUserDataComponentKey L"{A2B280D4-20FB-4720-99F7-40C09FBCE10A}" .. 006e:trace:msi:MSIREG_OpenUserDataComponentKey squished (L"4D082B2ABF020274997F040CF9CB1EA0") .. 006e:Call advapi32.RegOpenKeyW(80000002,0032d6aa L"Software\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-4\\Components\\4D082B2ABF020274997F040CF9CB1EA0",0032db88) ret=6078fdbf 006e:Ret advapi32.RegOpenKeyW() retval=00000002 ret=6078fdbf .. 006e:trace:msi:MSIREG_OpenLocalSystemComponentKey L"{A2B280D4-20FB-4720-99F7-40C09FBCE10A}" .. 006e:trace:msi:MSIREG_OpenLocalSystemComponentKey squished (L"4D082B2ABF020274997F040CF9CB1EA0") 006e:Call advapi32.RegOpenKeyW(80000002,0032d6ae L"Software\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Components\\4D082B2ABF020274997F040CF9CB1EA0",0032db88) ret=6078ea9c 006e:Ret advapi32.RegOpenKeyW() retval=00000000 ret=6078ea9c 006e:Call advapi32.RegEnumValueW(00000074,00000000,0032db42,0032db84,00000000,00000000,00000000,00000000) ret=6078fea1 006e:Ret advapi32.RegEnumValueW() retval=00000000 ret=6078fea1 006e:Call advapi32.RegEnumValueW(00000074,00000001,0032db42,0032db84,00000000,00000000,00000000,00000000) ret=6078ff79 006e:Ret advapi32.RegEnumValueW() retval=00000103 ret=6078ff79 .. 006e:Ret msi.MsiEnumClientsW() retval=00000103 ret=30cbc1d5 .. --- snip wine trace --- MsiQueryFeatureState() looks into UserFeaturesKey (HKEY_CURRENT_USER\Software\Microsoft\Installer\) which fails because the installer data is published in MSIINSTALLCONTEXT_MACHINE (hence the error message and app exit). As currently implemented, all published installer data resides in S-1-5-18/machine SID: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\7040110900063D11C8EF10054038389C\Features HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\7040110900063D11C8EF10054038389C\InstallProperties HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components Users SID with empty key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-4\Products\7040110900063D11C8EF10054038389C 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.
participants (1)
-
wine-bugs@winehq.org