[Bug 30312] New: Microsoft Office Communicator 2007 R2 Trial checks for unimplemented run mode 7 (MSIRUNMODE_REBOOTNOW)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 30 17:36:16 CDT 2012


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

             Bug #: 30312
           Summary: Microsoft Office Communicator 2007 R2 Trial checks for
                    unimplemented run mode 7 (MSIRUNMODE_REBOOTNOW)
           Product: Wine
           Version: 1.5.0
          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,

Microsoft Office Communicator 2007 R2 Trial checks both states: "reboot now"
and "reboot at end" to determine if a reboot is necessary.

Nothing serious but it would be nice to handle MSIRUNMODE_REBOOTNOW
(MSIRUNMODE_REBOOTATEND is already done).
Tracking using "package->need_reboot" (MSIRUNMODE_REBOOTATEND) or at least a
more meaningful message as I had to look it up to be sure that it is harmless.

Set WinVer to >= Windows Vista due to MSXML6 (SP1) requirement.

WINEDEBUG=+tid,+seh,+relay,+msi wine msiexec -i CommunicatorEval.msi >> log.txt
2>&1

--- snip ---
...
002f:trace:msi:ACTION_CustomAction Handling custom action
L"SetFilesInUseProperty" (41 L"Custom" L"SetFilesInUseProperty") 
...
003a:Ret  PE DLL (proc=0x3c382c,module=0x3c0000
L"msia226.tmp",reason=THREAD_ATTACH,res=(nil)) retval=1
003a:Starting thread proc 0x7ecd1af8 (arg=0x6585b4)
003a:trace:msi:DllThread custom action (3a) started
...
003a:trace:msi:ACTION_CallDllFunction calling L"SetFilesInUseProperty"
003a:Call KERNEL32.GetEnvironmentVariableW(7ed474e0
L"MsiBreak",0062e64c,00000104) ret=7ecd13fb
003a:Ret  KERNEL32.GetEnvironmentVariableW() retval=00000000 ret=7ecd13fb
003a:Call msi.MsiGetMode(00000002,00000006) ret=004058c3
003a:trace:msi:MsiGetMode 2 6
003a:trace:msi:MsiGetMode 1 6
003a:Ret  msi.MsiGetMode() retval=00000000 ret=004058c3
003a:Call msi.MsiGetMode(00000002,00000007) ret=004058cf
003a:trace:msi:MsiGetMode 2 7
003a:trace:msi:MsiGetMode 1 7
003a:fixme:msi:MsiGetMode unimplemented run mode: 7
003a:Ret  msi.MsiGetMode() retval=00000001 ret=004058cf
003a:Call msi.MsiSetPropertyW(00000002,00401cc8 L"REBOOTSCHEDULED",00401588
L"1") ret=004058e3 
...
--- snip ---

MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370125%28v=vs.85%29.aspx

Source:

http://source.winehq.org/git/wine.git/blob/9336c10619075d26dc8e6da5b0fb50bcfcd77bce:/dlls/msi/install.c#l695

--- snip ---
 695 BOOL WINAPI MsiGetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode)
 696 {
...
 763     case MSIRUNMODE_REBOOTATEND:
 764         r = package->need_reboot;
 765         break;
 766 
 767     case MSIRUNMODE_LOGENABLED:
 768         r = (package->log_file != INVALID_HANDLE_VALUE);
 769         break;
 770 
 771     default:
 772         FIXME("unimplemented run mode: %d\n", iRunMode);
 773         r = TRUE;
 774     }
 775 
 776     msiobj_release( &package->hdr );
 777     return r;
 778 }
--- snip ---

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