Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Zimbra Desktop 7.2.2 (potential Outlook replacement)

- - - - -

  • Please log in to reply
5 replies to this topic

#1
jds

jds

    -DOS+

  • Member
  • PipPipPipPip
  • 603 posts
  • Joined 03-June 08
  • OS:98SE
  • Country: Country Flag

Due to extremely poor performance with the newer MS servers, I had a look around for a potential replacement for Outlook (2000 and XP versions, both are terrible). The one that seemed most complete, including support for Exchange Server, was Zimbra ...

OK, so I downloaded the file 'zdesktop_7_2_2_ga_b11951_20130318071431_win32.msi' (MD5=9bfac177eba208553ae2940f92befe9f) and proceeded to hack this XP+ package as follows :

1. Open in hex editor and at address 5A85FCC, change 2C 01 to C8 00 (surrounding bytes = 01 03 00 00 00 2C 01 00 00 03).
2. Open in Orca and delete the VersionNT check line in 'LaunchCondition'. Save (don't use Save As).
3. Run the MSI.
4. In "\Program Files\Zimbra\Zimbra Desktop\win32\jre\bin" rename 'plugin2' directory to 'plugin2_inhibit'.
5. Copy 'cscript.exe' from "\WINDOWS\COMMAND\" to "\WINDOWS\SYSTEM\".

OK, now Zimbra Desktop is pretty much installed. It has few dependencies beyond what W98 provides, and KernelEx can probably provide the rest.

However, it is launched by a VBS script called 'zdrun.vbs' and that gives the following error at line 250 (copy the shortcut command and run from a command prompt to see the error) : "Microsoft VBScript runtime error: File name or class name not found during Automation operation:'GetObject'". Trying to run the Zimbra executable directly just produces an error message about a missing configuration file, so presumably, that is supplied by this script.

So, is anyone familiar with VB script ... ?

Joe.

 

Edits : In step 1, eliminated first byte of the surrounding context (can be used to find equivalent patches for similar MSI files, such as earlier versions of Zimbra). In step 5, changed edit of Zimbra shortcut path to a file copy of 'cscript.exe' instead (solves other instances of the path issue).


Edited by jds, 27 August 2013 - 04:00 AM.



How to remove advertisement from MSFN

#2
Steven W

Steven W

    Advanced Member

  • Member
  • PipPipPip
  • 365 posts
  • Joined 02-June 06

Not sure how much help it will be but, at minimum, Windows Management Instrumentation will need to be running:

 

http://support.microsoft.com/kb/322363

 

Note there is a section for 98 and 98 SE. 

 

 

You *may* also need DSClient:

 

http://www.imss.caltech.edu/node/414

 

This page has a link to the setup under the section 'Where Can I Get The DSClient?'

 

I think there was hotfix for this at some point in time.

 

Edit:

 

Should've figured:

 

http://www.mdgx.com/add.htm#WMI

 

http://www.mdgx.com/add.htm#ADS


Edited by Steven W, 28 July 2013 - 03:47 PM.


#3
jds

jds

    -DOS+

  • Member
  • PipPipPipPip
  • 603 posts
  • Joined 03-June 08
  • OS:98SE
  • Country: Country Flag

Not sure how much help it will be but, at minimum, Windows Management Instrumentation will need to be running:

 

http://support.microsoft.com/kb/322363

 

Note there is a section for 98 and 98 SE. 

 

 

You *may* also need DSClient:

 

http://www.imss.caltech.edu/node/414

 

This page has a link to the setup under the section 'Where Can I Get The DSClient?'

 

I think there was hotfix for this at some point in time.

 

Edit:

 

Should've figured:

 

http://www.mdgx.com/add.htm#WMI

 

http://www.mdgx.com/add.htm#ADS

 

Yes, you are correct. The original error was resolved by installing WMI. I don't know if DSClient is also needed, as I have that installed already for other stuff anyway.

 

After resolving this first VBS error, I implemented a couple of work-arounds for subsequent script errors, as below :

ASCII differences between ORIGINAL.VBS and MODIFIED.VBS

Replace lines 201-208 in ORIGINAL.VBS
<     For Each oProc in oProcs
<         If Instr(1, oProc.CommandLine, WScript.ScriptName, 1) > 0 Then
<             If bFound Then
<                 WScript.Quit
<             End If
<             bFound = true
<         End If
<     Next
with lines 201-208 from MODIFIED.VBS
> '     For Each oProc in oProcs
> '         If Instr(1, oProc.CommandLine, WScript.ScriptName, 1) > 0 Then
> '             If bFound Then
> '                 WScript.Quit
> '             End If
> '             bFound = true
> '         End If
> '     Next

Replace line 261 in ORIGINAL.VBS
< sLocalAppDir = oFso.getFolder(oShellApp.Namespace(&H1c&).Self.Path).ShortPath
with lines 261-262 from MODIFIED.VBS
> ' sLocalAppDir = oFso.getFolder(oShellApp.Namespace(&H1c&).Self.Path).ShortPath
> sLocalAppDir = "E:\Progra~1"

Now what seems to happen is that the script produces one or more temporary sub-directories in the Zimbra installation directory in "\Program Files\Zimbra", whose contents are deleted. However, there seems to be a problem with the way it determines the path of these temporary directories, so that it also ends up deleting the contents of the whole Zimbra installation directory.

 

That's as far as I've managed to progress this thing so far.

 

Joe.


Edited by jds, 27 August 2013 - 04:15 AM.


#4
Steven W

Steven W

    Advanced Member

  • Member
  • PipPipPip
  • 365 posts
  • Joined 02-June 06

Wish I were more of a VBscript guru, but alas....  

 

My thinking on the DSClient is that it will be necessary if you do get the thing up and running and try to connect to an Exchange Server that requires NTLM authentication. I could be mistaken, I did say *may*.

 

As for now, could you enlighten us with any particular error messages etc. from both the unmodded and modded vbs files?

 

Edit:

 

Those reading this should realize that there are some differences in VB script implementations on NT systems vs 9x systems.  I take it that use of the single quote is the equivalent of "commenting out" lines.


Edited by Steven W, 27 August 2013 - 03:10 PM.


#5
buyerninety

buyerninety

    Dude,¯\_{ö}_/¯ where's my avatar?

  • Member
  • PipPip
  • 142 posts
  • Joined 18-August 10
  • OS:none specified
  • Country: Country Flag
Correct;http://technet.micro...76989.aspx#EBAA
... however, I see in ZDRUN.VBS this line (and occaisionally like elsewhere, on other webpages);
"where Name='cscript.exe'",, 48) ' 48: forward-only enumerator + return-immediately
... so I am unsure if a set of 'single quote's, when nestled within double quotes, is treated as
if it were simply double quotes?
Incidently, if jds is holding back on posting the }modified{ version of zdrun.vbs (all 250+ lines of it)
because it would make a loong post... well my vote is, jds, post away.
(Swing Away, Merrill. Merrill: Swing Away.)

Edited by buyerninety, 28 August 2013 - 09:23 AM.


#6
Steven W

Steven W

    Advanced Member

  • Member
  • PipPipPip
  • 365 posts
  • Joined 02-June 06

I was sent a private message regarding this post and it included the script.  I can only assume that it is accurate and unmodified:

 

Spoiler

 

Wow!  I can see Java is required.  I'm getting less impressed by the second. 

 

Edit: The whole thing is a Java app.  I didn't realize.

 

Further Edit:

 

In case you're wondering what Prism is in this context:

 

https://wiki.mozilla.org/Prism


Edited by Steven W, 28 August 2013 - 02:56 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users