开发者

Windows Form App Deployment/Installation

I have a Windows form app that I've published but the end result is not what I've expected. Af开发者_JAVA百科ter the wizard finishes, I click on the setup.exe and the application installs and launches, but I don't see any shortcuts in the All Programs. The application is listed in Programs and Features but when I close the app, there is no icon to click to launch it again. I've searched for an executable file in the Program Files and System32 folders found nothing.

So what I wanted to to do is create a desktop shrtcut, or shortcut in the All Programs as part of the installation process.

Also how do I assign a custom icon that will show up in the task bar?

Thanks, Risho


create-setup-and-deployment-of-wpf-application-step-by-step

Is very helpful link for new users. Wpf and windows Forms are not much different in Deployment.


Assuming you are talking about ClickOnce publishing, you can ensure that desktop shortcuts and start menu shortcuts are created by selecting the 'The application is available offline as well (launchable from start menu)' radio button in the publish tab of the project properties, and clicking the 'Create desktop shortcut' checkbox in the Publish Options window.


I figured it out. For some reason, Visual Studio used the registered name under which it was installed, which is my employer, to create a shortcut on the All Programs and dropped the program shortcut there.

I also found in the project property page where to set the desktop icon.

Man, I'm good - sheesh! (JK)

Have great day.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