Personalized User Engagement Strategies

Personalized User Engagement Strategies

Daniel Lv8

Personalized User Engagement Strategies

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.

ICustomAction

Declaration

ICustomAction : IDispatch

https://techidaily.com

Overview

This is meant to edit base custom action object.

https://techidaily.com

Properties

String Name - Gets or sets the name.

Bool RunUnderLocalSystemAccount - Gets or sets Run under the LocalSystem account with full privileges (no impersonation) flag.

Bool WaitToFinish - Gets or sets the property of a custom action to execute asynchronous.

Bool FailInstallationIfReturnsError - Gets or sets the property of a custom action to cause installation fail on execution error.

String ExecutionTime - Gets or sets the installation execution time. Supported values are: “Immediate”, “Deferred”, “Rollback”, “Commit”.

ICustomActionSequence UiSequenceCondition - Gets the object that ease editing condition for execution on the “Dialogs Stage”.

ICustomActionSequence ExecuteSequenceCondition - Gets the object that ease editing condition for execution on the execution on the “Install Execution Stage”.

https://techidaily.com

Methods

CreateUiSequence(String aActionName) - Add sequence in the “Dialogs Stage” for execution after a specified action name.

RemoveUiSequence() - Removes UI sequence.

CreateExecuteSequence(String aActionName) - Add sequence in the “Install Execution Stage” for execution after a specified action name.

RemoveExecuteSequence() - Removes execution sequence.

Example

  $advinst = new-object -com AdvancedInstaller

$project = $advinst.CreateProjectS(“architect”)
$appFile = $project.FilesComponent.AddFileS(“appdir”, “D:\MyApp.exe”)
$custAct = $project.CustomActionsComponent.NewLaunchInstalledFile($appFile)
$custAct.WaitToFinish = $true
$custAct.RunUnderLocalSystemAccount = $true
$custAct.CommandLine = “/RegServer”

Copy

See also

ICustomActionsComponent

IFileCustomAction

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:

  • Title: Personalized User Engagement Strategies
  • Author: Daniel
  • Created at : 2024-10-06 00:16:10
  • Updated at : 2024-10-11 02:52:37
  • Link: https://fox-pages.techidaily.com/personalized-user-engagement-strategies/
  • License: This work is licensed under CC BY-NC-SA 4.0.