How to change settings for a Visual Studio 2005 deployment project

I have a project containing at least one DLL along with executable output. I added a deployment project to this solution, which asked me to create a name and working directory when creating, like all projects.

I called this "MyProduc_Installer" and was able to change all aspects of the installation process, except to change the name of the installer itself. Throughout the installation process, the user sees messages such as "Welcome to MyProduct_Installer Installer". Even in the Add or Remove Programs list, this is the malicious name of the application.

How to change this parameter? I tried right click / properties as well as all view options. I could not find anything in the assembly for an executable project or solution properties.

I tried right-clicking on a project in Explorer to change the properties, but here is what I see:

alt text

There is no setting for changing the name of the project.

+4
source share
4 answers

If you have not found the answer to this question, here is the answer.

Visual Studio has 2 sets of properties for projects - 1, which you can access by selecting the project in the solution explorer, and then right-clicking and selecting "Properties".

The 2nd set of properties is located in the "Compliance" window, which is displayed under the solution explorer. This is the same properties window that is displayed for any of the form properties settings or any other control parameters.

The “product name” and other project properties for the “Setup” project can be found in the second properties window.

Hope this helps.

AC

+5
source

An easy way to get the properties you are interested in is to use the F4 shortcut when the project is selected. As indicated in previous posts, this is a completely different list, which you get by right-clicking and selecting properties.

+4
source

If you mean an installation project, for example, for winforms, this is the ProductName property. In Studio, I just click on the name of the project in Explorer, and I get a properties window that is typical of other projects, and it’s right there. Other properties include AddRemoveProgramsIcon, InstallAllUsers, and RemovePreviousVersions.

+2
source

I came across this post where I also had problems renaming the product. Regarding the use of Click Once Publishing.

Since updating all old names, I could not get the publication to correct itself. It was discovered that in my case, it was not possible to write the xyz.vbproj project file and update the <ProductName>xyz wrong name</ProductName> element, which was still not right.

This was the only place I could find to update it, since the publish window or any property did not display this.

0
source

Source: https://habr.com/ru/post/1277182/


All Articles