Wix 安装过程中如何判断目录是否存在?

发布于 2024-08-18 12:21:28 字数 105 浏览 0 评论 0原文

WiX 是否有机会确定安装程序运行时某个目录是否存在?我想我必须使用某种自定义操作,不幸的是我不知道如何!此外,我想将自定义操作的结果存储在属性中,并将其用作调用另一个自定义操作的条件。这可能吗?

Is their any chance in WiX to determine if a certain directory exits when the installer is running? I guess i have to use some sort of custom action, unfortunately i don't know how! Furthermore i want to store the result of the custom action in a property and use this as an condition for calling another custom action. Is this possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

国产ˉ祖宗 2024-08-25 12:21:28

看起来 DirectorySearch 就是您正在寻找的东西。这将找到一个目录并将值分配给属性。

It seems like a DirectorySearch is what you're looking for. That will find a directory and assign the value to a Property.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文