http://bugs.winehq.org/show_bug.cgi?id=18732
Summary: Installer fails with the message: "You can install this programm only on a computer running Windows XP Tablet PC Edition 2005" Product: Wine Version: 1.0.1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: tobias.jakobs@web.de
I've tried to install the "Microsoft Experience Pack for Tablet PC 1" that you can download here: http://download.cnet.com/Microsoft-Experience-Pack-for-Tablet-PC/3000-10250_...
But it fails with the message: "You can install this programm only on a computer running Windows XP Tablet PC Edition 2005"
http://bugs.winehq.org/show_bug.cgi?id=18732
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net 2009-06-01 10:26:47 --- Hello,
to check for "Tablet PC" enabled OS, the msi installer runs a custom action:
--- snip --- 0037:trace:msi:HANDLE_CustomType1 Calling function L"IsTabletPC" from L"C:\windows\temp\msi600b.tmp" ... 0039:trace:msi:ACTION_CallDllFunction calling L"IsTabletPC" 0039:Call KERNEL32.GetEnvironmentVariableW(659f6924 L"MsiBreak",0070e654,00000104) ret=6599301f 0039:Ret KERNEL32.GetEnvironmentVariableW() retval=00000000 ret=6599301f 0039:Call user32.GetSystemMetrics(00000056) ret=0071265d 0039:Ret user32.GetSystemMetrics() retval=00000000 ret=0071265d 0039:Call msi.MsiSetPropertyW(00000002,007111ec L"IsTabletPC",00711204 L"0") ret=00712679 ... --- snip ---
Having Wine to return non-zero for GetSystemMetrics(SM_TABLETPC) is sufficient to convince the installer into proceeding further.
See: http://msdn.microsoft.com/en-us/library/ms724385.aspx
--- quote --- Nonzero if the current operating system is the Windows XP Tablet PC edition or if the current operating system is Windows Vista or Windows 7 and the Tablet PC Input service is started; otherwise, 0. The SM_DIGITIZER setting indicates the type of digitizer input supported by a device running Windows 7 or Windows Server 2008 R2. For more information, see Remarks. --- quote ---
The custom action check seems also to match with what Micro$oft documents. MSDN: http://msdn.microsoft.com/en-us/library/ms724833.aspx
(Search for GetSystemMetrics there).
So adding "Tablet PC" feature (maybe using registry key) might be an interesting option. GetSystemMetrics(SM_TABLETPC) could then use this registry setting for appropriate return value.
Regards
http://bugs.winehq.org/show_bug.cgi?id=18732
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://download.cnet.com/Mi | |crosoft-Experience-Pack-for | |-Tablet-PC/3000-10250_4-107 | |29528.html Summary|Installer fails with the |Microsoft Experience Pack |message: "You can install |for Tablet PC 1 refuses to |this programm only on a |install |computer running Windows XP | |Tablet PC Edition 2005" |
http://bugs.winehq.org/show_bug.cgi?id=18732
--- Comment #2 from Austin English austinenglish@gmail.com 2009-06-01 11:11:06 --- Created an attachment (id=21482) --> (http://bugs.winehq.org/attachment.cgi?id=21482) patch
Try this.
http://bugs.winehq.org/show_bug.cgi?id=18732
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=18732
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #3 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-05-13 15:37:21 CDT --- (In reply to comment #2)
Created an attachment (id=21482)
--> (http://bugs.winehq.org/attachment.cgi?id=21482) [details]
patch
Try this.
Bug confirmed in 1.3.20 Patch doesn't work; get a "Installation interrupted" windows with following message:
err:msi:ITERATE_Actions Execution halted, action L"IsTabletSP2" returned 1602
http://bugs.winehq.org/show_bug.cgi?id=18732
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-06-10 03:34:10 CDT --- Same in 1.6-rc1
https://bugs.winehq.org/show_bug.cgi?id=18732
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |user32 Summary|Microsoft Experience Pack |Microsoft Experience Pack |for Tablet PC 1 refuses to |for Tablet PC 1 refuses to |install |install (GetSystemMetrics | |doesn't handle | |SM_TABLETPC/SM_MEDIACENTER)
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
obviously still present.
$ wine --version wine-1.7.43-123-g90ed96a
A patch from Michael is available/included in Wine-Staging by default:
https://github.com/wine-compholio/wine-staging/blob/master/patches/user32-Ge...
Regards
https://bugs.winehq.org/show_bug.cgi?id=18732
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/user32-GetSyst | |emMetrics
https://bugs.winehq.org/show_bug.cgi?id=18732
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/user32-GetSyst |er/patches/user32-GetSystem |emMetrics |Metrics CC| |nerv@dawncrow.de
https://bugs.winehq.org/show_bug.cgi?id=18732
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-5.17.