Tailoring Your Frame's Hues: Custom Colour Arrangement Options
Tailoring Your Frame’s Hues: Custom Colour Arrangement Options
Table of Contents
- Introduction
- Registration
- Using Advanced Installer
- GUI
- Working with Projects
- Installer Project
* Product Information
* Resources
* Package Definition
* Requirements
* User Interface
* Themes
* Theme Settings Tab
* Images Tab
* Image Options Dialog - Installer Project
* Dialog frame customization
* Custom frame customization
* Text Style Tab
* Dialogs
* Slideshow
* Translations
* System Changes
* Server
* Custom Behavior - Patch Project
- Merge Module Project
- Updates Configuration Project
- Windows Store App Project
- Modification Package Project
- Optional Package Project
- Windows Mobile CAB Projects
- Visual Studio Extension Project
- Software Installer Wizards - Advanced Installer
- Visual Studio integration
- Alternative to AdminStudio/Wise
- Replace Wise
- Migrating from Visual Studio Installer
- Keyboard Shortcuts
- Shell Integration
- Command Line
- Advanced Installer PowerShell Automation Interfaces
- Features and Functionality
- Tutorials
- Samples
- How-tos
- FAQs
- Windows Installer
- Deployment Technologies
- IT Pro
- MSIX
- Video Tutorials
- Advanced Installer Blog
- Table of Contents
Disclaimer: This post includes affiliate links
If you click on a link and make a purchase, I may receive a commission at no extra cost to you.
Custom Frame colors configuration
The following article uses options that are available starting with the Enterprise edition and project type.
Customizing the Custom Frame with colors supersedes Installation user interface frame customization
The method presented in this article requires the AI_CF_TYPE property to be set to either 1 - always use a custom frame or 2 - use a custom frame only when the glass is not available(Vista and above)
If AI_CF_FRAME_STYLE is configured with NoInactive, the configuration of the Inactive state of all the other properties will be ignored and the normal state colors will be used.
Advanced color customization for the custom frame can be achieved using the following MSI properties:
Frame Base Color property
AI_CF_FRAME_BASE_COLOR
The base color from which frame all colors are derived and used to generate the custom frame colors. It is encoded in HTML format #RRGGBB.
Minimize and Close buttons properties
AI_CF_MINBTN_BASE_COLOR
The base color from which minimize button colors are derived. Color is encoded in HTML format #RRGGBB. If not specified, a default color will be used.
AI_CF_CLOSEBTN_BASE_COLOR
The base color from which close button colors are derived. Color is encoded in HTML format #RRGGBB. If not specified, a default color will be used.
Detailed customization
If FlatCaption is defined in AI_CF_FRAME_STYLE , the detailed customization will be ignored and the caption will be drawn with the base color (no gradients).
If FlatBorder is defined in AI_CF_FRAME_STYLE , the detailed customization will be ignored and the border will be drawn with a single color derived from the base one.
AI_CF_FRAME_BASE_INACTIVE_COLOR
The base color from which frame all colors are derived and used to generate the inactive frame color.
It is encoded in HTML format #RRGGBB.
AI_CF_FRAME_CAPTION2_COLORS
Caption2, Border1, Border2 and Border3 are optional. If not specified their corresponding colors are derived from AI_CF_FRAME_BASE_COLOR.
All custom frame caption2 colors Caption2 is the frame gradient end color (gradient from base color to caption2 color). Gradient style can be changed using AI_CF_FRAME_STYLE property.
The color is encoded in HTML format #RRGGBB.
Caption2;Caption2Inactive;Border1;Border2;Border3;BorderInactive1;BorderInactive2;BorderInactive3
Copy
AI_CF_FRAME_BORDER1_COLORS
Custom frame outer frame has three pixels. The color of these pixels can be changed using border1, border2 and border3 colors.
All custom frame border1 colors. Color is encoded in HTML format #RRGGBB.
Border1;Border1Inactive
Copy
AI_CF_FRAME_BORDER2_COLORS
All custom frame border2 colors. Color is encoded in HTML format #RRGGBB
Border2;Border2Inactive
Copy
AI_CF_FRAME_BORDER3_COLORS
All custom frame border3 colors. Color is encoded in HTML format #RRGGBB.
Border3;Border3Inactive
Copy
AI_CF_CLOSEBTN_COLORS
The close button colors. Normal color is set with AI_CF_CLOSEBTN_BASE_COLOR. The color is encoded in HTML format #RRGGBB.
InactiveColor;HotColor;HotInactiveColor;PressedColor
Copy
Leave an empty position if you want default color to be used:
InactiveColor;;;PressedColor
Copy
AI_CF_CLOSEBTN_BORDER_COLORS
The close button colors. The color is encoded in HTML format #RRGGBB.
NormalColor;InactiveColor;HotColor;HotInactiveColor;PressedColor
Copy
Leave an empty position if you want the default color to be used:
InactiveColor;;PressedColor
Copy
AI_CF_MINBTN_COLORS
The min button colors. Normal color is set with AI_CF_MINBTN_BASE_COLOR. The color is encoded in HTML format #RRGGBB.
InactiveColor;HotColor;HotInactiveColor;PressedColor
Copy
Leave an empty position if you want the default color to be used:
InactiveColor;;;PressedColor
Copy
AI_CF_MINBTN_BORDER_COLORS
The close button colors. Color is encoded in HTML format #RRGGBB.
NormalColor;InactiveColor;HotColor;HotInactiveColor;PressedColor
Copy
Leave an empty position if you want the default color to be used:
InactiveColor;;PressedColor
Copy
AI_CF_SYS_BTNS_BORDER_WIDTH
System buttons (min, close) border width (can be 1, 2 etc). If not set border width is 1
AI_CF_FRAME_METRICS
Custom frame metrics. Note: Used only if AI_CF_FRAME_BASE_COLOR is not empty. If empty, the custom frame metrics are set from custom frame images.
- Caption size
- X, Y frame border size
- min, close button width, height
Property format: CaptionSize;xFrame;yFrame;sysBtnWidth;sysBtnHeight
Leave an empty position if you want to use system metric for that field.
Example:
CaptionSize;;;sysBtnWidth;sysBtnHeight
Copy
Sizes are in pixels and 96 DPI. They are automatically scaled when loaded if DPI is not 96.
AI_CF_FRAME_STYLE
Custom frame style
Property format: FlatCaption;FlatBorder;NoInactive
Values can be 0 or 1, true, false, ‘’(empty) or name like “FlatCaption” etc. Any other value is considered false
All ‘;’ separators are mandatory
- FlatCaption means that the caption is drawn with the base color (no gradients)
- FlatBoder means that border is drawn with a single color derived from the base one instead of three colors
- NoInactive means that inactive state is the same as normal state (colors used for normal state are used also for inactive state)
Did you find this page useful?
Please give it a rating:
Thanks!
Report a problem on this page
Information is incorrect or missing
Information is unclear or confusing
Something else
Can you tell us what’s wrong?
Send message
Also read:
- [New] Proven Picks for High-Quality Screenshot Tools on a Budget
- [New] Surveying with Style Instagram's Polling Protocols Explained
- [Updated] 2024 Approved Skype Audio Archive MP3 Techniques, Free Edition
- Comprehensive Guide on iPhone XS Recovery Using Backup Data
- Comprehensive Guide to Customizing iXML File Attributes
- How to Fake Snapchat Location on Infinix GT 10 Pro | Dr.fone
- How to Fix Life360 Shows Wrong Location On ZTE Blade A73 5G? | Dr.fone
- In 2024, How to Reset Gmail Password on Samsung Galaxy F15 5G Devices
- In-Depth Look at the Linksys EA9500 Router: Advanced Tech for Seamless Connectivity
- Mac Users' Guide: Effortlessly Recording Impeccable Sounds for No Cost
- Simple Techniques for Removing Dark Backgrounds From Photos - Top Tips for 2E23
- Windows Whisperer: Learning to Activate the Hidden Character Tracker
- Title: Tailoring Your Frame's Hues: Custom Colour Arrangement Options
- Author: Joseph
- Created at : 2024-10-03 19:16:13
- Updated at : 2024-10-11 06:42:58
- Link: https://fox-sure.techidaily.com/tailoring-your-frames-hues-custom-colour-arrangement-options/
- License: This work is licensed under CC BY-NC-SA 4.0.