I want my application to be inside installation kit and after the installation create shortcut icon on my desktop, how can I do this?
The easyiest way would to use the Visual Studio Setup Wizard Project assuming you are using Visual Studio. There are other options such as WIX , Inno Setup and Install Shield LE which is an option in VS2010 it will be replacing the Visual Studio Installer in later versions of Visual Studio.
Related
I wanted to create WPF project using visual studio 2022. I am not able to find the project template. What package should I use?
Installing .NET desktop development worked for me.
I am trying to create a desktop application for windows using Xamarin Visual Studio but i cannot find WPF application. I saw in other S.O questions that Visual Studio does support.
Do i have to install any plugin?
Open the Visual Studio 2017 installer and select modify. Make sure the windows workflow is selected and press continue. This will add support for WPF and windows forms apps
WPF is not supported in Visual Studio for Mac
WPF is not cross-platform, it is Windows desktop only. And there is no "plugin" that changes this.
So if you want to create a WPF desktop application you should use Visual Studio on Windows and nothing else.
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 !!
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...)
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
Using VS 2008:
Add a Setup and Deployment project to the Solution
As soon as you add the project it opens the File Explorer view.
add Program File's Folder to our Setup project
add Primary output and other dependencies to Application Folder.
Select as displayed above.
Now we would add A folder to the Program Files Folder.
Now add the same as you did for the Application Folder.
add a Shortcut to User's Desktop.
Rebuild the Solution and then rebuild the Setup project.
Full help is here
I have installed Visual Studio 2010 Ultimate, I customized my installation(I stripped-down C++,J# because I didn't need it)..After the installation the SilverLight did not appear in the installed templates. Do I have to install SilverLight tools separately? Doesn't the VS 2010 Ultimate come bundled with silverlight tools?
I think you missed some option during customize installation, its come with Visual Studio 2010.
You can install separately silverlight tools also.
Probably you've missed something, I don't remember excluding silverlight toolkit during the installation. But my customized installation was successful.
Did you installed service pack 1 update for visual studio? If you didn't I would recommend you to check for Windows Updates.
In any case you can download the tools you need or for silverlight a clean install from here (silverlight get started) but the tools you need are the Silverlight 5 RC Tools for Visual Studio 2010 SP1
I have just installed Visual Studio 2010.
when I attempt to create a new project in c#, there is no option for a WPF application. There is for Visual Basic.
The WPFApplicaton.zip flie does exist in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Windows\1033
What could be wrong here?
My first suggestion would be to run the installer again - it should come up with "repair" and "change" (or something like that) options along with "uninstall".
"Repair" will reset what you already have installed.
"Change" (or "Update" - I don't have VS2010 installed on this machine to check the actual wording) should let you run through the install again adding and removing components. Step through this double checking that you've installed all the templates and options.
If that doesn't work then you could try an uninstall and re-install/
You need to specify the targeting .NET framework.
Select File menu from VS2008 or VS2010; Select .NET framework 3.5 or 4.0; Select Visual C#. you will find WPF Application template listed