WineHQ
Bug Tracking Database – Bug 38838

 Bugzilla

 

Last modified: 2018-01-08 10:30:09 CST  

MS Office Pro Plus 2010 reruns setup on starting any app when Windows version is Vista or later

Bug 38838 - MS Office Pro Plus 2010 reruns setup on starting any app when Windows version is Vista or later
MS Office Pro Plus 2010 reruns setup on starting any app when Windows version...
Status: NEW
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
1.7.28
x86-64 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2015-06-29 17:59 CDT by tormen
Modified: 2018-01-08 10:30 CST (History)
6 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
Hack to make NotifyServiceStatusChange wait (1.01 KB, patch)
2018-01-03 13:08 CST, Andrew Eikum
Details | Diff
Implement service status change notifications (6.17 KB, application/gzip)
2018-01-05 14:59 CST, Andrew Eikum
Details
Office Pro Plus 2010 installer log, 3.0-rc5 with patches (720.66 KB, text/plain)
2018-01-05 21:47 CST, Rosanne DiMesio
Details
Log running Word for the first time, 3.0-rc5 with patches (122.86 KB, text/plain)
2018-01-05 21:48 CST, Rosanne DiMesio
Details
Log running Word for the second time, 3.0-rc5 with patches (29.85 KB, text/plain)
2018-01-05 21:49 CST, Rosanne DiMesio
Details
Log running Word for the third time, 3.0-rc5 with patches (57.97 KB, text/plain)
2018-01-05 21:51 CST, Rosanne DiMesio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tormen 2015-06-29 17:59:11 CDT
# Test-results from an OpenSUSE 13.2 install with:
i | wine        | package | 1.7.28-1.3   | x86_64 | Main Repository (OSS) 
i | wine-32bit  | package | 1.7.28-1.3   | x86_64 | Main Repository (OSS) 
i | wine-gecko  | package | 2.24-2.1.2   | noarch | Main Repository (OSS) 

***** Needed *****
Original Microsoft Microsoft Office Professional Plus 2010: ProfessionalPlus.exe (revision 14.0.4760.1000)

***** Steps to reproduce *****

0.) /bin/rm -Rf /LINKS/wines/test; mkdir -p /LINKS/wines/test

1.) WINEARCH=win32 WINEPREFIX=/LINKS/wines/test WINEDEBUG="+msi,+tdi" winecfg &>"/tmp/wine_+msi,+tdi.1.log"

# Set "Windows version" to "Windows 7"
# Click "Ok"

2.) WINEARCH=win32 WINEPREFIX=/LINKS/wines/test WINEDEBUG="+msi,+tdi" wine ProfessionalPlus.exe &>"/tmp/wine_+msi,+tdi.2.log"

# Enter product key
# Wait while "Please wait while your key is validated"
# Leave the checkbox "Attempt to automatically activate product online" checked
# Click "Continue"

# Check "I accept the terms of this agreement"
# Click "Continue"

# Click "Install Now"
or
# Click "Customize"
Microsoft Office: "Run all from my Computer"
  * Microsoft Outlook: "Not available"
  * Microsoft SharePoint Workspace: "Not available" 
  * Office Tools:
    ** Actions Plugins: "Not available"
    ** Hosted Webs: "Not available"
    ** Microsoft SharePoint Foundation: "Not available"

# ... runs through until the "Thank you..." window
# Click "Close"

3.) WINEARCH=win32 WINEPREFIX=/LINKS/wines/test WINEDEBUG="+msi,+tdi" winecfg &>"/tmp/wine-3.log"

# Set riched20 to native, builtin :
### Click on "Libraries" tab
### enter "riched20" in "New override for library" field
### Click "add"
### verify that behind riched20 there is "(native, builtin)"

4.) WINEARCH=win32 WINEPREFIX=/LINKS/wines/test WINEDEBUG="+msi,+tdi" wine /LINKS/wines/test/drive_c/Program\ Files/Microsoft\ Office/Office14/WINWORD.EXE &>"/tmp/wine_+msi,+tdi.4.log"

