CustomAction is not invoked at all #8952
Unanswered
mihaidimoiu
asked this question in
Questions
Replies: 1 comment
-
Check your msi in Orca to ensure that everything in your authoring has made it into the msi in the manner you expect.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm trying to build an installer using Wix v5.0.2, integrated in Visual Studio v17.13.0.
The installer works fine, it copies the .exe, .conf in the correct path in C:\Program Files<Manufacturer>/.
I need to modify the .conf file and I thought to do it via Custom Actions in C# project.
So far so good, I have created the project, built it, it spit out .dll and .CA.dll, the main project compiles.
But my Custom Action is not invoked at all. It needs also to be invoked with elevated privileges since I am modifying something from C: (here in example i just try to write a file for the sake of example).
Here is a snippet of my Package.wsx:
Now in CustomAction.wsx I have this:
And the final thing is this .cs file:
Running msi with this:
msiexec.exe /i install.msi /L*v install.log
What am I doing wrong here? Why is not invoked at all?
Beta Was this translation helpful? Give feedback.
All reactions