简体   繁体   English

exe文件无法从msi正确安装

[英]exe file not installing properly from msi

I am trying to build a msi file using Visual Studio 2013 (VSI bundle) with 3 exe files. 我正在尝试使用带有3个exe文件的Visual Studio 2013(VSI捆绑包)构建msi文件。

  1. 7z file for unzip zip files which is also included in msi 7z文件用于解压缩zip文件,该文件也包含在msi中
  2. openvpn exe file openvpn exe文件
  3. automate.exe, which is basically a bat file converted in exe file. automate.exe,基本上是从exe文件转换的蝙蝠文件。

Now in 3rd file I faced an issue. 现在,在第3个文件中,我遇到了一个问题。 After setting an environment variable by the msi package 1 and 2 successfully executed. 在通过msi程序包设置环境变量后,成功执行了1和2。 but in 3rd 7z command not working, but if I run automate.exe individually it works perfectly. 但是在3rd 7z命令中无法正常运行,但是如果我单独运行automate.exe它将运行完美。

How can I solve this issue? 我该如何解决这个问题? I add those exe in custom action in VSI. 我将这些exe添加到VSI中的自定义操作中。

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

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