Reputation: 150
I´m tring to instal an app that I create with wpf (.NET 4.8), I used Microssoft Visual Studio Installer Projects and these are the steps that I follow:
I loock for the exe in the folder instalation but only there is a .ddl and a .josn. Thanks.
Upvotes: 1
Views: 1272
Reputation: 139
It took me some time to find out why it didn't work for me, so I'll publish a possible solution here as well.
If you defined a publishing profile, you need to select it for the product output group and set it in PublishProfilePath
(Right Click on Publishing Group -> Properties).
Upvotes: 0
Reputation: 1038
@ michu. According to your description, there may be a problem with your steps. Please check if the following steps are same with you .
1.Download and install Microsoft Visual Studio Installer Projects.
【Click Extensions in Visual Studio to search for Microssoft Visual Studio Installer Projects to download and install】
2.Create a Setup Project named Setup.
3.Add WPF software primary output DLL file into installer.
【Right-click Setup and select Add/**Project Output...**and modify the "Add Project Output Group" page as follows:】
4.Add installer setup icon file.
【Right-click Setup and select Add/File... and add the APP.ico file as application icon: (I did not add an application icon here.)】
5.Create WPF software shortcut for Desktop.
【Right-click on the generated file and rename it to apptest and drag it to User's Desktop. Then right-click apptest in User's Desktop and select Properties Window…:】
6.Configure the details of WPF software properties.
7.Build Setup Installer.
【Click Build and select Batch Build and modify as follows:】
8.Install.
After the installation is complete, you can see the exe in the installation path.
Upvotes: 0