# A small window appears (like for the setup/installation):
# "Configuration Process"
# "Configuring Microsoft Office Professional Plus 2010"
# ... runs through ... until little pop-up message window appears:
# "In order to complete setup, a system reboot is necessary. Would you like to reboot now?"

# Click "Yes" brings up a CRASH window [*] and Clicking "No" starts Word with the activation window and no possibility to register [**]


////////////////////////////////////////////////////////////////////////
Unhandled exception: page fault on read access to 0x005c56c0 in 32-bit code (0x7ec55e05).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7ec55e05 ESP:0033f310 EBP:0033f348 EFLAGS:00210206(  R- --  I   - -P- )
 EAX:005c56c0 EBX:7ecb5000 ECX:0033f360 EDX:00f49ae4
 ESI:0014bb88 EDI:00000000
Stack dump:
0x0033f310:  00000000 00146860 0033f3c8 7ea3eeb3
0x0033f320:  0014c080 00000000 00110000 00110000
0x0033f330:  00110014 00000000 00001302 0033f360
0x0033f340:  7ecb5000 0014bb80 0033f398 7ec571bb
0x0033f350:  00000000 7ec83e06 0033f380 7ec571bb
0x0033f360:  0014bb80 7ec2c000 0033f3b8 7eb63633
Backtrace:
=>0 0x7ec55e05 CStdStubBuffer_Disconnect+0x35() in rpcrt4 (0x0033f348)
  1 0x7ec571bb NdrCStdStubBuffer_Release+0x4a() in rpcrt4 (0x0033f398)
  2 0x00f4234c in osetupps (+0x234b) (0x0033f3b8)
  3 0x7eb7cb74 in ole32 (+0x6cb73) (0x0033f428)
  4 0x7eb29044 in ole32 (+0x19043) (0x0033f488)
  5 0x7eb2a9fa CoUninitialize+0x139() in ole32 (0x0033f4b8)
  6 0x2e02847b in setup (+0x2847a) (0x0033fce0)
  7 0x2e02b86e in setup (+0x2b86d) (0x0033fdd0)
  8 0x2e055a45 in setup (+0x55a44) (0x0033fe60)
  9 0x7b8613fc call_process_entry+0xb() in kernel32 (0x0033fe78)
  10 0x7b8624c3 in kernel32 (+0x524c2) (0x0033feb8)
  11 0x7bc80af0 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
  12 0x7bc83a7d call_thread_func+0x7c() in ntdll (0x0033ffa8)
  13 0x7bc80ace RtlRaiseException+0x21() in ntdll (0x0033ffc8)
  14 0x7bc552be call_dll_entry_point+0x3fd() in ntdll (0x0033ffe8)
  15 0xf75b8c2d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  16 0xf75b8ceb wine_switch_to_stack+0x2a() in libwine.so.1 (0xffad14f8)
  17 0x7bc5ae49 LdrInitializeThunk+0x238() in ntdll (0xffad1538)
  18 0x7b868ca3 __wine_kernel_init+0xa12() in kernel32 (0xffad2658)
  19 0x7bc5bd43 __wine_process_init+0x192() in ntdll (0xffad26e8)
  20 0xf75b6378 wine_init+0x2c7() in libwine.so.1 (0xffad2748)
  21 0x7bf00ebc main+0x8b() in <wine-loader> (0xffad2b98)
  22 0xf73da993 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x7ec55e05 CStdStubBuffer_Disconnect+0x35 in rpcrt4: movl	0x0(%eax),%edx
Modules:
Module	Address			Debug info	Name (144 modules)
PE	  f40000-  f4d000	Export          osetupps
PE	2e000000-2e119000	Export          setup
PE	40330000-4033d000	Deferred        msoxmlmf
PE	6be90000-6beb0000	Deferred        osppc
PE	6bed0000-6c064000	Deferred        osppcext
ELF	7b800000-7ba61000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba61000	\               kernel32
ELF	7bc00000-7bce5000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bce5000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
ELF	7c46d000-7c488000	Deferred        spoolss<elf>
  \-PE	7c470000-7c488000	\               spoolss
