Office 2007 (Only Outlook and InfoPath do not work)

Windows 2000 fixes and solutions for apps

Office 2007 (Only Outlook and InfoPath do not work)

PostPosted by DosFreak » Tue Apr 22, 2008 4:47 pm

FILES NEEDED:
PE TOOLS
Altiris SVS
Office 2007


Download Altiris SVS and install on a Windows XP Pro system.
Run the Office 2007 installation program with Altiris SVS.
Once the install is finished and Altiris has captured the changes then export the package.

Install Altiris SVS on the 2000 machine.
Copy the exported package to the 2000 machine and import it.
Activate Outlook 2007.



WORKS WITHOUT PROBLEMS

MSQRY32.EXE
PPTVIEW.EXE






WORK WITH ISSUES


MSACCESS.EXE

MSACCESS.EXE works fine without kernel32.dll but other programs in the same directory require it. When

kernel32.dll is copied into the directory MSACCESS.EXE stops working. According to Dependency Walker

it's due to "GROOVEUTIL.DLL". Renaming the .dll seems to fix the issue.



EXCEL.EXE and GRAPH.EXE receive this message:

The procedure entry point IsWow64Process could not be located in the dynamic link library

KERNEL32.dll.

This is due to the Alternative User Input modules in Microsoft Office which seems to be

caused by this dll in the Office directory. GRA8E1~1.dll

(GrooveShellExtensions.dll)

Renaming the .dll seems to bypass the issue


ORGCHART.EXE (Organization Chart Add-in) and POWERPNT.EXE and OIS.EXE (Microsoft Office

Picture Manager) and MSTORE.EXE (Microsoft Clip Organizer)
SELFCERT.EXE and VPREVIEW.EXE

"ORGCHART.EXE is not a valid Win32 application."

1) Fire up PE Tools
2) Tools -> PE Editor
3. Open the Executable.
4) Select Optional Header
4) Set Major SubSystem Version to 0004
5) Ok out of everything and exit.


SETLANG.EXE (Microsoft Office Language Settings)

"SETLANG.EXE is not a valid Win32 application."

1) Fire up PE Tools
2) Tools -> PE Editor
3. Open the Executable.
4) Select Optional Header
4) Set Major SubSystem Version to 0004
5) Ok out of everything and exit.

Receive this message next:

"The dynamic link library MFC80U.DLL could not be found"

This file is included in the Microsoft Visual C++ 2005 SP1 Redistributable pack
http://www.microsoft.com/downloads/deta ... 89c36f8564

7&displaylang=en

Download and install.

WINWORD.EXE

The procedure entry point TzSpecificLocalTimeToSystemTime could not be located in the

dynamic link library KERNEL32.dll.

Copy kernel32.dll from the office_07_test package to the same directory as winword.exe to

fix the "TZSpecificLocalTimeToSystemTime" error.

Word will start but you will receive this error message which can be bypassed:

"There is insufficient memory or disk space. Word cannot display the requested font"

MSPUB.EXE


"MSPUB.EXE is not a valid Win32 application."

1) Fire up PE Tools
2) Tools -> PE Editor
3. Open the Executable.
4) Select Optional Header
4) Set Major SubSystem Version to 0004
5) Ok out of everything and exit.


Receive this error message on execution:


"The procedure entry point GetUserGeoID could not be located in the dynamic link library

KERNEL32.dll."

Using the kernel32.dll wrapper fixed the above error but I then get this message:


"The procedure entry point GetGeoInfoW could not be located in the dynamic link library KERNEL32.dll."

Use the kernel32.dll from the office 2007 test 2 package to fix the error and Publisher works!



ONENOTE.EXE and ONENOTEM.EXE

"ONENOTE.EXE is not a valid Win32 application."

1) Fire up PE Tools
2) Tools -> PE Editor
3. Open the Executable.
4) Select Optional Header
4) Set Major SubSystem Version to 0004
5) Ok out of everything and exit.

"The procedure entry point SetDllDirectoryW could not be located in the dynamic link library

KERNEL32.dll."


