Setting properties for window installer such as Author, Description - windows

Hi I have problem with setting properties for window installer such as Author, Description...
Project for which I want create installer package is WPF app. I set assembly properties in WPF project.
I create new project Visual Studio Project -> Setup project and add WPF assembly.
Build this project and try run app. As destionation folder I see:
C:\Program Files\Default Company Name\Spirit\
I suppose that Company name will be comapny name of assembly for which I created installation package.
I try find how set this projeties in setup project but I can’t find way how can I set this properties on setup project.
If I try set properties of setup project I see this:
I use Visual Studio 2010.

I think you are doing what I found myself doing for a while there, right click and choose properties brings up the Projects configuration properties, Build etc like you are getting.
I had my other "standard" properties window on auto hide, so I re pinned it and put it in its own window and then selecting the setup project brings up its "standard" properties.
See the screen shot below, hopefully it helps someone, this question isn't too recent

Most of this information is retrieved from the MSI Summary Information. So you can modify them by using a tool that can edit this information, for example Orca:
http://msdn.microsoft.com/en-us/library/aa370557(VS.85).aspx

Related

OpenGL set up problem when create new project via Visual Studio express 2017?

I'm using VisualStudio express 2017 as the IDE. I have set up everything for the OpenGL and everything works fine. But there is a problem, I realized that I have to set up the library and dependencies every time when I create a new project. Can anyone help me with this problem?
There's a solution to that called a Property Sheet. Since I don't use VS Express, I'll explain how to create and reuse properties for a Visual Studio Community Edition project.
Create a new project, for example a C++ Console Application (or whatever programming language you're using)
To display Property Manager go to View > Property Manager or View > Other Windows > Property Manager
In the Property Manager, left-click on the "triangle symbol" next to your project name to display the configurations.Choose the configuration you want to set up (here Debug | Win32 is highlighted)
.
Right-click on the configuration. Choose Add New Project Property Sheet. A property page dialog box appears. Enter a name (file extension .props) and where to save it. Click Add.
Left-click on the "triangle symbol" next to your configuration. You should now see your newly created property sheet. Double-click on it.
Now configure your project how you want, include dependencies , libraries, Linker etc.
After configuring, right-click on your property sheet. Save it.
Now everytime you create a new project, right-click on your project name in the Property Manager and click Add existing property sheet and brwose to its location.

Set project as startup in project group

I am using microsoft visual basic to create a VB6 application. Application is basically a usercontrol. I have a form in the applicaton.
What i need to do is as we do in Visual Studio 2008 add a new project in the same solution and set the project as a startup project ?
In VB6 You can have Project Groups (similar to solutions in Visual Studio .NET)
Project Groups contain usually two or more VB6 projects and have the extension .vbg
To create a project group open up one project, Click File>Add Project and add a second project. When you click on save you will be prompted to save the Project Group File.
To specify one project as the startup project right click on the project and select Set as Start Up
Once you've added the new project, right click on it, an go to properties, where you'll have a form as shown below;
As you can see in the image, you've got the Start up option, where you can just drop it down and choose form to start up.
For setting a PROJECT as start up, you can simply Right-click on the corresponding form select Set as Start Up from the context menu.
Visual Basic displays the startup project's name in bold type in the Project window.

exclude assembly from build

I have a solution file with 10 assemblies. When I build the solution I would like to exclude 5 of them from being built and put in the Release folder. I tried going into the properties of the solution and unticking the assemblies in the Build column in the configuration properties, but this did not work.
If may use Configuration Manager tool of visual studio by write clicking on your solution in VS and selecting Configuration Manager and in active solution configuration combo box selection New
deselecting any project.
More configuration options for this newly created build will be possible by right clicking on each project any selecting properties part and going to Build tab(like output path will be editable)

Configuration With Same Name Already Exists

I have a solution with 10+ projects (VS2010 SP1). I have the following configurations defined in the solution:
Debug
Debug-QA
Release-UAT
Release-Production
This allows me to easily setup specific settings for each deployment scenario. However, for some reason I can't get things setup as I'd like. Please see this screenshot:
Notice the highlighted projects/configurations. I am unable to create a "Debug-QA" configuration for these projects (by selecting <New> in the cell for that particular project). When I try to add a new "Debug-QA" configuration to the DataUtility project, for instance, Visual Studio yells at me:
This configuration could not be created because a solution configuration of the same name already exists.
I know it does! I'm trying to add the configuration to the project! What am I missing here? I want all projects to have all 5 configuration. I have the same problem when trying to match up (create) platforms (for instance, adding an "Any CPU" platform to the DataUtility project).
Make sure you're using the drop down list from the grid (not the one at the top of the dialog), and do not check the "Create new solution configurations" checkbox when adding your new project configuration.
Here's a workaround if already checked the Create new solution configurations checkbox:
Open Explorer and navigate to the location of the solution for the project that is missing platforms.
Move the solution .sln file to a temorary location where Visual Studio won't locate it.
Open the .csproj file for the project that is missing platforms.
Click the Solutions Platform dropdown.
Click Configuration Manager...
In the table, Click the dropdown in the Platform column for the project and select , to add a new platform.
Click OK.
Repeat adding new platforms as needed.
Save the project.
Return the previously moved solution file back to where it was.
Reopen the combined project solution.
source: https://developercommunity.visualstudio.com/content/problem/972/adding-a-platform-when-one-with-the-same-name-alre.html
The above solution didn't quite work, but I did find a solution on a forum that worked. Described below is to set the builds to x64 for each project that was set to "Any CPU", but the steps would also work for x86.
Open the main solution. Unload each project with a conflict (not
remove).
Leave the solution open.
In Explorer, navigate to the
project folders and open the csproj file in Visual Studio.
In this
screwed up project, navigate to Build->Configuration Manager.
If
needed, "Add New" and set it to x64 and save.
Right-click the
project and set the build architecture to the new x64.
Save this,
but when you close the project in VS, do not save to the solution.
That's unnecessary.
Repeat for each project with a misaligned architecture.
Finally, in the original solution with all the offending projects,
reload each project.
Open the Build->Configuration Manager for the solution. Then, one by
one, reset "Any CPU" to the desired platform, in my case x64.
Save the changes for the solution and rebuild all. You should be OK,
now.

Creating msi in vs08 - few questions

I am creating an MSI from inside visual studio 2008.
This is what I am doing:
(With the project I am creating this for open in Visual Studio) right click Add new project
Setup and Deployment > Setup Project
Give it a name
Right click Application Folder > Add > Project Output: Primary Output
Question: does this contain all I need to run the project?
I want to create the .msi to put a shortcut to it on the Users desktop, so
Create shortcut to Primary output from Project
Move this to the users desktop folder
Question: how do I get this to keep the icon from the project!! conveniently doing this seems to have lost the app icon and picked some random generic one instead.
Thanks,
edit 0: Oh and also, can I set so when running the .msi the user cannot change where it is installed to?
Nobody knows how to do this?
It should unless you are referencing mixed mode assemblies in which case you may have to manually add files to the installer as the dependency resolution is very poor in this case.
You need to set the icon manually in the properties of the setup project.
To Remove the option to select the installation folder try opening the user interface view of the project and deleting the 'Installation Folder' screen.

Resources