ELF	7c488000-7c4ac000	Deferred        localspl<elf>
  \-PE	7c490000-7c4ac000	\               localspl
ELF	7c5f0000-7c633000	Deferred        winspool<elf>
  \-PE	7c600000-7c633000	\               winspool
ELF	7c633000-7c650000	Deferred        jsproxy<elf>
  \-PE	7c640000-7c650000	\               jsproxy
ELF	7c650000-7c700000	Deferred        msvcrt<elf>
  \-PE	7c670000-7c700000	\               msvcrt
ELF	7c804000-7c844000	Deferred        winhttp<elf>
  \-PE	7c810000-7c844000	\               winhttp
ELF	7c844000-7c8b5000	Deferred        libpcre.so.1
ELF	7c8b5000-7c8d9000	Deferred        libselinux.so.1
ELF	7c8d9000-7c8f1000	Deferred        libresolv.so.2
ELF	7c8f1000-7c93d000	Deferred        libdbus-1.so.3
ELF	7c93d000-7c96e000	Deferred        libk5crypto.so.3
ELF	7c96e000-7ca32000	Deferred        libkrb5.so.3
ELF	7ca32000-7ca78000	Deferred        libgssapi_krb5.so.2
ELF	7ca78000-7cb00000	Deferred        libcups.so.2
ELF	7cc0d000-7cc1b000	Deferred        libkrb5support.so.0
ELF	7cc34000-7cc4a000	Deferred        winscard<elf>
  \-PE	7cc40000-7cc4a000	\               winscard
ELF	7cc4a000-7cc6d000	Deferred        hnetcfg<elf>
  \-PE	7cc50000-7cc6d000	\               hnetcfg
ELF	7cc83000-7cde0000	Deferred        libxml2.so.2
ELF	7cde0000-7cf00000	Deferred        msxml3<elf>
  \-PE	7cdf0000-7cf00000	\               msxml3
ELF	7d008000-7d01a000	Deferred        libavahi-client.so.3
ELF	7d01a000-7d0d4000	Deferred        msvcr90<elf>
  \-PE	7d030000-7d0d4000	\               msvcr90
ELF	7d300000-7d30e000	Deferred        libavahi-common.so.3
ELF	7d363000-7d3a1000	Deferred        libxslt.so.1
ELF	7d3a1000-7d3cb000	Deferred        liblzma.so.5
ELF	7d3cb000-7d500000	Deferred        actxprxy<elf>
  \-PE	7d3f0000-7d500000	\               actxprxy
ELF	7d605000-7d649000	Deferred        usp10<elf>
  \-PE	7d610000-7d649000	\               usp10
ELF	7d649000-7d682000	Deferred        hhctrl<elf>
  \-PE	7d650000-7d682000	\               hhctrl
ELF	7d682000-7d69f000	Deferred        libgcc_s.so.1
ELF	7d69f000-7d6a4000	Deferred        libkeyutils.so.1
ELF	7d6a4000-7d6a9000	Deferred        libcom_err.so.2
ELF	7d6e8000-7d70e000	Deferred        imm32<elf>
  \-PE	7d6f0000-7d70e000	\               imm32
ELF	7d75f000-7d77a000	Deferred        cryptnet<elf>
  \-PE	7d760000-7d77a000	\               cryptnet
ELF	7d77a000-7d7bd000	Deferred        rsaenh<elf>
  \-PE	7d780000-7d7bd000	\               rsaenh
ELF	7d7bd000-7d7d7000	Deferred        imagehlp<elf>
  \-PE	7d7c0000-7d7d7000	\               imagehlp
ELF	7d7f9000-7d830000	Deferred        uxtheme<elf>
  \-PE	7d800000-7d830000	\               uxtheme
ELF	7d830000-7d836000	Deferred        libxfixes.so.3
ELF	7d836000-7d842000	Deferred        libxcursor.so.1
ELF	7d842000-7d853000	Deferred        libxi.so.6
ELF	7d853000-7d857000	Deferred        libxcomposite.so.1
ELF	7d857000-7d862000	Deferred        libxrandr.so.2
ELF	7d862000-7d86d000	Deferred        libxrender.so.1
ELF	7d86d000-7d890000	Deferred        libxcb.so.1
ELF	7d890000-7d9cb000	Deferred        libx11.so.6
ELF	7d9cb000-7d9de000	Deferred        libxext.so.6
ELF	7da03000-7da97000	Deferred        winex11<elf>
  \-PE	7da10000-7da97000	\               winex11
