WarpIN

From OS2World.com Wiki
Revision as of 23:43, 30 August 2017 by Ak120 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Wpilogo.png

WarpIN is a general-purpose installer for OS/2 with Unicode support.

It was intended to become the new general-purpose installer for OS/2 to overcome the current lack of a both flexible and user-friendly installer. This thing is available to any programmer, commercial, shareware, freeware or GPL, for free use.

Warpin.jpg

There are two reasons why you would want to use WarpIN:

  • You need WarpIN to install a certain piece of software, because the developer of that software has chosen to use WarpIN as the installer. For example, XWorkplace and Odin [netlabs.org] are now using WarpIN.
  • You develop software yourself and need an installer.

In both cases, WarpIN is for you. The package available from here contains all you need to install archives and to create archives yourself for other people to use.

WarpIN itself is released as open source under the GNU General Public Licence (GPL). But since the GPL does not restrict "usage", and "usage" with WarpIN is creating and installing archives, you can use it to distribute anything you like. That includes commercial software, of course, where you do not want to release the source code.

Contents

Features

The concept is to install WarpIN once and never remove it again. WarpIN is designed to become an integral part of your system. This has the following advantages:

  1. It can maintain a global database of installed packages and therefore can de-install everything that has ever been installed without leaving any trace.
  2. The global database can maintain package dependencies so that WarpIN will tell you if a package cannot be safely installed without installing another package first. Reversely, it will warn you if you attempt to de-install a package that is still required by other packages.
  3. You don't have to download the same installer with every package, which should reduce package sizes.

In addition, WarpIN can automatically do all system configuration (update CONFIG.SYS, register WPS classes, and create WPS objects). Even better, when a package is de-installed, it can undo all these changes again without a trace. All this happens without the user having to bother with the details.

For developers, WarpIN is very easy to use as well. It has a pretty powerful HTML-like script language which is easy to learn and has built-in commands for the most frequently needed purposes, such as CONFIG.SYS and WPS changes. If that is not sufficient for your software, WarpIN supports imbedded REXX routines in its scripts and can launch external programs during install.

WarpIN currently uses its own archive format with a WPI file extension. Internally, these archives use bzip2 compression, which is the most effective non-lossy compression technique currently available. The new file format was needed because there is currently no file format with directory support for bzip2 compression, unfortunately.

Using WPI also has the advantage that the user can simply download such a file, double-click on it, and installation will begin. There will be only one such ".WPI" file to download, unless the developer decides to split his software into several archives to allow for selective installs. No more unzipping to get the install program, no more README's about how to install.

To fix the download problems that many people were experiencing with the WPI file format (because Netscape tended to convert it to a text file), WarpIN V0.9.14 and higher also support self-installing executables.

Some people have also expressed concern about security issues because of this new file format. However, there is really no need to worry here.

  1. First of all, WarpIN comes with a text-mode utility which allows you to unpack files from the command line (similar to unzip) and inspect the script in each archive to see what it will be doing to your system. There is only one script in each WPI file, and it is the only place where WarpIN will take information about system changes from. There are no other hidden backdoors or anything in WarpIN. (Besides, the source code is public, so this could not be hidden anyway.)
  2. You can also view the archive's details from the WarpIN GUI while WarpIN is running. This will show you in detail what lines in CONFIG.SYS will be changed, for example. You can also tell WarpIN not to mess with your system, of course.
  3. In addition, WarpIN 0.9.12 and above will warn you if a script contains active REXX code that might (theoretically) do evil things to your system. But still note, this is only a theoretical possibility and requires that a) an evil developer would create such an archive and that b) you download and install that evil archive.

License

Open Source - GNU GPL

Authors

Links