gpt4 book ai didi

visual-studio - WindowsInstaller 项目中的 PostBuildEvent 返回错误代码 '1'

转载 作者:行者123 更新时间:2023-12-02 05:40:39 25 4
gpt4 key购买 nike

我有一个 Windows Installer (VS 2008) 项目,我想创建一个非常简单的构建后事件,它只打开目标文件夹,并选择安装程序。

所以我在 PostBuildEvent 字段中输入了以下内容:

explorer.exe /select, $(BuiltOuputPath)

问题是我收到以下错误:

ERROR: Error de 'PostBuildEvent' con el código de error '1' 'Error no especificado'

翻译成这样的:

ERROR: 'PostBuildEvent' error with error code '1' 'Unspecified error'

事情是,文件夹打开,安装程序和所有选择,但它一直给我错误。

那么,我做错了什么吗?

最佳答案

它与“开始”配合得很好:

start explorer.exe /select, $(BuiltOuputPath)

关于visual-studio - WindowsInstaller 项目中的 PostBuildEvent 返回错误代码 '1',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11010966/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com