Copy kernel32.dll from the office_07_test package to the same directory as ONENOTE.EXE to

fix the "SetDllDirectoryW" error.

On next execution you will receive this error message:


"The ordinal 743 could not be located in the dynamic link library SHELL32.dll."

Copy shell32.dll from the office 07 test 2 package to the same directory and now onenote and

onenotem.exe should work.



SCANOST.EXE AND SCANPST.EXE

" is not a valid Win32 application."

1) Fire up PE Tools
2) Tools -> PE Editor
3. Open the Executable.
4) Select Optional Header
4) Set Major SubSystem Version to 0004
5) Ok out of everything and exit.


Then receive this error message:


The procedure entry point SetDllDirectoryW could not be located in the dynamic link library

KERNEL32.dll.


Copy kernel32.dll from the office_07_test package to the same directory as SCANOST.EXE to

fix the "SetDllDirectoryW" error.

On next execution you will receive this error message:


The procedure entry point GetDllDirectoryW could not be located in the dynamic link library

KERNEL32.dll.

On next execution you should receive this message:


"The procedure entry point CredWriteW could not be located in the dynamic link library ADVAPI32.dll."

Copy advapi32.dll from the office_07_test package to the same directory.























DO NOT WORK

OUTLOOK.EXE receive this message:

"OUTLOOK.EXE is not a valid Win32 application."

1) Fire up PE Tools
2) Tools -> PE Editor
3. Open the Executable.
4) Select Optional Header
4) Set Major SubSystem Version to 0004
5) Ok out of everything and exit.


On next execution of Outlook.exe you will receive this error:

"The procedure entry point CredReadW could not be located in the dynamic link library

ADVAPI32.dll."

Copy ADVAPI32.dll from the office_07_test package to the same directory as Outlook.exe which

will fix the above error.

Upon next execution of outlook.exe you will receive the following error:


The procedure entry point SetDllDirectoryW could not be located in the dynamic link library

KERNEL32.dll.

Copy kernel32.dll from the office_07_test 2 package to the same directory as outlook.exe.


On next execution of outlook you will receive this message:

"The dynamic link library credui.dll could not be found in the specified path"

Copy credui.dll from Windows XP to the same directory as outlook.exe

On next execution of outlook you will receive this error message:

"The procedure entry point CredpConvertTargetInfo could not be located in the dynamic link library

ADVAPI32.dll."



INFOPATH.EXE


"The procedure entry point GetProcessId could not be located in the dynamic link library

KERNEL32.dll."


Copy kernel32.dll from Office_07 test 2 to the same directory works (rename GrooveShellExtensions.dll
otherwise you will break Excel).

Receive this error message on execution now:


The instruction at "0x00000000" referenced memory at "0x00000000". The memory could not be "read".
Last edited by DosFreak on Wed Apr 30, 2008 4:40 pm, edited 2 times in total.
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

PostPosted by OldCigarette » Thu Apr 24, 2008 3:59 am

I put together a quick set of fixes you can try. I don't have office 07 so I can't help much on the testing. This may also help out on the messenger and remote desktop.
http://www.sendspace.com/file/ay7uwg

Kernel32
QueryDepthSList
TzSpecificLocalTimeToSystemTime
SetDllDirectory

advapi32
Cred APIs

no GetGeoInfoW yet

There could be trouble with the cred api because there is no credentials possibly. If you run with this INI file
Code: Select all
[win2k_xp_kernel32]
debug=5

it might give a clue to the trouble. Honestly I haven't looked through the credential stuff to much but I sent the debug output of the console log. If you get a ton of crap you can try to turn it down.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

PostPosted by DosFreak » Thu Apr 24, 2008 11:52 am

Nice work! Definetly helped with Word since it's now working.

I also tested the other threads with the updated .dll's, so far Word is the only one that's now functional.

Pretty amazing to see almost all of the Office Suite working.
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

PostPosted by OldCigarette » Sun Apr 27, 2008 10:23 pm

Added a couple more
http://www.sendspace.com/file/jd0rg5

KERNEL32
GetGeoInfoW
GetDllDirectoryW
GetDllDirectoryA

SHELL32
SHGetFolderPathAndSubDirW - scanost scanpst, live messenger
SHGetFolderPathAndSubDirA
SHCreateFileExtractIconW - onenote onenotem

I had a look at credui.dll too, it's these are missing from advapi32
CredIsMarshaledCredentialW
CredpConvertCredential
CredpConvertTargetInfo
CredpDecodeCredential
I haven't found any documentation so I don't know what they do :(. I think I'll just end up stubbing them in.

The SHCreateShellItem issue is weird, msdn says it should be on win2k, but it doesn't seem to be there.

Good news about msword! Everything seem to be working ok except the error?
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

PostPosted by DosFreak » Wed Apr 30, 2008 4:48 pm

The error for MSWORD appears to happen on XP systems as well. Possibly an add-in or some such.


The updated wrapper files definetly fixed Publisher, Onenote and the SCANOST, SCANPST files.


I just noticed that OneNote really wants that grooveutil.dll file since when loading OneNote from the startmenu it complains about it missing (because I renamed it). OneNote seems to run fine though.

If I don't rename the .dll then Access and OneNote refuse to start (The onenote icon does stick in the system tray though)
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

PostPosted by DosFreak » Wed Apr 30, 2008 4:49 pm

If I can get Office 2007 to install by itself without using Altiris then I could probably not install Groove and the issue would be bypassed.
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm

PostPosted by OldCigarette » Sat May 03, 2008 3:25 pm

Why does it say it won't install? Version check?

Is the install an MSI file you could remove the version check from? Probably not but would be nice.

I think when I tried to install VS2008 I remember there being a check in the setup.exe which could be bypassed with the wrapper. It called a couple different setup.exe's for each part which had to each have the wrapper with them. There was another problem but I can't remember it right now, I think it may have been because I modified a msi file then the checksum didn't match.

My sister just bought 2007 so I should be able to take a look soon.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

PostPosted by OldCigarette » Sat May 17, 2008 5:03 pm

So I got a copy and played around with the installer a bit.

First thing I did was modify the PE to fix the subsystem version with PETools. Next if complains about your OS version. Placing the kernel32 wrapper with setup.exe seems to make it happy, but don't do version faking, if you do it will try to load uxtheme.dll and crash.

But all this changes the digital signature of setup.exe then the setup complains about that.
I'm pretty sure this is the signature check
Code: Select all
30014BC3   . E8 CB76FFFF     CALL setup.3000C293
30014BC8   . 84C0            TEST AL,AL
30014BCA   .^0F85 FBE7FFFF   JNZ setup.300133CB


A little while later it will try to call SetProcessDPIAware, I added this to the user32 wrapper but it seems to be ok without it.

If I skipped over this check in OllyDbg then it will start another process
Code: Select all
DW20.exe -d C:\DOCUME~1\user\LOCALS~1\Temp\SDW19.tmp


Which eventually gets the error has occurred and we will send a log to MS.
log wrote:PERF: TickCount=3343984 Name=OBootStrapper::Run Description=Begin function
Operating System version: 5.0.2195 Service Pack 4. Platform ID: 2
Running on a 32-bit operating system.
Command line: "K:\TEMP\office\setup.exe"
No command line arguments given
Verify file signature in "K:\TEMP\office\setup.exe"
Verify file signature in "K:\TEMP\office\ProPlusr.WW\OSETUP.DLL"
Using setup controller dll at [K:\TEMP\office\ProPlusr.WW\OSETUP.DLL].
PERF: TickCount=3355078 Name=OBootStrapper::Run Description=Calling RunSetup
Opening log file C:\DOCUME~1\user\LOCALS~1\Temp\\SetupExe(20080517124934530).log.
=========================================================================
PERF: TickCount=3355078 Name=RunSetup Description=Begin function
Catalyst execution began: 05/17/2008 12:49:34.
Setupexe Resiliency Mode is set to [PerformIfApplicable]; thus Resiliency is [disabled] for the [InstallExecutionMode]
Searching for updated versions of resource files under the 'updates' folder [K:\TEMP\office\updates].
Found [0] resource files under the update folder.
Searching for default versions of resource files under the folder [K:\TEMP\office].
Resource File Manager : Found (CultureTag=en-US) resource file at [K:\TEMP\office\Office.en-us\OSETUPUI.DLL].
Found [1] resource files under the default folder.
Resource File Manager : Current user's LCID is [1033].
Resource File Manager : Selecting resource file (File=K:\TEMP\office\Office.en-us\OSETUPUI.DLL) for CultureTag [en-US].
Running in [InstallExecutionMode]. Run from TEMP folder at [C:\DOCUME~1\user\LOCALS~1\Temp\\Setup00000530].
Loaded resource file [C:\DOCUME~1\user\LOCALS~1\Temp\\Setup00000530\OSETUPUI.DLL] (CultureTag=en-US).
Loaded Dll : K:\TEMP\office\ProPlusr.WW\OSETUP.DLL.
Catalyst version is : 12.0.4518.1014
JobExecutionMode is InstallExecutionMode.
Error: counted_ptr cannot apply operator '*' to an empty object pointer Type: NullReference.
Catalyst execution finished: 05/17/2008 12:49:43. Return code: 30058. Exception caught: NullReference.
PERF: TickCount=3363890 Name=RunSetup Description=End function


I'm going to look a bit more.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: Office 2007 (Only Outlook and InfoPath do not work)

PostPosted by DosFreak » Tue May 05, 2009 7:51 pm

Looks like we've got our first bot. Oh joy.
DosFreak
 
Posts: 237
Joined: Thu Feb 21, 2008 12:04 pm


Re: Office 2007 (Only Outlook and InfoPath do not work)

PostPosted by stevlina » Fri Jun 05, 2009 9:41 am

What is the OEM Academic Version of Office 2007 Professional?
What exactly is the OEM Academic Version of Office 2007 Professional? Will it be missing any features compared to the regular version? Why is it cheaper and is it worth getting?
_________________
yahoo keyword tool ~ overture ~ traffic estimator ~ adwords traffic estimator
stevlina
 
Posts: 1
Joined: Mon Jun 01, 2009 7:22 am

Re: Office 2007 (Only Outlook and InfoPath do not work)

PostPosted by OldBoy2k » Sat Jun 06, 2009 8:01 pm

w00t another b0t :(

Code: Select all
http://www.academicglobe.com/knowledgebase/view/119/whatistheoemacademicversionofoffice2007professional.html
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Office 2007 (Only Outlook and InfoPath do not work)

PostPosted by adun » Sun Sep 20, 2009 2:56 pm

I know this is an old topic, but I'm wondering if anybody was now able to edit the setup so that it would be able to install office 2007 on win2k without using altiris SVS
i dont mean if it works only if the installation works. And how it was able to avoid the os-check in the setup. That would be helpfull for other programms.
adun
 
Posts: 68
Joined: Sun Sep 20, 2009 10:49 am

Re: Office 2007 (Only Outlook and InfoPath do not work)

PostPosted by OldBoy2k » Sun Sep 20, 2009 11:54 pm

There are still some applications which need a lot of extracting work and preparation of the msi archives and removing the launch conditions in order to get them working and installed.Some of them use nasty OS checks like Office 2007 so we need to look into this problem again like OldCigarette said earlier.

In the Info&Tools section of this forum you can find solutions how to extract MSI archives manually so you could try it with the manual extraction and using the launch condition removing script 1.1.
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: Office 2007 (Only Outlook and InfoPath do not work)

PostPosted by adun » Mon Sep 21, 2009 9:27 am

I checked up the msi files with orca and could not really find a lounch condition. I think the lounch condition is hidden in the setup.exe file that can't be edited so easy
adun
 
Posts: 68
Joined: Sun Sep 20, 2009 10:49 am

Next

Return to Backporting Applications

Who is online

Users browsing this forum: No registered users and 1 guest