编程建立WXS进入MSI [英] Programmatically build WXS into MSI

查看:196
本文介绍了编程建立WXS进入MSI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将努力使这一清楚,我可以,但如果你有问题或不完全理解让我知道。

I will try to make this as clear as I can, but if you have questions or don't completely understand let me know.

我有一个程序,从头创建一个WXS(WiX的源代码文件),并测试其以确保它是有效的。我想下一次自动步是使用Visual Studio的WXS的实际建筑(我用VS 2008开发版/团队套件版工作)。我知道一个WiX的项目(含WXS包含在里面),可以从内部被VS建立和维克斯自带的命令行工具的建设以及。我所寻找的是去与最好的选择。该计划是一个命令行实用程序没有图形用户界面。我知道这是可以使用命令行从我的程序中,但我不知道如何与可变目的地和文件名称为创建的文件使用它。在正确的方向推将不胜感激。

I have a program that creates a WXS (WiX source code file) from scratch, and tests it to make sure it is valid. I would like the next automatic step to be the actual building of the WXS using Visual Studio (I am working with VS 2008 Developers Edition/Team Suite Edition). I know that a WiX project (with WXS included in it) can be build from within VS, and the WiX comes with command line utilities for building as well. What I am looking for is the best option to go with. The program is a command line utility with no GUI. I know it is possible to use the command line from within my program, but I don't know how to use it with variable destinations and file names for the created file. A push in the right direction would be greatly appreciated.

推荐答案

在Visual Studio中建立你的WiX工程,并期待在输出窗口要看到什么是WiX的实际运行。然后只要复制粘贴这些行到您的构建审判。

build your WIX project in the visual studio and look at the Output window to see what is WiX actually running. then just copy paste those lines into your build proces.

这篇关于编程建立WXS进入MSI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