Documentation on custom actions -- and custom actions quiet execution in general #8195
Replies: 3 comments 10 replies
-
I'm confused. What are you trying to do? |
Beta Was this translation helpful? Give feedback.
-
Running a custom action that is a method in a dll quietly. |
Beta Was this translation helpful? Give feedback.
-
Hi @bevanweiss I am doing exactly what that documentation says I should, but my custom actions do not run. I am doing the following: and I have tried the following as And in either case the custom action fails with this in the installation logfile: The documentation should have a real example for how you have to enter a simple script to execute quietly. |
Beta Was this translation helpful? Give feedback.
-
The documentation on quiet execution of custom actions is here: https://wixtoolset.org/docs/tools/wixext/quietexec/
It is very confusing. This may be due to the actual implementation of the feature being confusing.
Just for example, it says about executing an immediate custom action quietly:
SetProperty
) with the IdWixQuietExecCmdLine
to be scheduledBefore
the relevant custom action (in the example, calledConvolutedCoreCountCustomAction
).SetProperty
is scheduledBefore
theCustomAction
.DllEntry
of theCustomAction
is supposed to have the value"WixQuietExec"
. This doesn't make any sense: The documentation here states "This attribute specifies the name of a function in a custom action to execute." In case my custom action is to execute a function in adll
, then I already need to use theDllEntry
to specify which function, I can't stick another value in. How am I supposed to do that?Beta Was this translation helpful? Give feedback.
All reactions