Sunday, May 24, 2020

Install Office 97 using wine in Ubuntu 64bit OS

REMOVE OLD WINE

sudo apt remove wine wine1.8 wine-stable libwine* fonts-wine* && sudo apt autoremove


INSTALL WINE:

Follow instructions here

https://wiki.winehq.org/Ubuntu

If your system is 64 bit, enable 32 bit architecture (if you haven't already):
sudo dpkg --add-architecture i386

Add the repository:
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/


sudo apt-get install --install-recommends winehq-stable


Menu > Adminstration > Software Manager
search WINE > install
search WINETRICKS > install

 
Install Office97
DO CUSTOM INSTALL
do not install access wizards
do not install Binder, Outlook

INSTALL OFFICE SERVICE RELEASE 1
INSTALL OFFICE SERIVCE RELEASE 2
INSTALL JETPACK35

home > .wine > drive_c > program files (x86) > Microsoft Office > office > msaccess.exe





IF WORKGROUP ERROR
run WRKGADM.EXE
create
oem/oem/orings
c:\windows\system32\system.mdw (all caps)


#No DOSBOX for Lyon. 
search DOSBOX Emulator > install
menu> games> DOSBox Emulator (right click) > Add to desktop
run DOSBox once to create .dosbox
copy dosbox-0.74.conf to .dosbox

rename DOSBox to LYON
L=lyon
O=Orings

copy DATA to .wine drive_c root
copy LYON to .wine drive_c root
map to Y: drive (old Z:)


IVT
OPEN EXCEL
OPEN WORD
OPEN ACCESS
# Run LYON DOSBOX

while opening access database,
TOO COMPLICATED OR COMPLEX ERROR
OPEN MODULE (CREATE A NEW ONE IF NEED TO)
TOOLS > REFERENCE
REMOVE MISSING REFERENCES. 
media player is missing

Backup of your .wine folder
cp -R .wine .wine-<insert-current-date>




****************************************************************
DON'T NEED THESE ANYMORE (SKIPPED)

INSTALL OPENGL and 32bit libraries

Create a 32-bit Wine prefix since you need a 32-bit Wine environment to run 32-bit Windows applications.

WINEPREFIX=~/home/[USERNAME]/.wine WINEARCH=win32 winetricks dotnet20 msxml6 corefonts vcrun2015

WINE CONFIGURATION
For WINE 1.x, use Windows XP.  
WINEPREFIX=~/.wine winecfg

select “Run Winecfg” Go to the Libraries tab.
Add
comctl32
gdiplus
msxml3
msxml6
richedit20
richedit30

You should see "*msxml6 (native, built-in)" in the "Existing overrides" section.

Highlight it and click Edit and select "Native (Windows)" and click OK. Now, it should show up as "*msxml6 (native)"

Then add the "riched20" and "gdiplus" libraries from the "New override for library" section and make sure these are also set as "Native"





CREATE 32-BIT WINEPREFIX:
Terminal >
WINEARCH=win32 WINEPREFIX=~/win32 winecfg

Application > Default Settings > Windows XP
Libraries > New override for library > ????????????????????

WINETRICKS:
terminal >
env WINEPREFIX=~/win32 winetricks

select "Select the default wineprefix"
    Winetricks - current prefix is "/home/[USERNAME]/win32/"

INSTALL A WINDOWS DLL OR COMPONENT
comctl32
dotnet20
gdiplus
gdiplus-winxp
jet40 (this is absolutely necessary)
jet40 needs ~oem04/.cache/winetricks/mdac27/mdac_typ.exe

riched20 (skip it fails with sha1 sum mismatch)
riched30 (skip it fails with sha1 sum mismatch)

vb6run

INSTALL A FONT
select "Install a font"
corefonts         


Install Office97
WINEPREFIX=~/win32 wine /home/oem04/Downloads/Off97-Pro/SETUP/DISK1/SETUP.EXE
do custom install
msaccess turn off wizard

to run Winword link
env WINEPREFIX="/home/oem04/win32" wine C:\\windows\\command\\start.exe /Unix /home/oem04/win32/dosdevices/c:/users/oem04/Start\ Menu/Programs/Microsoft\ Office/Microsoft\ Word.lnk

INSTALL OFFICE SERVICE RELEASE 1
WINEPREFIX=~/win32 wine /home/oem04/Downloads/Service Release 1/sr1off97.exe

INSTALL OFFICE SERIVCE RELEASE 2

PeopleSpace International