VOICE Home Page: http://www.os2voice.org |
[Newsletter Index] |
By Herwig
Bauernfeind © September 2001, Translation: Philhard
Ackermann |
This is the first part of an upcoming series of newsletters concerning the installation
of Windows programs to be used with Odin on OS/2, which plans to deal with the following
questions:
This is rather annoying for many reasons, because most of these installation
packages perform a bit more than just unpacking an archive and copying files to
their (hopefully) proper locations.
There are several reasons why this might fail to work:
But things have changed - to the better:
Unfortunately on explicit request of its author, I'm not allowed to say anything
more about it.
One of these days, when Odin is 'complete', they will work.
Doing this you're almost involuntary approaching the hacking / cracking scene,
and in fact most of the utilities needed to accomplish this task can only be found
on some hacker's or cracker's homepage. By using such tools you could be in danger
of infringing software licenses under certain circumstances, but unfortunately I
can't deal with this aspect in my article.
Like with OS/2 there are quite many installation packages for Windows.
Before you can expect to successfully unpack a given archive you'll need to find
out what kind of archive you're dealing with. The most common types you'll encounter
are:
Hyperview is to be found at Hobbes: http://hobbes.nmsu.edu/pub/os2/util/browser/hv34.zip.
Hyperview is a file viewer dealing with a vast number of file formats, and is
even capable of viewing ZIP files. Please note: HyperView needs unzip release 5.12,
it doesn't work with newer versions.
Basically you can use any hexadecimal file editor that lets you search for textual
strings whithin binary files. Thus you take a look inside your installation files
using one of these utilities and search for strings like "Microsoft",
"InstallShield", "Wise" oder "WinZIP".
And then, according to what you've found, you simply use the appropriate tool
to unpack the installation archives.
Please note: An extension of .CAB does not automatically imply that the
package is from Microsoft, as more recent InstallShield packages also sport .CAB
files being of a different format than their Windows counterparts and therefore
can't be unpacked with Microsoft's Extract.EXE und Extrac32.EXE.
The following table shows what tool to use with which type of package:
|
|
|
|
|
Extract.EXE |
DOS |
DOS-Box |
MS-CAB |
useable |
Extrac32.EXE |
Win32 |
PEC.EXE |
MS-CAB |
useable |
stix.exe |
OS/2 |
native |
IS ver 3.x |
useable |
i5comp.EXE |
Win32 |
PEC.EXE |
IS CAB ver.5.x |
useable |
i6comp.EXE |
Win32 |
PEC.EXE |
IS CAB ver.5.x |
useable |
issdec2.EXE |
Win32 |
PEC.EXE |
IS .INS |
useable |
e wise |
OS/2, Win32 |
native |
Wise (EXE) |
useable |
WinZIP |
Win16 |
WinOS2 |
.EXE |
useable |
Win32 |
PE.EXE |
.EXE |
useable |
MS .... Microsoft
IS .... InstallShield
All of these programs work flawlessly with OS/2, which means that according to
my experiences they don't produce garbage and they don't crash.
The Microsoft programs Extract.EXE and Extrac32.EXE are shipped with every Windows95/98/ME
CD, Extract.EXE being located at \WinXX while Extrac32.EXE is hidden in
one of those .CAB files.
On a standard Windows95/98/ME machine you'll find Extract.EXE in the C:\Windows\Command
directory and Extrac32.EXE in C:\Windows.
You will find most of the other programs at:
http://www.programmerstools.com/decompilers.htm
Normally all of them are CLI programms, there's hardly ever any
GUI, but their usage is no more difficult than that of InfoZIPs ZIP/UNZIP or IBMs
PACK/UNPACK and similar packer / unpacker programs.
WinZip from Nico Mak Computing is an exeption from this rule
(who of us still knows that Nico Mak has originally been an OS/2 user and that there
has been a program named PMZIP long before WinZip came out?), because all
packages based on Winzip I know of simply are self-extracting ZIP files, which can
easily unpacked on OS/2 with any UNZIP from InfoZip.
What's more, any 16 bit Winzip packages can be run flawlessly
on WIN-OS/2, whereas the 32 bit packages also flawlessly work with Odin. Even Winzip
itself can be used with Odin (though there have been and/or still are some crashes).
In fine, when dealing with WinZip installation packages you're not likely to encounter
a great deal of problems.
After having collected everything we need to unpack our installation
archives manually we will be dealing with the more practical problems you may get
on the path to a well functioning Win32 program in the next part of the series.
References:
|