ELF	7db67000-7db90000	Deferred        libexpat.so.1
ELF	7db90000-7dbcd000	Deferred        libfontconfig.so.1
ELF	7dbcd000-7dc09000	Deferred        libpng16.so.16
ELF	7dc09000-7dc9b000	Deferred        libfreetype.so.6
ELF	7dcc0000-7dcf0000	Deferred        p11-kit-trust.so
ELF	7dcf0000-7dd77000	Deferred        libgmp.so.10
ELF	7dd77000-7dda6000	Deferred        libhogweed.so.2
ELF	7dda6000-7ddda000	Deferred        libnettle.so.4
ELF	7ddda000-7ddee000	Deferred        libtasn1.so.6
ELF	7ddee000-7de29000	Deferred        libp11-kit.so.0
ELF	7de29000-7df41000	Deferred        libgnutls.so.28
ELF	7df42000-7df48000	Deferred        libxxf86vm.so.1
ELF	7df53000-7df66000	Deferred        gnome-keyring-pkcs11.so
ELF	7df66000-7e070000	Deferred        comctl32<elf>
  \-PE	7df70000-7e070000	\               comctl32
ELF	7e070000-7e098000	Deferred        mpr<elf>
  \-PE	7e080000-7e098000	\               mpr
ELF	7e098000-7e116000	Deferred        wininet<elf>
  \-PE	7e0a0000-7e116000	\               wininet
ELF	7e116000-7e1ba000	Deferred        urlmon<elf>
  \-PE	7e120000-7e1ba000	\               urlmon
ELF	7e1ba000-7e2b8000	Deferred        msi<elf>
  \-PE	7e1c0000-7e2b8000	\               msi
ELF	7e2b8000-7e2cc000	Deferred        psapi<elf>
  \-PE	7e2c0000-7e2cc000	\               psapi
ELF	7e2cc000-7e2e3000	Deferred        libz.so.1
ELF	7e2e3000-7e2e7000	Deferred        libxinerama.so.1
ELF	7e2e7000-7e308000	Deferred        cabinet<elf>
  \-PE	7e2f0000-7e308000	\               cabinet
ELF	7e308000-7e370000	Deferred        dbghelp<elf>
  \-PE	7e310000-7e370000	\               dbghelp
ELF	7e370000-7e441000	Deferred        crypt32<elf>
  \-PE	7e380000-7e441000	\               crypt32
ELF	7e441000-7e478000	Deferred        wintrust<elf>
  \-PE	7e450000-7e478000	\               wintrust
ELF	7e478000-7e4f3000	Deferred        shlwapi<elf>
  \-PE	7e490000-7e4f3000	\               shlwapi
ELF	7e4f3000-7e72b000	Deferred        shell32<elf>
  \-PE	7e500000-7e72b000	\               shell32
ELF	7e72b000-7e875000	Deferred        oleaut32<elf>
  \-PE	7e740000-7e875000	\               oleaut32
ELF	7e875000-7e995000	Deferred        gdi32<elf>
  \-PE	7e880000-7e995000	\               gdi32
ELF	7e995000-7eaf2000	Deferred        user32<elf>
  \-PE	7e9b0000-7eaf2000	\               user32
ELF	7eaf2000-7ec36000	Dwarf           ole32<elf>
  \-PE	7eb10000-7ec36000	\               ole32
ELF	7ec36000-7ecbb000	Dwarf           rpcrt4<elf>
  \-PE	7ec40000-7ecbb000	\               rpcrt4
ELF	7ecbb000-7ecf3000	Deferred        ws2_32<elf>
  \-PE	7ecc0000-7ecf3000	\               ws2_32
ELF	7ecf3000-7ed68000	Deferred        advapi32<elf>
  \-PE	7ed00000-7ed68000	\               advapi32
