twogood / unshield

Tool and library to extract CAB files from InstallShield installers
MIT License
340 stars 73 forks source link

Extraction Failure #134

Closed dgcampea closed 2 years ago

dgcampea commented 2 years ago

Version: 1.5.1; 1.4 File: Win_DC_2.73.zip, sha256sum: eedbdf5535f0c9bfb917a2fa1b392f6ee5b54e3bd3204d9f3e8d02ee5d44fc7b Output:

$ src/unshield -V /in/DC_Setup_2-73.exe 
Unshield version 1.5.1. MIT License. (C) 2003-2021 David Eriksson.

$ src/unshield -D3 l /in/DC_Setup_2-73.exe 
[unshield_fopen_for_reading:121] File /in/DC_Setup_1.hdr not found even case insensitive

[unshield_read_headers:232] Could not open .hdr file 1. Reading header from .cab file 1 instead.
[unshield_fopen_for_reading:121] File /in/DC_Setup_1.cab not found even case insensitive

[unshield_open_force_version:364] Failed to read header files
Failed to open /in/DC_Setup_2-73.exe as an InstallShield Cabinet File

$ src/unshield -D3 x /in/DC_Setup_2-73.exe 
[unshield_fopen_for_reading:121] File /in/DC_Setup_1.hdr not found even case insensitive

[unshield_read_headers:232] Could not open .hdr file 1. Reading header from .cab file 1 instead.
[unshield_fopen_for_reading:121] File /in/DC_Setup_1.cab not found even case insensitive

[unshield_open_force_version:364] Failed to read header files
Failed to open /in/DC_Setup_2-73.exe as an InstallShield Cabinet File
twogood commented 2 years ago

unshield does not support .exe files, you have to extract any .cab and .hdr files from the .exe by some other means