Aron
Aron

Reputation: 5

How to create set up files for wpf application

How can I create set up file for WPF application ? I'm new to WPF applications and I don't have any idea about initializing this.Please help me !!

Upvotes: 0

Views: 8155

Answers (3)

Niranjan Singh
Niranjan Singh

Reputation: 18290

I suggest you to go through below link if you are using VS 2010 and above-

CREATE SETUP AND DEPLOYMENT OF WPF APPLICATION STEP BY STEP WITH VISUAL STUDIO 2012

You need InstallShield packaging software to after Visual Studio 2008. It will create a template to create deployment project, but you can get the Visual Studio Installer Projects in VS 2010 and above , you need to install the Visual Studio Installer Extension from the Visual Studio Extension Gallery - Microsoft Visual Studio Installer Projects

If you are using VS 2008 then it already have template to create setup project your WPF application. Just follow the below link to know that How use Setup Project..

Create Setup and Deployment of WPF Application Step by Step

@Hana's answer showing screenshot of the Setup Project, which is used in the VS 2008 to create the deployment package.

References:
Create an application setup in visual studio 2013
Visual Studio 2013 Installer Projects – Hello World Installer

Upvotes: 0

v20100v
v20100v

Reputation: 714

I advise you to use InnoSetup. It's a powerfull tools to make setup-wizard for all projects. You can create it easyly. And more features are available with it (icons file, registry management, associate file extension with application, desktop and start menu windows entry, and much more...)

InnoSetup Wizard example

Upvotes: 1

Hana Bzh
Hana Bzh

Reputation: 2260

Using VS 2008:

Add a Setup and Deployment project to the Solution

enter image description here

As soon as you add the project it opens the File Explorer view.

enter image description here

add Program File's Folder to our Setup project

enter image description here

add Primary output and other dependencies to Application Folder.

enter image description here

Select as displayed above.

enter image description here

Now we would add A folder to the Program Files Folder.

enter image description here

Now add the same as you did for the Application Folder.

enter image description here

add a Shortcut to User's Desktop.

enter image description here

Rebuild the Solution and then rebuild the Setup project.

Full help is here

Upvotes: 0

Related Questions