[wix-users] Custom Actions in separate assembly
harald goci
harald.goci at panagenda.com
Thu Jun 28 01:56:40 PDT 2018
Hi Andrei!
A CA is always a separate assembly - at least from my understanding.
So you call it as any CA.
Define a Binary element like <Binary Id="somethingDLL"
SourceFile="something.CA.dll" />.
And call it with a Custom Action element like <CustomAction
Id="somethingCA" BinaryKey="somethingDLL"
DllEntry="somethingAction" ... />
BR,
Harald Goci
Senior Software Engineer
Email: harald.goci at panagenda.com - Web: www.panagenda.com
Phone: +43 1 890 12 89-44 - Fax: +43 1 890 12 89-15
(Embedded image moved to file: pic06868.jpg)
panagenda GmbH - Schreyvogelgasse 3/10 - 1010 Vienna - Austria
Registered Office: Vienna - HG Wien - FN 293516t - VAT-ID: ATU63362738
Executive Directors: Florian Vogler (CEO & CTO), Felix Vogler (CFO & COO)
(Embedded image moved to file: pic25547.jpg)
The information in this E-Mail is confidential and privileged. It is
intended solely for the addressee. Access to this E-Mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken in reliance on it is prohibited
and will be unlawful. If you receive this message in error, please notify
the sender immediately and delete all copies of this message.
From: Хакер Математики via wix-users <wix-users at lists.wixtoolset.org>
To: wix-users at lists.wixtoolset.org
Cc: Хакер Математики <as at andrique.ru>
Date: 28.06.2018 10:46
Subject: [wix-users] Custom Actions in separate assembly
Sent by: "wix-users" <wix-users-bounces at lists.wixtoolset.org>
I am writing a MSI setup with WixSharp and am using Custom Actions within.
The CAs themselves work fine, but now I've added an embedded WPF UI as
per WixSharp sample EmbeddedUI_WPF.
So now it seems I have to move CAs into separate assembly, because of
"CA and UI entry points cannot be in the same assembly" error message.
When I do so, the installer compiles OK, producing MSI file.
However, the MSI seems to not find CAs, as installation fails.
So how do I link/call CAs from separate assembly?
--
Andrei Samoylov
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/
More information about the wix-users
mailing list