How can I setup a .NET Custom Action within WiX 3.0?
Posted
by Luke
on Stack Overflow
See other posts from Stack Overflow
or by Luke
Published on 2010-05-23T13:25:20Z
Indexed on
2010/05/23
13:30 UTC
Read the original article
Hit count: 391
I need to setup a custom action within WiX 3.0. I have the following setup in my Windows application exe.
I have viewed the question at StackOverflow: Removing files when uninstalling Wix however I can't get this working with WiX 3.0. This seems to deal with InstallUtilLib.dll, however I can't work out how I call the custom action within my main Windows app executable.
Also, is there some method that I can use to manually invoke and test the OnBeforeUninstall function is working as expected?
Imports System.Configuration.Install.Installer
Imports System.IO
Public Class CustomInstaller
Inherits Configuration.Install.Installer
Protected Overrides Sub OnBeforeUninstall(ByVal savedState As System.Collections.IDictionary)
MyBase.OnBeforeUninstall(savedState)
Try
End Sub
End Class
© Stack Overflow or respective owner