简体   繁体   English

如何使用wix在msi安装程序中包含文件?

[英]How to include files in an msi installer using wix?

I'm pretty sure that this is a basic question but I really don't know where to start... so any help would be really appreciated. 我很确定这是一个基本问题,但是我真的不知道从哪里开始...所以我们将不胜感激。

I'm creating an msi installer using WiX but how do you include, say an exe file, into the msi installer itself? 我正在使用WiX创建一个msi安装程序,但是如何将一个exe文件包含到msi安装程序本身中呢? I mean, when the msi installer is created, I want the exe file to be part of that installer so that when the user clicks on the msi on his machine, I don't need to look for the exe file from somewhere in the his system... 我的意思是,当创建msi安装程序时,我希望exe文件成为该安装程序的一部分,这样,当用户单击其计算机上的msi时,我不需要从他的计算机中的某个位置查找exe文件。系统...

Hope I'm making sense... 希望我有道理...

Any help would be appreciated! 任何帮助,将不胜感激!

好的,我不好。。。正在组件内部使用带通配符的copyfile ...应该为每个文件包含1个组件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM