【问题标题】:Windows Store App running .msi installer运行 .msi 安装程序的 Windows 应用商店应用
【发布时间】:2015-12-22 15:27:48
【问题描述】:

我正在开发一个从 URL 下载 MSI 文件的 Windows 商店应用程序。 我想从 C# 代码自动运行 MSI 安装程序。

  1. 第一个问题是 Windows 智能屏幕 - MSI 未签名
  2. 禁用智能屏幕时的事件

    var success = await Windows.System.Launcher.LaunchFileAsync(file);
    returns false;
    

文件 = 下载的 .msi 安装程序

有什么想法吗?

感谢您的建议。

【问题讨论】:

  • 商店应用程序在沙盒中运行,我怀疑您是否可以从中运行 MSI。

标签: c# windows microsoft-metro windows-8.1 store


【解决方案1】:

无法直接从 Windows 应用商店应用启动 MSI(或其他可执行格式)。这在LaunchFileAsync 文档的备注中特别指出。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-28
    • 1970-01-01
    • 2016-11-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多