I have created a setup project for a Windows Application developed using Visual Stduio 2008(C#).
In the portion of installation screen where it says, this installer will guide you through the steps required to install ABC on your computer
I want this changed to this installer will guide you through the steps required to install XYZ on your computer
How can I change the word ABC to XYZ?
Follow these steps to change your application's name:
Ensure that your setup project is open in Visual Studio.
Click on the project's root-level icon in the Solution Explorer.
In the Properties Window, change the ProductName property to "XYZ" or whatever you want the installer to display as your application's name.
Rebuild the setup project.
Now, if your right-click on the project icon in the Solution Explorer and click "Install", the setup program will start and you can verify that the application name that it displays is correct.
It's also worth investigating the other deployment properties that are available for setup projects to make sure that these are set appropriately for your application.
To change the name that appears on Welcome Screen, you would need to edit as follow.
Right click on Installer Project name > View > User Interface.
From there, edit the properties of Welcome under Start.
Related
I have been tasked to change the Icons associated with a WPF VS2017 application that I did not create. I am trying to change the desktop short-cut icon that is automatically loaded on installation of the app's .msi.
This solution uses a Visual Studio Installer Project to generate the deployment .msi.
I have tried to change the file reference in the deployment project, but it seems to hang on to the original icon.
I have even gone to the extent of renaming the new .ico file with the original .ico filename and putting it into the directory where the original was located, but the .msi continues to load the old icon to the desktop on the application's installation.
Is there user documentation (not tutorials) on the Visual Studio Installer add-on?
More directly, how is the desktop short-cut icon specified in the deployment project?
Extensive web searching and experimentation have not presented an answer.
The installer project has a "file system" view.
Click round on your files under setup and it should appear in your code editing area.
Under File system on target machine will be folders.
These might have been configured to explicitly add a specific icon for the shortcut.
Click users desktop in the left panel.
You will have a shortcut in the right.
Select this and take a look at properties.
There's an Icon property which is probably set. Click the icon, browse and choose the one you want. This should be in the list of setup files.
If not, check your main entry point project has an icon set.
Choose it's properties > Application
In there under Icon and Manifest set the ico file.
Then try again.
I have a Windows Service Application which contains one Service.cs and one Windows Form Application.Now as per my requirement i have to make a setup installer of this application which i did using Visual Studio Setup project under Deployment Section.
Now if i will install my setup Windows Service file will be added as Service and we can see it and its working fine also but i am not seeing the windows form application.
In the control panel add/remove program my application has been added as i am seeing it but windows form application is not showing in All programs of start button.
Please help me .
Thanks in advance.
If this is urgent:
In the File System Editor for the setup project, it should show the target machine's file system. By default, the primary outputs you've specified will be set to install to the "Application Folder". But what you want to do is to look under the "User's Programs Menu" (I can't remember if this shows up by default - if not, right click "File System on Target Machine", "Add Special Folder" and select this folder).
Then, in the right-hand pane, right click and choose "Create New Shortcut", navigate down through "Application Folder", select the windows forms application and hit OK. Then give it a suitable name.
If this isn't urgent - go and find a better setup tool and learn how to do similar things to the above using that tool. Visual Studio 2010 was the last version to include the Setup project support, so spending time learning this tool now is wasted time. Better to find a tool that will continue to work as you upgrade VS versions. I'd normally suggest WiX since it comes at a great price (free) but it does have a learning curve (since you author the setup in XML).
How do I set the default install path when deploying a program using a windows installer.
In a Visual Studio Setup project, you control the default install path by setting the DefaultLocation property of the Application Folder folder, within the File System Editor.
This, in turn, as you've found, defaults to [ProgramFilesFolder][Manufacturer][ProductName]. You can either replace this property entirely (you should keep [ProgramFilesFolder], at the very least though), or you can modify these properties.
[ProgramFilesFolder] is built in, and correctly leads to the Program Files directory on the target machine, no matter how customized the setup of Window is. The other two properties are properties of the setup project (select the Setup project in Solution Explorer, and examine the properties grid to find them). These default to the company name you supplied when installing Visual Studio, and the name of the Setup project.
I've been looking around and other than: http://msdn.microsoft.com/en-us/library/31kztyey.aspx I have found no information on how to publish a Windows form application I have written.
I have managed to publish and then install my application on my local computer, but not in the way I had intended. I was hoping to be able to zip up the folder containing my published project and upload it somewhere, at which point people can download the zip file and install my application. The publishing wizard doesn't seem to be able to publish in such a way, or if it is, it is fairly unclear.
Can anyone point me in the right direction here? I can also clarify what I would like to do if need.
You can create Setup Project ( File-> New -> Project -> Other Project Type -> Setup and Deployment -> Visual Studio Installer -> Setup Project ). So, in Solution Explorer, you can add existing project. After add your project, you can add your program output in File System window( Right click on Application Folder -> Add -> Project Output ... ), so you select your project from Project ComboBox ). After adding your project output, you can build your setup-project and you will have your setup file in your setup-project.
For more information you can check :
Steps to Create Setup and Deployment
Setup Projects
Try this way: ClickOnce (Too simple, free, many ability like Update )
Edit : Absolutely there are many ways, also you can use third party software (like InstallSheild). and Look at Different Windows Installer and ClickOnce
You can create a setup-project - with this you can simply compile a setup and deploy all the setupfiles/msi and the user can install from this.
In Project Properties under Publishing in Options there is a tab called "File Associations". I have entered there .mpg|MyDesc|MyDescID|myIco.ico. I have hoped that the mpg ext will be automatically associated after I start program. However it did not happen. Even when I choose open with and set the app as default it does not have the icon I have chosen.
How to use it?
I believe I have to create a published version, but I would rather not do it(since I change the app a lot). Is there any way to create the associations without creating an installer?
I believe this has to do with ClickOnce deployment, and is related to file associations when a user decides to install the ClickOnce bundle for your app.
When you say "start" the program - are you referring to F5 or Ctrl+F5? If you "Publish" your ClickOnce bundle and then install from there, I believe your file associations should work.