[Bug 30664] New: Add support for msi INSTALLMESSAGE_PROGRESS subtype "ProgressAddition"
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat May 12 15:13:30 CDT 2012
http://bugs.winehq.org/show_bug.cgi?id=30664
Bug #: 30664
Summary: Add support for msi INSTALLMESSAGE_PROGRESS subtype
"ProgressAddition"
Product: Wine
Version: 1.5.4
Platform: x86
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: msi
AssignedTo: wine-bugs at winehq.org
ReportedBy: focht at gmx.net
Classification: Unclassified
Hello,
just an enhancement.
Encountered this fixme in several installers, for example "Acrobat 7" tryout
installer.
--- snip ---
...
0041:trace:msi:ControlEvent_FireSubscribedEvent Firing event L"SetProgress"
0041:trace:msi:msi_dialog_handle_event progress: func 3 val1 72000000 val2 0
0041:fixme:msi:msi_dialog_handle_event Unknown progress message 3
...
--- snip ---
See MSDN following article for information how it's handled:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa367525%28v=vs.85%29.aspx
(Adding Custom Actions to the ProgressBar)
Also:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370573%28v=vs.85%29.aspx
(Parsing Windows Installer Messages)
Current source:
http://source.winehq.org/git/wine.git/blob/dd205230a0d215cefef42bfe25d2d78b237a9ec8:/dlls/msi/dialog.c#l618
--- snip ---
618 void msi_dialog_handle_event( msi_dialog* dialog, LPCWSTR control,
619 LPCWSTR attribute, MSIRECORD *rec )
620 {
...
637 else if( !strcmpW( attribute, szProgress ) )
638 {
639 DWORD func, val1, val2, units;
640
641 func = MSI_RecordGetInteger( rec, 1 );
642 val1 = MSI_RecordGetInteger( rec, 2 );
643 val2 = MSI_RecordGetInteger( rec, 3 );
644
645 TRACE("progress: func %u val1 %u val2 %u\n", func, val1, val2);
646
647 switch (func)
648 {
649 case 0: /* init */
...
667 case 1: /* FIXME: not sure what this is supposed to do */
668 break;
669 case 2: /* move */
...
683 default:
684 FIXME("Unknown progress message %u\n", func);
685 break;
686 }
...
706 }
--- snip ---
$ du -sh AcTR7EFG.exe
116M AcTR7EFG.exe
$ sha1sum AcTR7EFG.exe
4f1ff389ea71f21d624083d65bbe5a74e4760079 AcTR7EFG.exe
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