Some additional observations reagrding iexpress SED files:
Extended syntax for Taget OS check:
%OSWarn% is text that is displayed
The last parameter may be OK, YesNo or OKCancel, it describes the behavior in case of error:
OK: just OK button is shown and install will not start.
OKCancel: Cancel is selected by default, OK will start the installation
YesNo: No is selected by default, Yes will start the installation
OSWarn="This Service Pack is for Windows 98 Second Edition Only!"
The same can be used for TargetFileVersion. The syntax seems to be:
For one file:
For more files:
#W = %windir%
#S = %windir%\SYSTEM
#A = Application, full patch is checked
If not found, search is repeated with .DLL suffix added.
for SE SP:
BrowserWarn="Internet Explorer 6.0 SP1 should be installed before SESP!"
MEWarn="98SE2ME seems to be installed, do you want to continue?"
Both may be combined.
Other possible directives in [Options] section, not used in SESP SED file:
PackageInstallSpace(KB)=10000 - self-explanatory
KeepCabinet=1 - do not delete the CAB file after package creation
MultiInstanceCheck=1 - not tested yet
CheckAdminRights=1 - probably for NT only
Here I don't know the purpose:
and also not tested wher and how to use:
It seems I should really ask Microsoft if there is any detail specification of SED/CDF files.
And something about iexpress packages. They are created by adding resources to WEXTRACT.EXE, so any resource editor can be used check what the package contains and what it does. It can be used for checking unknown packages or testing if everyting is correct for newly built package before distributing.
The resource type is RCData and there are the following resources, some of them are optional:
ADMQCMD - AdminQuietInstCmd
CABINET - full cabinet file, generated by iexpress
EXTRACTOPT - HideExtractAnimation
FILESIZES - generated by iexpress
FINISHMSG - FinishMessage
INSTANCECHECK - MultiInstanceCheck
LICENSE - DisplayLicense
PACKINSTSPACE - PackageInstallSpace(KB)
POSTRUNPROGRAM - PostInstallCmd
REBOOT - RebootMode
RUNPROGRAM - AppLaunched
SHOWWINDOW - ShowInstallProgramWindow
TITLE - FriendlyName
UPROMPT - InstallPrompt
USRQCMD - UserQuietInstCmd
VERCHECK - TargetNTVersion, TargetWin9xVersion, TargetFileVersion
So any coder could easily write small utility that would re-create SED file from existing iexpress package and/or display all the settings.