Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Sample .cub File

This sample illustrates the layout of a .cub file containing two ICEs. The installer executes the custom actions in the sequence: ICE01 and ICE08.

The custom action ICE01 is a Custom Action Type 1. It is an entry point to a DLL that is stored as a stream in the .cub file. This stream is listed in the Binary Table ice.dll.

The custom action ICE08 is a Custom Action Type 6. It is an entry point to a function in VBScript that is stored as a stream in the .cub file. This stream is listed in the Binary Table as ice.vbs.

Binary Table

NameData
ice.vbsUnformatted binary data of ice.vbs
ice.dllUnformatted binary data of ice.dll

 

CustomAction Table

ActionTypeSourceTarget
ICE011ice.dllICE01
ICE086ice.vbsICE02

 

_ICESequence Table

ActionConditionSequence
ICE0110
ICE0820

 

_Special Table

ICE01 and ICE08 do not require the inclusion of special processing tables. When the .cub file contains special tables they must also be included in the _Validation Table.

_Validation Table

TableColumnNullableMinValueMaxValueKeyTableKeyColumnCategorySetDescription
BinaryNameN Identifier
BinaryDataN Binary
CustomActionActionN Identifier
CustomActionTypeN Integer
CustomActionSourceY CustomSource
CustomActionTargetY Formatted
_ICESequenceActionN Identifier
_ICESequenceConditionY Condition
_ICESequenceSequenceY Integer

 

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.