#30 [unshield] More flexible InstallShield version handling

open
nobody
None
5
2011-01-20
2011-01-20
Ignaz Forster
No

Following the discussion in #3134765 and #2481028 this patch adds two new features:
- Add support for new InstallShield header format
- Add option to specify header format via command line (-i VERSION)

As also discussed the patch additionally changes the behavior when the header format could not be detected: It will always use the newest algorithm instead the oldest one. This should make the current version more future proof, if one really has a very old archive it can be manually set with the new command line option.

This patch was tested with files from the following tickets (version numbers verified by looking at the corresponding setup.exe file):
- https://sourceforge.net/tracker/?func=detail&aid=3134765&group_id=30550&atid=399601 (IS 15)
- https://sourceforge.net/tracker/?func=detail&aid=1924929&group_id=30550&atid=399601 (IS 12)
- http://sourceforge.net/tracker/?func=detail&aid=2481028&group_id=30550&atid=399603 (IS 12)

Additionally the following files were tested:
http://www.looki.de/downloads/the_whispered_world_demo_v2_file_f38019.html (IS 14)
Two demos (Offroad, Waterloo) from GameStar 07/2001 (version 5 & 6)

Discussion

  • David Eriksson
    David Eriksson
    2011-01-22

    Thank you very much!

    Patch added as revision 3953.

     
  • Ignaz Forster
    Ignaz Forster
    2011-11-07

    Updated manpage with a description of the new option

     
    Attachments
  • Ignaz Forster
    Ignaz Forster
    2011-11-07

    I just noticed that I had forgotten to update the manpage - see the attached file.