Execute Command Line In WiX Script?

后端 未结 1 1259
没有蜡笔的小新
没有蜡笔的小新 2020-12-31 01:44

How can I execute a command line from within a WiX script?

I want to dynamically generate a command line string and have it executed. I\'m not installing a file rel

1条回答
  •  庸人自扰
    2020-12-31 02:28

    What you probably want is something like this (observing quotes where necessary in the command):

    
    

    The ExeCommand is where you want to put your command. Here I have notepad launching with a file. Some of the attributes will be different, depending on what your command does - particularly the Execute and Impersonate parameters. It would also be helpful to know what version of WiX you were using (the code above is v2).

    0 讨论(0)
提交回复
热议问题