简体   繁体   English

有没有办法在默认设置对话框中更改徽标?

[英]Any way to change logo on default setup dialogs?

A default setup project in visual studio 2008 gives you dialogs with a logo-type image in the upper right of a monitor. Visual Studio 2008中的默认安装项目为您提供了一个监视器右上角带有徽标类型图像的对话框。 All I want to do is change this image to new logo. 我想要做的就是将此图像更改为新徽标。 Don't want to deal with custom dialogs. 不想处理自定义对话框。 Any way to just change the image? 有什么方法可以改变图像吗?

In your setup project, go into the User Interface Dialog editor and click on one of the dialogs. 在您的安装项目中,进入用户界面对话框编辑器并单击其中一个对话框。 In the properties window for that dialog, you can change the BannerBitmap property to any image that you want. 在该对话框的属性窗口中,您可以将BannerBitmap属性更改为所需的任何图像。

It's a long thin bitmap that extends across the entire top of the dialog. 它是一个很长的精简位图,可以扩展到对话框的整个顶部。 The one that I use has about a 7.5:1 width to height ratio. 我使用的那个具有大约7.5:1的宽高比。 Specifically, it's a 497x69 pixel bitmap (.bmp). 具体来说,它是一个497x69像素位图(.bmp)。 I don't remember how I came up with that exact size, but it has worked for me. 我不记得我是如何想出那个确切的尺寸,但它对我有用。

Please see the this blog post: 请参阅此博客文章:

http://followtheheard.blogspot.com/2008/09/changing-bitmap-banner-in-visual-studio.html http://followtheheard.blogspot.com/2008/09/changing-bitmap-banner-in-visual-studio.html

You can follow Stewbob's way (which is the right way), but it will require you to change the image on every page of every installer you create. 您可以按照Stewbob的方式(这是正确的方法),但它需要您更改您创建的每个安装程序的每个页面上的图像。 The above link will let you change the image in the template that Visual Studio uses to create all of your installer files going forward. 上面的链接将允许您更改Visual Studio用于创建所有安装程序文件的模板中的图像。 That way, you can leave your pages pointing to the Default image, because you changed the Default image to be YOUR image. 这样,您可以将页面指向默认图像,因为您将默认图像更改为您的图像。

This solution worked great for me. 这个解决方案对我很有帮助。 Set it and forget it. 设置它并忘记它。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 .Net MessageBoxButtons是否可以更改是/否顺序? - .Net MessageBoxButtons any way to change the Yes/No order? 有什么方法可以配置TFS或VS以默认使用服务器工作区? - Is there any way to configure TFS or VS to use server workspaces by default? 有没有办法一次性改变winform标签名称? - Is there any way to mass-change winform label names at one time? 有什么方法可以在 Visual Studio 2022 中更改智能感知模式 - Is there any way to change intellisense mode in visual studio 2022 Visual Studio安装项目中的“Checkboxes(A)”和“Checkboxes(B)”对话框之间有什么区别? - What is the difference between the “Checkboxes (A)” and “Checkboxes (B)” dialogs in a Visual Studio setup project? 有没有办法将工件 nuget 作者姓名从(默认?) VssAdministrator 更改为我的首选作者姓名? - Is there a way to change the artifact nuget authors name from (default?) VssAdministrator to my preferred authors name? 更改Visual Studio默认类设置 - Changing the Visual Studio Default Class Setup 设置和部署项目中系统驱动器的默认位置 - Default Location to System Drive in Setup and Deployment Project 为什么在Visual Studio中添加解决方案文件夹会更改项目文件,并且有什么方法可以防止这种情况发生? - Why does adding a solution folder in Visual Studio change project files, and is there any way to prevent this? 是否可以在不更改版本号的情况下更改“单击一次”应用中的产品名称 - Is there any way to change the Product name in the Click once app without changing the version number
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM