Configurable Component Example
From Windows Installer
In this example, the following ModuleConfiguration and ModuleSubstitution tables allows the module consumer to independently configure the Password attribute for an edit control, the checksum attribute for a file, and the compressed attribute for the same file.
| Table | Row | Column | Value |
|---|---|---|---|
| Control | Dialog1;Edit1 | Attributes | [=Password] |
| File | File1 | Attributes | [=Checksum][=Compressed] |
| Name | Format | Type | ContextData | DefaultValue | Attributes | DisplayName | Description |
|---|---|---|---|---|---|---|---|
| Password | Bitfield | 2097152;True=2097152;False=0 | 0 | 0 | |||
| Checksum | Bitfield | 1024;Checksum=1024;No Checksum=0 | 0 | 0 | |||
| Compressed | Bitfield | 24576;Compressed=16384;Uncompressed=8192 | 8192 | 0 |
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.