setup.exe名称为Sample.exe [英] setup.exe name to Sample.exe

查看:104
本文介绍了setup.exe名称为Sample.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好团队,

您能否指导一下如何在针对Windows应用程序发布时将setup.exe的名称从click.exe更改为Click.exe应用程序的Sample.exe。

Could you please guide on how to change the name of the exe from setup.exe to Sample.exe of clickonce application when published for windows application.

提前谢谢

推荐答案

嗨MadhuSiddu,

Hi MadhuSiddu,

自动执行此过程有点棘手,因为Visual Studio只有一个post build事件选项来运行外部工具,而且没有post post。

It is a bit tricky to automate this process because Visual Studio only has a post build event option to run an external tool, and no post publish.

您可以将setup.exe重命名为Sample.exe并编辑publish.htm文件,将setup.exe中的href更改为
示例 .exe 。用户可以通过右键单击安装按钮并选择另存为来下载。

You can rename setup.exe to Sample.exe and edit the publish.htm file to change the href from setup.exe to Sample.exe. Users can download this by right clicking the install button and choosing Save As.

请注意,每次发布新版本时都要记得重新编辑。

Note that remember to re-edit every time you publish a new version.

请参阅:  如何在ClickOnce中重命名设置文件?

Refer: How to rename setup file in ClickOnce?

问候,

Frankie


这篇关于setup.exe名称为Sample.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