当 运行 来自 bundle 时,RestartResource 不提示
RestartResource doesn't prompt when run from bundle
我有一个使用 MsiPackage 元素链接 MSI 的包。在那个 MSI 中,我添加了以下内容:
<util:RestartResource Path="[VS2015DEVENV]" />
当我刚刚执行 MSI 时,使用 VS 运行ning 我收到了按预期关闭 VS 的提示。但是,当我 运行 Bundle 时,我没有收到提示。我必须在捆绑包上设置一些配置才能允许这些提示吗?
将 ShowFilesInUse
选项添加到 WixStandardBootstrapperApplication
解决了这个问题。
...
<bal:WixStandardBootstrapperApplication
...
ShowFilesInUse="yes"/>
...
我有一个使用 MsiPackage 元素链接 MSI 的包。在那个 MSI 中,我添加了以下内容:
<util:RestartResource Path="[VS2015DEVENV]" />
当我刚刚执行 MSI 时,使用 VS 运行ning 我收到了按预期关闭 VS 的提示。但是,当我 运行 Bundle 时,我没有收到提示。我必须在捆绑包上设置一些配置才能允许这些提示吗?
将 ShowFilesInUse
选项添加到 WixStandardBootstrapperApplication
解决了这个问题。
...
<bal:WixStandardBootstrapperApplication
...
ShowFilesInUse="yes"/>
...