MSVS安装程序项目 [英] MSVS Installer Project
问题描述
好的,我正在运行2017,我安装了MSVS安装和部署项目。 如何更改名称,以便输出版本不仅仅是setup.exe?
实际上,在部署项目属性中有一个ProductName属性。 如何将输出文件名设置为等于ProductName?
Hi William255,
>>如何将输出文件名设置为等于ProductName?
哪种方式可以你用来安装你的项目?根据您的描述,我猜是 ClickOnce,如果是这样,我担心您无法将setup.exe更改为您的产品名称。
ClickOnce是一个简化的安装程序。使用Microsoft的"简化"原理,用户不能改变太多。毕竟,它的设计使您无需更改许多项目。
如果你设置productname就像下面的截图:
然后,如果您还想查看安装程序的产品名称和版本,您可以在您所在的网站上看到它用于安装:
或者在安装项目时看到它们:
希望这会有所帮助!
最好的问候,
Stanly
Ok, I'm running 2017, and I have the MSVS Setup and Deployment project installed. How do I change the name so the output build isn't just setup.exe ?
Actually, in the deployment project properties there is a ProductName property. how could I set the output file name to be equal to the ProductName?
Hi William255,
>>how could I set the output file name to be equal to the ProductName?
Which way do you use to install your project? From your description I guess it is ClickOnce, if so, I am afraid that you can not change the setup.exe to your productname.
The ClickOnce is a simplified installer. Using Microsoft's rationale of "simplified", users can't change much. After all, it is designed so you don't have to change many items.
And if you set the productname just like the below screenshot:
Then if you also want to view installer’s product name and version, you can see it in the website which you used to install:
Or see them when you install the project:
Hope this helps!
Best Regards,
Stanly
这篇关于MSVS安装程序项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!