#1 05 Apr 2017 02:06

carlos
Member
From: Chile
Registered: 04 Nov 2008
Posts: 246
Website

diamond.exe is still required 20 years after, curiosity

I try create a cabinet file with quantum compression, using iexpress.exe. But It requires diamond.exe. It is not present on windows 10.

diamond_required.png

I not know all the story, seems that diamond.exe was renamed makecab.exe round 1997.
Anyways: diamond.exe support quantum compression until version 1.00.0530 (03/29/95), version 1.00.0540 (02/01/96) removed the feature.

I used this sed script for iexpress:
script.sed

[Version]
Class=IEXPRESS
SEDVersion=3
[Options]
PackagePurpose=CreateCAB
ShowInstallProgramWindow=0
HideExtractAnimation=0
UseLongFileName=1
InsideCompressed=0
CAB_FixedSize=0
CAB_ResvCodeSigning=0
InsideCompressed=1
CompressionType=QUANTUM
RebootMode=I
InstallPrompt=%InstallPrompt%
DisplayLicense=%DisplayLicense%
FinishMessage=%FinishMessage%
TargetName=%TargetName%
FriendlyName=%FriendlyName%
AppLaunched=%AppLaunched%
PostInstallCmd=%PostInstallCmd%
AdminQuietInstCmd=%AdminQuietInstCmd%
UserQuietInstCmd=%UserQuietInstCmd%
SourceMediaLabel=%SourceMediaLabel%
SourceFiles=SourceFiles
[Strings]
InstallPrompt=
DisplayLicense=
FinishMessage=
TargetName=foo.cab
FriendlyName=IExpress Wizard
AppLaunched=
PostInstallCmd=
AdminQuietInstCmd=
UserQuietInstCmd=
SourceMediaLabel=Application Source Media
FILE0=foo.txt
[SourceFiles]
SourceFiles0=.
[SourceFiles0]
%FILE0%=

And run:

iexpress.exe /n script.sed

I put diamond.exe in system32 folder and It create the cabinet with quantum compression.
Iexpress create a ddf file with directive, then it run diamond.exe /f file.ddf

If diamond.exe was renamed to makecab 20 years ago, and take off the quantum compression method, is interesting the message of iexpress.exe. Anyways it works if you provide the diamond.exe.

I found diamond.exe in the attached file MCABIN10.ZIP here:

http://www.msfn.org/board/topic/149063-requesting-windows-95-updates-tools-etc/#comment-951929

Last edited by carlos (05 Apr 2017 13:22)

Offline

Board footer

Powered by FluxBB