Skip to content

Custom Action executes Powershell script after installation? #8915

Answered by bevanweiss
Luchinchi asked this question in Questions
Discussion options

You must be logged in to vote

Ahh, so you're not really trying to implement a Custom Action. You're just trying to use an existing Custom Action.

You might want to have a review of the Windows Installer doco for these various built in custom actions.
Given you've used ExeCommand and Directory, then I think it's the Type 34 that you're trying to use.
https://learn.microsoft.com/en-us/windows/win32/msi/custom-action-type-34

The base requirements of the MSI Windows Installer Custom Action are required, but those requirements get mapped into Wix world via this authoring symbol
https://wixtoolset.org/docs/schema/wxs/customaction/

Ultimately, you might want to look at the Wix QuietExec custom action instead
https://wixtools…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Luchinchi
Comment options

@bevanweiss
Comment options

Answer selected by Luchinchi
@Luchinchi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants