Visual Studio 2010 setup project: How to set compa

2019-03-23 10:17发布

I have a console app project and a related setup project in the same solution. When I run the generated .msi, the install wizard shows following default Install location:

C:\Program Files (x86)\Default Company Name\myApp\

How can I put my own company name?

4条回答
神经病院院长
2楼-- · 2019-03-23 11:00

If you want to change the Default Company Name visible in control panel in Publisher column, then change the Manufacturer property in properties window of setup project.

if you want to change the program name as visible in Name column in control panel please change the ProductName in properties window.

查看更多
甜甜的少女心
3楼-- · 2019-03-23 11:11

Select the project in solution explorer and hit F4.

查看更多
干净又极端
4楼-- · 2019-03-23 11:17

Open the Properties Window (NOT the right-click on the set-up project)

Use the toolbar View -> Properties Window

VS 2013/2017 on windows 7: Keyboard shortcut F4

VS 2010 on windows 7: Keyboard shortcut sequence Ctrl + W and then Ctrl + P

Now select your set-up project in the Solution Explorer window, the Properties window should populate with the info (e.g. author, language, program title etc.) that you can edit

查看更多
叼着烟拽天下
5楼-- · 2019-03-23 11:20

For changing the following default Install location

C:\Program Files (x86)\Default Company Name\myAppSetup\

  • Select the set-up project "myAppSetup" in solution explorer and hit F4.
  • Change the Manufacturer property "Default Company Name" in properties window to your own company name, e.g. "StackOverflow".
  • Change the ProductName property "myAppSetup" in properties window to your desired program name, e.g. "Sweepstakes".
  • The Author property may contain a default value "Default Company Name" and can also be changed.

Then the Install location will be like this

C:\Program Files (x86)\StackOverflow\Sweepstakes\

查看更多
登录 后发表回答