Tailored Functionality Attributes
Tailored Functionality Attributes
Table of Contents
- Introduction
- Registration
- Using Advanced Installer
- GUI
- Working with Projects
- Installer Project
* Product Information
* Resources
* Package Definition
* Requirements
* User Interface
* System Changes
* Server
* Custom Behavior
* Search
* Properties Page
* Custom Actions
* Custom Action Properties
* Edit Action Properties Dialog
* Edit Condition Dialog
* Advanced Execution Scenarios Dialog
* Custom Actions List
* Table Editor - 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 Action Properties
See Custom Actions List for a detailed description of each predefined custom action in Advanced Installer.
Execution Time
- Immediately - the action will be executed immediately when it is found in the action sequence.
- When the system is being modified (deferred) - the action will be executed in order as part of the script built out of all the non-immediate actions. Custom Actions before InstallInitialize (Preparing action group) and after InstallFinalize (Finish Execution action group) can not be deferred and they must be Immediate. Note that deferred custom actions do not have access to installer’s public properties.
- During installation rollback - execute the action only if something failed after this action and the installation is being rolled back.
- After the system has been successfully modified (commit) - the action will be executed in the Commit phase, after everything got installed successfully.
On Windows Vista or above the custom actions which affect the system or require Administrator privileges should run without impersonation. For this you can simply check the Run under the LocalSystem account with full privileges (no impersonation) option.
Execution Options
- Run under the LocalSystem account with full privileges (no impersonation) - the custom action will be executed under the LocalSystem account with full privileges. This option is not available for custom actions which are executed Immediately.
- Wait for custom action to finish before proceeding - determines if the main installation thread waits for the custom action to complete. Windows Installer always waits for custom actions executed during rollback.
- Fail installation if custom action returns an error - determines if the custom action return code is checked by Windows Installer. For more information about custom action return codes, please see the Custom Actions Page .
- Wait for return code at the end of the sequence - determines if the current stage (Wizard Dialogs Stage or Install Execution Stage) will wait for the custom action return code after all actions have been executed. The actual return code is ignored by the installation.
- Action Text… - specify a text that will be displayed in the progress dialog box or written in the log file, when the custom action is being run. Use the button. The Edit Action Properties Dialog will be displayed and will allow you to specify the text. Note that only deferred custom actions can set an Action Text.
Custom actions that are executable files must return a value of 0 for success. The installer interprets any other return value as failure.
Execution Condition
- Install - Enable this option if you want your custom action to execute during installation of the package.
- First Time Install - The custom action will execute during installation of the package if no older version was found on the target computer.
- Upgrade - The custom action will execute during installation of the package only if an older version was found on the target computer.
- Uninstall - Enable this option if you want your custom action to execute during removal of the package.
- Regular uninstall - The custom action will execute during a complete uninstall of the application, not during an upgrade. This option is available only during “Install Execution Stage”.
- Replaced by a new version - The custom action will execute during removal of the application trigerred by the installation of a new version. This option is available only during “Install Execution Stage”.
- Maintenance - Enable this option if you want your custom action to execute during a repair or customization of the package.
- Condition - a boolean expression which must be true for the Custom Action to be executed. Edit this field using Smart Condition Edit Control .
The First Time Install, Upgrade,Regular uninstall and Replaced by a new version options may not displayed by default, you should use the Show upgrade options link to display them.
- Advanced execution scenarios - this link displays the Advanced Execution Scenarios Dialog .
UI Triggering Events
A list with all the events that trigger the custom action at install time. Each entry shows the name of the dialog on the first column, and on the second column, the name of the control from the dialog that triggers the event when the user interacts with it.
This list is shown only for custom actions without sequence. If the list is empty then the custom action will never execute.
Select an event and click Go to selected event dialog link button to configure it in the Dialog Editor Page .
Topics
- Edit Action Properties Dialog
Specify a text which is displayed when a custom action runs. - Edit Condition Dialog
This dialog allows you to specify a conditional statement. - Advanced Execution Scenarios Dialog
Use corner case execution options for your custom action.
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:
- [Updated] Screenscape Innovations An Unbiased Look at Apeaksoft, 2023 Edition
- [Updated] Unlocked Mac Capture Tool - No Cost
- 2024 Approved Step-by-Step Process of Setting Up Your Logitech Webcam for Video
- 3 Proven Techniques for Efficiently Recovering Deleted Images
- Automatic App Closure Feature Update
- Convert MOV Videos to WMV Quickly - Enjoy a Hassle-Free, FREE File Conversion Tool!
- Custom Actions Component: Enhance Your App with Tailored Functionality
- DVDの新品再生に困る方のため、安全かつ簡単な解決法
- Effective Strategies to Eliminate the Windows Security Alert Phishing Scheme
- Failed to play MOV movies on Galaxy M34 5G
- Forgetting Passwords Fuels Growing Demand for Biometric Security Solutions
- In 2024, Get Ready to Be Amazed The Best 4K Video Clips
- In 2024, How To Activate and Use Life360 Ghost Mode On Poco M6 5G | Dr.fone
- Leading No-Cost Video Editor Apps: Seamless File Conversions Anytime, Anywhere
- Navigating System Modification: Insights Into the Page Group Category
- Quick and Effective Techniques for Modifying PDF Text Content with Adobe's Tools
- Speed Hacks: Quickly Enhance Safari Performance on iPhone Here's How
- Step-by-Step Tutorial on Installing and Configuring Your License Server
- Unlocking Ultra HD Viewing with TCL's Budget-Friendly 50S425 50-Inch Roku TV - A Thorough Review!
- Title: Tailored Functionality Attributes
- Author: Timothy
- Created at : 2024-10-09 23:31:54
- Updated at : 2024-10-11 03:24:53
- Link: https://fox-within.techidaily.com/tailored-functionality-attributes/
- License: This work is licensed under CC BY-NC-SA 4.0.