简体   繁体   English

如何将与setup.msi一起放置的许可证文件复制到目标目录(使用msifactory创建的安装程序)

[英]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.

相关问题 安装后,目标服务器网站bin文件夹中的所有DLL具有与Web安装程序MSI创建日期相同的时间戳记 - After installation, all DLLs in target server web site bin folder have same time stamp as Web Setup MSI created date Web安装程序项目不生成.msi文件 - Web Setup project not generating .msi file 在我的安装项目中包含另一个MSI文件 - Include another MSI file in my setup project 从服务器到客户端访问网站后运行.msi安装文件 - run .msi setup file after accessing web site from server to client 通过安装文件创建站点,虚拟目录和APP池 - Create Site,Virtual directory and APP pool by a setup file 在.net应用程序中使用Active Directory安装程序时如何获取LastActivityDate - How to get LastActivityDate when using Active Directory Setup in a .net application msi-自定义Visual Studio插件的Deployment Setup项目 - msi - Deployment Setup project for a custom Visual Studio Addin 安装项目msi builds +声称安装成功,但没有输出 - Setup Project msi builds+ claims successful install, but no output Web安装(MSI)项目可在两个不同的AppPool中安装 - Web setup (MSI) project to install in two different AppPool git noob:如何将更新的文件复制到目标目录? - git noob: how to copy just the updated files to a target directory?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM