Add a summary information to WiX generated MSI

☆樱花仙子☆ 提交于 2020-01-02 04:56:22

问题


How to add (or change a default values) a summary page information to a WiX-generated MSI file?

Summary page is the tab page which is visible if you right click on the MSI file in the Windows Explorer and includes following text fields:

Title, Subject, Author, Category, Keywords, Comments

alt text http://img151.imagevenue.com/img.php?image=13824_msi_summary_122_495lo.jpg


回答1:


Further to @Stefan answer, here's a mapping of Wix items to msi details properties. have not found a way to set "category" property at all.




回答2:


That information is set in the <Package> element, for example:

<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
  <Product
  UpgradeCode="SOMEGUID-XXXX-XXXX-XXXX-XXXXXXXXXXXX"  
  Name='MyApp' 
  Id='????????-????-????-????-????????????'
  Language='1033' 
  Codepage='1252' 
  Version='1.0.0' 
  Manufacturer='MyCompany'>
    <Package
    Id="*"
    Keywords="keyword1, keyword2, keyword3"
    Description="summary of application"
    Comments="some comments"
    Manufacturer="mycompany"
    InstallerVersion="300"
    Languages="1033"
    Compressed="yes"
    SummaryCodepage="1252"/>



回答3:


Another way to set the summary info of an MSI is by using Msiinfo.exe utility. We use this in our build system to set some of the values that could not be set while generating the MSI file (in a post build step).




回答4:


If you need to set the information after creating the MSI you can also edit the summary information using Orca from the Windows SDK. To install it, first install the Windows SDK then install Orca from the MSI file at C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\orca.msi . Set the information through View -> Summary Information... .



来源:https://stackoverflow.com/questions/621470/add-a-summary-information-to-wix-generated-msi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!