We help IT Professionals succeed at work.

Wix script, call function on already installed dll

endasil used Ask the Experts™
If i have a dll included in my msi package, i can perform a custom action like:
<CustomAction Id="PerformMagic" FileKey="magic.dll" DllEntry="MsiDoMagic" Impersonate="yes"/>

But lets say i already have magic.dll installed on all computer that this installer is going to be applied to, is there a way i can perform a call to the existing dll instead of supplying it again?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You can use custom action type 50, run [SYSTEMFOLDER]rundll32.exe and pass it your dll and entry as parameters - http://support.microsoft.com/kb/164787 has more details.


You are right, i was not aware of the guidelines and tought of Excellent as a grade for an answer out of the ordinary and good as something that helped me solve the problem. Grade has been set to A according to guidelines and i apologize for not keeping myself informed.