开发者

Return values from wix custom-action dll

开发者 https://www.devze.com 2023-03-19 06:24 出处:网络
I have a .dll I\'m using inside a wix-built .msi that is currently returning Windows error codes upon failure. This page seems to imply that I can only use the values listed with dll executables.

I have a .dll I'm using inside a wix-built .msi that is currently returning Windows error codes upon failure. This page seems to imply that I can only use the values listed with dll executables.

The calls are failing (returning non-zero values), but no error message is given to the user. Do I need to modify my 开发者_运维问答.dll to use the "accepted" return values for this to happen?


Yes. See http://msdn.microsoft.com/en-us/library/aa368072%28v=vs.85%29.aspx.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号