安装程序制作时,往往需要添加自定义系统必备,对于vs2008来说相对简单。
下载bootstrapper manifest generator 下载地址http://code.msdn.microsoft.com/bmg
如果是默认安装路径,则在C:/Program Files/Microsoft/Bootstrapper Manifest Generator for VS2008目录下打开bmg,进行必要的设置后,vs2008安装程序-》系统必备列表中就可以看到自定义的系统必备程序列表。
详细配置步骤在下面这篇文章里写的很清楚:
<!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} @font-face {font-family:"/@宋体"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; font-size:10.5pt; mso-bidi-font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:宋体; mso-font-kerning:1.0pt;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} -->
http://www.wez.nl/blog/post/Prerequisites-and-Bootstrapper-Manifest-Generator.aspx
product.xml 和package.xml的具体含义参见msdn解释:
http://msdn.microsoft.com/en-us/magazine/cc163899.aspx