Human Readable   

 

     
   
     

WINE—Day 57

© Copyright Darrell Anderson.

Success! Well, sort of.

I performed a methodical reinstallation of WINE and eventually got things to work, especially VBA.

My basic plan went like this:

  1. Rename the existing .wine directory.
  2. Run WINE to create a new .wine directory.
  3. Create directory .wine/drive_d.
  4. Copy drive_c/Program Files/Common Files to drive_d/Common Files.
  5. Create drive_d:\Media.
  6. Delete:
  • drive_c/windows/profiles/slacker/My Documents
  • drive_c/temp
  • drive_c/My Documents
  • drive_c/Program Files
  • drive_c/windows/Fonts
  • drive_c/windows/Application Data
  1. Rename /profiles/slacker/Temporary Internet Files to Cache
  2. Edit drive_c/windows/WIN.INI:
  • [Desktop]
  • MenuFontSize=17
  • MenuFont=Arial
  1. Import HK_All_Pre.reg ( short list of registry entries I exported from Windows)
  2. Verify system.reg and user.reg show the following:
  • Change c:\\program files to d:
  • RegisteredOrganization = None
  • RegisteredOwner = Nobody
  • Environment/ProgramFiles = d:
  • Environment/Temp = c:\\windows\\temp
  • Environment/Tmp = c:\\windows\\temp
  • Delete Software\\Microsoft\\Windows\\CurrentVersion\\Telephony\\Country List\\1 -> zzz
  • LogPixels = 88H
  1. Create/verify sym links:
  • drive_c to .wine/dosdevices/c:
  • .wine/dosdevices/drive_d to .wine/dosdevices/d:
  • /media/floppy to .wine/dosdevices/a:
  • /media/cdwriter to .wine/dosdevices/g:
  • /media/cdrom to .wine/dosdevices/j:
  • /dev/lp0 to .wine/dosdevices/lpt1
  • /usr/local/share/fonts/ttf to drive_c/Windows/Fonts
  1. Delete sym link to z:
  2. Mount floppy and CD.
  3. Install Office 97 to d:\MSOffice.
  4. Install Office 97 SR-2b.

For some reason I was able this time to successfully install the SR-2 update. When I tried to run the Equation Editor I received a message about being unable to open the server. I never before had received this message. I then successfully tried running the editor outside Word. I knew the problem likely was OLE (Object Linking and Embedding) related. A few moments later I recalled how some people were able to get various programs running by using the DLLOVERRIDES switch when running WINE.

First I tried:

DLLOVERRIDES=”ole32=n” wine winword.exe

No luck. Then I tried:

DLLOVERRIDES=”ole32,oleaut32,rpcrt4=n” wine winword.exe

I finally was able to open the VB Editor and I tested a couple of macros successfully. The equation editor opened fine.

I then added those three DLL overrides to my .wine/config file. To this point I had no config file, but now I created one. I then grabbed some more switches from the unused Crossover Office config file and other various notes I had taken while surfing.

My problem with Excel not saving toolbar changes had to do with me copying my original XLB file and then not changing the permissions to 644. Um, I had copied from a read-only mount, remember? Therefore, I had transferred the file with 444 permissions.

There are several problems remaining to resolve to provide a working environment. Help files do not open and although they are unimportant to me in Word, I need those help files for the VBE environment. I cannot yet work in Word with the VB Editor open. Actually, I noticed that any time two Windows programs are open then things begin to stop working.

I’ve adjusted both menu and dialog box fonts, but message box and tool tip fonts are too small for comfort. Strangely the File New dialog box shows all black icons. I probably have no choice about the awful tool tip and message box fonts, but I need to resolve the problem with running a real-time VB editing environment.

Several keyboard shortcuts, such as Ctrl-Alt (Num)-dash for an em-dash, do not work. I created a new shortcut of Ctrl-Shift-(Num)-dash.

Another quirk that unsettles me is Excel and PowerPoint both modify the date stamp and archive bit on files despite not saving or making any changes to a file. Word does not do this. I changed my fstab to add noatime to my vfat partitions but this had no effect. I don’t like this because this messes with my backup strategy from my windows side. More importantly, I just don’t like the idea that something changes when no changes actually occurred.

Finis.

Table of Contents