ELF	7ed68000-7ed8f000	Deferred        iphlpapi<elf>
  \-PE	7ed70000-7ed8f000	\               iphlpapi
ELF	7ed8f000-7edbe000	Deferred        netapi32<elf>
  \-PE	7eda0000-7edbe000	\               netapi32
ELF	7edbe000-7edf1000	Deferred        secur32<elf>
  \-PE	7edc0000-7edf1000	\               secur32
ELF	7ef95000-7efdb000	Deferred        libm.so.6
ELF	7efdc000-7efe0000	Deferred        libxau.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f73b3000-f73ba000	Deferred        libffi.so.4
ELF	f73bc000-f73c1000	Deferred        libdl.so.2
ELF	f73c1000-f756e000	Dwarf           libc.so.6
ELF	f756e000-f758a000	Deferred        libpthread.so.0
ELF	f75af000-f7765000	Dwarf           libwine.so.1
ELF	f7766000-f7788000	Deferred        ld-linux.so.2
ELF	f778a000-f778b000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	000000bb    0
	000000b7    0
	00000071    0
	00000057    0
	0000001c    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001b    0
	00000018    0
	00000017    0
	00000013    0
00000019 plugplay.exe
	0000001f    0
	0000001e    0
	0000001a    0
00000020 explorer.exe
	00000021    0
00000025 (D) C:\Program Files\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\Setup.exe
	00000054    0
	00000036    0
	0000002d    0
	00000027    0
	00000026    0 <==
00000055 OSPPSVC.EXE
	0000009d    0
	0000009c    0
	0000009a    0
	00000098    0
	00000068    0
	00000090    0
	0000004e    0
	00000016    0
	00000086    0
	0000004f    0
	00000094    0
	0000006c    0
	0000006a    0
	0000006b    0
	00000069    0
	00000066    0
	00000058    0
0000006f svchost.exe
	00000092    0
	00000091    0
	0000008b    0
	00000072    0
	00000073    0
	0000006e    0
00000075 rpcss.exe
	0000001d    0
	00000089    0
	0000005b    0
	00000076    0
	00000077    0
	00000074    0
System information:
    Wine build: wine-1.7.28
    Platform: i386
    Host system: Linux
    Host version: 4.1.0-banana08-39-desktop



////////////////////////////////////////////////////////////////////////
[**]: Choose "I want to activate the software over the internet"
Click "Next"
An unspecified error has occured. Your request cannot be processed at this time. Please try again later. (0x8007007F)
Click "OK"
Choose "I want to activate the software by telephone"
Click "Next"
Step 1: Whatever country you choose, there is NO phone number displayed below the country! 
(like it should be the case)
Step 2: Instead of "[installation code]" should be the Installation ID displayed!
Step 3: You cannot enter anything in the fields A - H, they are greyed out & read-only!
Click "OK"
Small popup window : "The confirmation ID you entered is not valid. Please review and reenter the Confirmation ID.
Click "OK"
Click "Cancel"

Choose "Install Updates Only"
Click "OK"
We cannot sign you up for the Microsoft Update service, because there is a problem with the service.
Click "OK"

Now you are in Word, but the next time you start it, you will be back at what is described in step 4.) !!
Comment 1 tormen 2015-06-29 18:06:58 CDT
As the logfiles are ~300MB big, here the download link as tar.bz2 : http://we.tl/QCaZI4Y7Tn
Comment 2 Nikolay Sivov 2015-06-29 18:32:20 CDT
> # Set "Windows version" to "Windows 7"
> # Click "Ok"

That's why winxp is a default setting. Does it work for you with default wineprefix?

And please don't paste backtraces, attach them.
Comment 3 Rosanne DiMesio 2015-06-29 21:27:28 CDT
I can confirm this. It happens only when the Windows version is set to Vista or later, which is why the AppDB howto for Office 2010 explicitly says to leave the Windows version set to XP.
Comment 4 Rosanne DiMesio 2015-06-29 21:30:55 CDT
Setting severity to minor, as there's an easy workaround.
Comment 5 tormen 2015-06-30 02:30:54 CDT
Hi.

