0

I am trying to create a custom action in a setup project in visual studio 2013 using this extension https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d

But I cannot add a custom action or an installer class to my project.

The purpose of the custom action is to change file access rights after installing my application, how can I do this ?

maazza
  • 7,016
  • 15
  • 63
  • 96

1 Answers1

0

In the simplest case you go to the editor window View=>Editor=>Custom actions, and to add an executable you right click (say) the Install node and add the exe, browsing to it. This might help too, still applies:

https://www.simple-talk.com/dotnet/visual-studio/visual-studio-setup---projects-and-custom-actions/

But you haven't said what you've tried exactly, or where you are trying to add the class. If you're trying to add an installer class to the setup project, that's the wrong place. If, for example, you are installing a service with an installer class, then it's a class you add to the service. Then in the setup project you have a custom action to call that class. In your case, have you added an installer class to your C# project (or whatever it is)?

PhilDW
  • 20,260
  • 1
  • 18
  • 28
  • Did you try [this](http://stackoverflow.com/questions/19460520/how-to-handle-checkbox-controls-in-windows-installer)? – Kurubaran Sep 01 '15 at 16:00