Hi! I want to ask two questions about sminstcab.bms:
1. Is there any way to keep the folder structure when extracting Smart Install Maker setup files? 2. Why are two cabinets as output? (Setup_Disk1.cab and Setup_Disk2.cab) 3. Why Windows can open the cabinet but not extract it? (It prompts me for a cab file called
1 and 2) I guess this information is not available in the installer but I'm not sure because I don't remember all the details of this format (it's a very long script). The header of the script gives some additional information: "compressed installers (default) are converted in CAB archives while the uncompressed ones are extracted directly". I guess your 2 questions are just related to the third one.
3) Try 7-zip or cabextract or any other cab tool. The CAB archives contain all the original filenames.
aluigi wrote:1 and 2) I guess this information is not available in the installer but I'm not sure because I don't remember all the details of this format (it's a very long script). The header of the script gives some additional information: "compressed installers (default) are converted in CAB archives while the uncompressed ones are extracted directly". I guess your 2 questions are just related to the third one.
3) Try 7-zip or cabextract or any other cab tool. The CAB archives contain all the original filenames.
1 and 2)
The installer works perfectly, so I think that the cab should be good (no corruption).
Also the directory structure is present in the installer (see example at the bottom of my post)
I also attach SIM unpacker (a ugly and bad unpacker that I've found searching on google). However, a good thing is that this unpacker dumps the "raw" contents of the installer (without filenames).
Yes. I've downloaded a free copy of Smart Install Maker. Now I'll send you a struct definition (In QuickBMS -as I'm very happy with this discovery-) of installer.config.
P. D.: How can I get fields splitted by \0 on QuickBMS?
The installer.config contains a list of fields split with 0x00 or 0x0D 0x0A 0x0D 0x0A. How can I do a list to say you "The first \0 separated field is that"?
I have released the script 0.3 that supports all the folders I have listed before, it's compatible with cabextract and works correctly because the previous one returned wrong folders with the installer you provided. It has also a variable at its beginning that dumps the original cabs without filenames replacing if set to 1: http://aluigi.org/bms/sminstcab.bms
- GUI mode activated, remember that the tool works also from command-line where are available various options like folder scanning, filters and so on
- select the BMS script or plugin to use - select the input archives/files to extract, type * or "" for whole folder and subfolders - select the output folder where extracting the files - open input file C:\Documents and Settings\Windows XP\Escritorio\Setup.exe - open script Z:\Descargas\sminstcab.bms - set output folder C:\Documents and Settings\Windows XP\Escritorio\Setup\outbms
In the above MEGA link you have the setup. Can you extract it in your computer? If not, then the problem is of the script. How are you determining if it's a multipart setup?