Install Shield 修改Branding

本文介绍如何在InstallShield中去除或更改品牌标识。通过编辑控制表中的属性,可以隐藏原有的品牌标识,并替换为自定义的品牌标识。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 It is possible to change, or remove (much easier) the InstallShield branding.

If all you want to do is to remove the branding:

------------

1. Open the Direct Editor view and open the Control table

2. Order the columns by 'Control - s(50)'

3. Located the first instance of 'Branding1' in the Control column.

4. Change all the 'Branding1' control attributes ('Attributes - I4' column) to '2' from '3'

5. Succeeded 'Branding1' is 'Branding2', change the attributes to '65536', from '65537'.

6. Now locate all 'DlgLine' controls and set the 'X - (I2)' column value to '0'. Note some are already set to '0', these should be the Welcome pages.

All this does is sets the branding controls visible attribute to false, which the compiler does not modify as it does the text attribute.

------------

If you want to brand the pages with whatever, you need to do a little extra work.

A. Copy the 'IDS_INSTALLSHIELD' and 'IDS_INSTALLSHIELD_FORMATTED' string resources and create respective versions of your own - IDS_COMPANY and 'IDS_COMPANY_FORMATTED'. for the formatted version, be sure to copy the formatting in between {...} from IDS_INSTALLSHIELD_FORMATTED.

B. Now save your IS project file as in the XML file format, this will allow edition not available in the IDE.

C. In the XML, find all Branding1 and Branding2 controls and duplicate the entire line (I'll call them MyBranding1 and MyBranding2 for reference), inserting those duplicates on the next line after the originals. You'll need to replace the '##IDS_INSTALLSHIELD##' with '##IDS_COMPANY##' for MyBranding1 and '##IDS_INSTALLSHIELD_FORMATTED##' with '##IDS_COMPANY_FORMATTED##' for the MyBranding2 control.

D. Save the XML and load the project through IS.

E. You'll probably need to adjust the width of your custom branding controls, so go to the Direct Editor and open the Controls table.

F. Order the columns by 'Control - s(50)'

G. Located the first instance of 'MyBranding1' in the Control column.

H. Set the 'Width - (I2)' column to the desired value and repeat for all 'MyBranding1'. Then repeat for 'MyBranding2'

I. Now do the same for the original Branding1/2 controls as in step 4 and 5 above, to hide them.

J. If you modified the widths of your custom branding controls, then you'll need to modify the x position of the 'DlgLine' control. Find the first occurrence of 'DlgLine' in the Control column and modify the 'X - (I2)' column value. The default is 48, so just replace those with that X value.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值