html tool

2017年10月17日星期二

Setup Factory build in cmd


[popexizhi:
刚刚发现 Setup Factory 可以在命令行build ,官方帮助如下,bela.
]

Command Line Options

/BUILD

Tells Setup Factory to build the project file passed in on the cmd line or from a batch file. For example:
"C:\Program Files\Setup Factory 9\SUFDesign.exe" /BUILD "C:\TestProj.suf"


Tip: If you are running the build from a batch file, you can use "start /wait", for example:
start "" /wait "C:\Program Files\Setup Factory 9\SUFDesign.exe" /BUILD ...



/STDOUT

Makes the build status go to the standard output device.
For example, if Setup Factory's build is run from another product that captures the standard output:
"C:\Program Files\Setup Factory 9\SUFDesign.exe" /BUILD "C:\TestProj.suf" "/STDOUT"

Or, if you want to pipe the output to a new file:
"C:\Program Files\Setup Factory 9\SUFDesign.exe" /BUILD "C:\TestProj.suf" "/STDOUT" > "C:\build_output.txt"
[popexizhi: 这个 /STDOUT 很奇怪,自己的测试没有作用,why? ]

没有评论:

发表评论