Thanks a LOT (!!!) for your quick answers !

@Nicolay : Sorry for the dump paste. Will attach next time !

@Rosanne : You are so right and I am honestly sorry to have caused this buzz for nothing !! ... I read the Todo (and did the riched20 ;)), but somehow jumped this line :((

Resolved as INVALID as with the setting in the appDB "It just woks (tm)" !

Tormen
Comment 6 Rosanne DiMesio 2015-06-30 08:12:22 CDT
The bug is valid; Office 2010 installs in real Vista and later, so it should when Wine is set to those versions, too. It's just not a high priority because the default setting of XP works.
Comment 7 Nikolay Sivov 2015-06-30 14:31:36 CDT
Hi, Rosanne.

I tried this right now, though not with Pro Plus edition, and I think I found a workaround that may help to fix this eventually. Does it help for you if you start some other program (winecfg, regedit) first in same wineprefix and after that start Word? According to my testing if I start Word first it hangs on splash window and I eventually get installer that tries to repair things; if I start it on hot wineprefix Word opens just fine.
Comment 8 Rosanne DiMesio 2015-06-30 17:31:09 CDT
(In reply to Nikolay Sivov from comment #7)

> 
> I tried this right now, though not with Pro Plus edition, and I think I
> found a workaround that may help to fix this eventually. Does it help for
> you if you start some other program (winecfg, regedit) first in same
> wineprefix and after that start Word? 

No, it makes no difference.
Comment 9 tormen 2015-06-30 18:13:35 CDT
(In reply to Rosanne DiMesio from comment #8)
> (In reply to Nikolay Sivov from comment #7)
> 
> > 
> > I tried this right now, though not with Pro Plus edition, and I think I
> > found a workaround that may help to fix this eventually. Does it help for
> > you if you start some other program (winecfg, regedit) first in same
> > wineprefix and after that start Word? 
> 
> No, it makes no difference.

>

This is what I also expected from what I saw, because the registration window
was lacking functionality (like I described) : E.g. the phone number not
appearing (after selecting a country) with the win7 setting, whereas with winXP everything works fine.
Comment 10 Michael 2016-01-17 20:32:25 CST
Can confirm this problem.

It prevents one from installing language packs and proofing tools as those installers don't run on any thing older than Vista.
Comment 11 Rosanne DiMesio 2016-11-16 19:53:20 CST
Still present in 1.9.23.
Comment 12 vanyasmart 2017-03-01 08:53:37 CST
I think that priority should be higher, because starting from Wine 2.2 default Windows version set to Windows 7.
Comment 13 Jone 2017-03-14 10:38:56 CDT
I solved this problem for MS Office Professional Plus Volume 32 bit CD\DVD on pure wine 32 bit v2.3 with windows 7 settings on Debian Wheezy 32 bit by use of riched20.dll v6.0 in MS Mathematics 4 32 bit according to the following steps:
Install wine offline without winetricks to avoid use of old riched20.dll v3 in riched30.exe which install riched20.dll & riched32.dll and then run winecfg to be sure that you use windows 7, remove msxml3.dll & msxml6.dll in system 32 and install msxml 3.0 sp7 & msxml 6.0 sp1 32 bit on arrangement to add the two dll files as native in winecfg. 
Remove riched20.dll and then install MS mathematics 4 32 bit with change of the path during the install from "C:\Program Files\Microsoft Mathematics\" to "C:\windows\system32\" to add riched20.dll as native in winecfg. In the first time to open MS word, you will watch Configuration Progress witch will ask you to reboot. Choose No and then Configuration Progress will run and tell you that it is finished and give you down button to press Close. Press Close to receive message to reboot. Choose No again. Then the application will tell you that it cannot verify your license. press ok and do not worry. In the second time and next times to open MS word, Configuration Progress will not appear again. Enjoy!
Comment 14 Rosanne DiMesio 2017-12-23 17:02:29 CST
While testing for bug 44036 I discovered that setting the Windows version to XP no longer works around this bug, so setting severity to normal and adjusting the bug summary.
Comment 15 Hans Leidekker 2017-12-24 06:11:36 CST
(In reply to Rosanne DiMesio from comment #14)
> While testing for bug 44036 I discovered that setting the Windows version to
> XP no longer works around this bug, so setting severity to normal and
> adjusting the bug summary.

Anyone up for bisecting this?
Comment 16 Rosanne DiMesio 2017-12-24 22:31:18 CST
(In reply to Hans Leidekker from comment #15)
> 
> Anyone up for bisecting this?

Bisected and filed bug 44222 for the regression.
Comment 17 Andrew Eikum 2018-01-03 13:08:07 CST
Created attachment 60116 [details]
Hack to make NotifyServiceStatusChange wait

This happens because advapi32.NotifyServiceStatusChangeW does not notify the client if the service is not already in one of the requested states.

I've attached a hack which works around this by making NotifyServiceStatusChange block until the requested state is achieved. I'll work on a proper fix.
Comment 18 Andrew Eikum 2018-01-05 14:59:20 CST
Created attachment 60150 [details]
Implement service status change notifications

These two patches should fix launching WINWORD with a Windows 7 prefix.
Comment 19 Rosanne DiMesio 2018-01-05 21:03:51 CST
I tested the patches on top of 3.0-rc5, and it partially fixes the problem:
 
--The first time I run Word after installing, setup starts up and says it's configuring Office. It gets to "applying updates" then asks if I want to reboot. If I answer yes, it crashes. If I answer no, Word does start.

--Regardless of whether I tell it to reboot the first time, setup runs again the second time I start Word. However, this time the configuring dialog ends with a message that configuration is now complete, and asks me if I want to reboot. Saying yes to rebooting once again leads to a crash; saying no leads to a message that it can't verify my license, and Word closes.

--The third time, setup does not run, and Word opens as expected. Excel and Powerpoint also work. At 

Regarding the license, my copy is a slipstreamed, volume-licensed copy provided by a former employer. It attempts to automatically activate online and fails (bug 30033, and the workaround there no longer works), so that may be why my version is still running into problems.
Comment 20 Rosanne DiMesio 2018-01-05 21:47:21 CST
Created attachment 60152 [details]
Office Pro Plus 2010 installer log, 3.0-rc5 with patches
Comment 21 Rosanne DiMesio 2018-01-05 21:48:35 CST
Created attachment 60153 [details]
Log running Word for the first time, 3.0-rc5 with patches
Comment 22 Rosanne DiMesio 2018-01-05 21:49:37 CST
Created attachment 60154 [details]
Log running Word for the second time, 3.0-rc5 with patches
Comment 23 Rosanne DiMesio 2018-01-05 21:51:28 CST
Created attachment 60155 [details]
Log running Word for the third time, 3.0-rc5 with patches
Comment 24 Rosanne DiMesio 2018-01-05 21:54:36 CST
I've attached logs for the installer and the first three times running Word 2010 after installing. All three are from 3.0-rc3 with the patches in attachment 60150 [details] applied.
Comment 25 Andrew Eikum 2018-01-08 08:20:23 CST
(In reply to Rosanne DiMesio from comment #19)
> I tested the patches on top of 3.0-rc5, and it partially fixes the problem:
>  
> --The first time I run Word after installing, setup starts up and says it's
> configuring Office. It gets to "applying updates" then asks if I want to
> reboot. If I answer yes, it crashes. If I answer no, Word does start.

Thanks for testing. Sounds like we're getting close. I don't know whether your current issues are related to this service issue or not. It is working very well for me with my Home & Business license, so I wonder if it's an issue with the slipstreaming or activation that you mentioned.

Could you get me a log of this first run, answering "yes" so you get the crash, with: +tid,+pid,+seh,+timestamp,+service,+advapi,+rpc,+msxml,+msi
Comment 26 Rosanne DiMesio 2018-01-08 10:30:09 CST
The log is too big to upload here, even when compressed, so I uploaded it to  https://drive.google.com/file/d/1zJBlJJHhK68uYzAnGlv9NNdt7YO5Q0k_/view?usp=sharing.


Hosted By CodeWeavers