Use Orca to edit msi from command line?

前端 未结 5 1592
我寻月下人不归
我寻月下人不归 2020-12-08 03:20

I\'m using Visual Studio 2008 and have created a setup project for my application. The application has a high-resolution icon (for Vista). There\'s a bug in Visual Studio, a

5条回答
  •  萌比男神i
    2020-12-08 03:50

    Possibly the easiest solution that I found for this was to create a new "Transform" inside of Orca, and then to apply the transform as a part of my post-build steps.

    1) Open the MSI file using ORCA for editing. 2) Click on "New transform" 3) Make all of the applicable changes to your MSI tables using the Orca editor. 4) Click on "Generate transform", and save the file. 5) Edit your build events to execute msitran during the post-build step. like this...

    msitran -a (path to transform file) (path to MSI file)

    More information about MSITran.exe can be found at the following location... MSITran

    This will automatically apply your edits to the MSI file once your installer build has completed, eliminating the need for custom VBScript.

提交回复
热议问题