One of the setups I learned that was well didactic with the developers I work in this way, I hope it helps:
Step 1: Create a setup application.
Along with your web project, applications and etc. (I will use the example setup project, but the web setup is similar to these steps)
Step 2: Open custom actions
Here you will include your project and we will go to the next step
Step 3: Let’s add the project
Step 4: open with double click the option "application Folder"
Opening this option you will in Primary output option
Step 5 : Insert your application into the setup.
As I don’t have any application in my Solution, no option appeared in the tab, but as an example I gave a quick scribble to exemplify.
Step 6: Give ok on everything and make sure the items are added correctly.
In this step, after confirming all the steps taken in the image of step 4 your project will appear in all folders of: Install, Commit, Rollback, Uninstall. The Dll’s will automatically appear in the "Detected dependencies" folder in the setup application. After doing this, build and if it works correctly just fetch the setup that is in the debug folder of this application.
Can you clarify your question a little more? You want to know how to create a project setup?
– Daniel Nicodemos
That’s right Daniel, when you create a version you go to Publish of Visual Studio and generate a version to be installed in winform. Ai when you run the setup generated it by default installs the program in the windows programs file folder.Only I don’t want it to be like that.I would like to generate an installation where it enters me in a predetermined directory, for example c: Cartorioscanner.
– Joelias Andrade
Okay, I’ll post an answer...
– Daniel Nicodemos
Guys worked out, I even created the installer in Visual Studio and directed to create in the specified directory. Thank you very much!
– Joelias Andrade