How to use CustomAction in WIX Bundle?

后端 未结 2 815
清酒与你
清酒与你 2020-12-16 18:28

To give you a background - I have a 4 MSI\'s which comes from our vendor and this has to go to our company servers (we are looking at around 3500 servers). As of now, my cou

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-16 19:17

    There is a fourth option, a useful lightweight hack, identified by Vijay Kotecha (see http://vijayskotecha.blogspot.com/2013/07/wix-bootstrapper-custom-action.html),...

    Essentially, build an around a pass-through .bat or .cmd batch file. The batch/command file contains the single line '%*' which re-executes all of the command line arguments as a first class command.

    Thus:

    
    
    

    Where WixCustomAction.cmd is a file containing only '%*'.

    These can be placed into the successively as needed using different InstallCommands as needed.

提交回复
热议问题