Personalized Feature Specifications
Personalized Feature Specifications
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:
- [New] 2024 Approved Accelerate Artistic Edits with Windows 11
- [Updated] 2024 Approved Mastering the Skies Complete Review of DJI Phantom 4
- [Updated] In 2024, 4K Clarity Comes Closer with ASUS's Innovative MG28UQ Display
- 3 Things You Must Know about Fake Snapchat Location On Motorola Moto G24 | Dr.fone
- Advanced Image Targeting Techniques with IPatch
- Detailed Overview of Assembly Pages: Structure and Best Practices
- Expanding Your Online Presence: Strategies for Growing Website Features and Extensions
- In 2024, Social Sync How to Add Friends on Discord
- Mastering the Art of Mobile-Based Interview & Travel Podcasts
- QuickInstall Tool - Instant Software Update Wizard
- Simplify Your Digital Space: The IRemoveFiles Solution for Quick File Removal
- Ultimate Guide to Effective Package Verification
- Updated AVI Video Cutter Reviews Top 16 Options for Precise Trimming
- Title: Personalized Feature Specifications
- Author: Michael
- Created at : 2024-10-05 19:33:50
- Updated at : 2024-10-10 17:26:59
- Link: https://fox-where.techidaily.com/personalized-feature-specifications/
- License: This work is licensed under CC BY-NC-SA 4.0.