[英]How to copy a license file which is placed with the setup.msi to target directory (setup created with msifactory)
I have created a Setup file ie setup.msi , this file contains a website installer 我创建了一个安装文件,即setup.msi,该文件包含一个网站安装程序
I have a License.xml file that I want to give to my client with the installer (setup.msi). 我有一个想要通过安装程序(setup.msi)提供给我的客户端的License.xml文件。
Before running the setup.msi , client has to make sure that the License.xml file should be in the same directory where setup.msi resist. 在运行setup.msi之前,客户端必须确保License.xml文件应与setup.msi所在的目录位于同一目录中。
I want my setup.msi file to copy the License.xml file to the Destination directory (where website will be installed , this path will be prompted to user for customization) 我希望我的setup.msi文件将License.xml文件复制到Destination目录(将安装网站的位置,该路径将提示用户进行自定义)
I am using MSIFactory for creating setup.msi. 我正在使用MSIFactory创建setup.msi。 I am not able to do this. 我无法做到这一点。 I searched over net but did not get any accurate answer. 我在网上搜索,但没有得到准确的答案。
I am not familiar with MSIfactory, but in installshield what I would do is, call a batch script to do the copy and pass the target directory as a parameter to it. 我不熟悉MSIfactory,但是在installshield中,我将要做的是,调用批处理脚本进行复制并将目标目录作为参数传递给它。 or use the 'XCopyFile' function to do the copying. 或使用“ XCopyFile”功能进行复制。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.