[英]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.