将exe文件作为自定义操作运行时安装程序失败 [英] Setup fails when running an exe file as custom action

查看:92
本文介绍了将exe文件作为自定义操作运行时安装程序失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的目标是将单个项目输出部署到目标位置,并在设置过程中运行另一个单独的exe文件。


我的项目输出是一些dll,而单独的exe文件是我需要在目标机器上安装的驱动程序的安装向导。


当我运行安装时它结束时出现错误"此安装程序包存在问题,作为安装程序的一部分运行的程序未按预期完成..."


当我运行exe是单独的,我已经把它作为管理员运行,否则它不起作用,我猜这有点不相关。


请帮助。




MOses

解决方案

您的朋友,


感谢您的发帖。


首先,您有一个澄清:


您尝试安装的VS版本是什么?


>>此安装程序包存在问题,该程序包运行为部分设置未按预期完成..."


从错误信息来看,您的VS安装包似乎有问题,您需要从控制面板修复你的VS.


如果修复不起作用,请下载一个好的iso并再次使用它进行修复。


Best的问候,


Hi,

My goal is to deploy a single project output to a target location and run another seperate exe file as part of the setup process.

my project output are some dll's, and the seperate exe file is an installation wizard for a driver i need to install on the target machine.

when i run the installation it ends with an error "there is a problem with this installer package, a program that run as part of the setup did not finish as expected..."

when i run the the exe seperatly, i have run it as admin, otherwise it's not working, i guess that's somehow related.

pls assist.


MOses

解决方案

Hi my friend,

Thank you for your post.

Firstly, there is a clarification with you:

What's edition of VS you tried to install?

>>there is a problem with this installer package, a program that run as part of the setup did not finish as expected..."

From the error information, it seems that there is something wrong with your VS install packages, you need to repair your VS from Control Panel.

If the repair doesn't work, please download a good iso and use it to repair again.

Best Regards,


这篇关于将exe文件作为自定义操作运行时安装程序失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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