Lac on Sat, 13 May 2017 15:56:09

I'd like to ask two questions in connection to Installer Project in VS 2017.

First : is there any documentation available ?

Second : I have experience with Deployment Project in VS2013 and I also used it widely to build setup tools for my application, however, the same logic seems not to work with VS2017 version. Probably because some parameters has also changed as I see.

What I have problem with is setting up a custom action correctly. What I've done is the following in a nutshell:

- Created a class library, call it Installer.dll

- Added an Installer class to this library with overridden methods for Install() and Uninstall()

- Added this dll to be part in the installation and deployed to target installation folder

- Referenced the dll in the Install custom action as :


The installer class is like this :

namespace Installer
  public partial class Installer : System.Configuration.Install.Installer
    public Installer()
      MessageBox.Show("Creating installer instance");

    public override void Install(IDictionary stateSaver)

    public override void Uninstall(IDictionary savedState)

The problem is that the Install() method is not being called, and the Installer class is instantiated right after the installation completed. Strange...

And this is the point where it would be really beneficial to have a documentation explaining what the properties of the CustomAction are. For instance I have no idea whether I need to enter anything to the EntryPoint field ? The VS2013 version did not have this property.

So I'd really appreciate any help. Thank you in advance !