5

Windows 10 (マルチタッチなど) 用の Visual Studio 2015 で設計された uwp-app がありますが、Windows ストア経由でリリースしてはなりません (はい、「プライベート / 非表示」バージョンも含まれます)。 Windows ストア経由) と Powershell 経由のインストールは、平均的な顧客にとっては少し複雑なので、古き良き .exe ファイルを使用することをお勧めします。

.appx の代わりにプログラムを .exe としてエクスポート/リリースする可能性はありますか?

サポートのためのThx :)

4

4 に答える 4

3

これは完全な解決策ではありませんが、これらを試すことができます。

  1. AppxInstaller
  2. または、インストーラー用に独自のコードを記述します。この回答を確認してください。
于 2016-06-28T05:38:35.457 に答える
3

Advanced Installerというツールを使用してこれを行うことができます。手順

 1. Create a new Installer Project Professional.
 2. Select the files and folder option under Resources on the left side menu panel.
 3. Right click on Application Folder > Add Files. Add your certificate and appx file.
 4. Scroll down to Custom Actions tab under Custom Behavior on the left side menu panel.
 5. Under Custom Actions, add a powershell inline script.
 6. Write commands for installing the certificate and the extension. In parameter, pass 
    the certificate and appx file added to resources. Powershell commands-
    certutil -addstore "TrustedPublisher" "<path>\certificate.cer"
    Add-AppxPackage <path_to_appx_package>\uwpapp.appx
  7. Under Execution time select- "When the system is being modified"
  8. Under Execution options, select- Run with Local System with full previleges.
  9. Select Builds tab in Package Definition, 
  10. Under configuration, package type, select Single Exe Setup(With Resources).
  11. Right click on DefaultBuild and select build.This will generate an EXE file.
于 2019-04-11T11:38:44.433 に答える
2
  1. グループ ポリシーを使用してアプリをサイドロードできます
  2. appx のインストールをダブルクリックできる Windows 10 Anniversary Update を待つことができます。
于 2016-06-28T06:14:30.097 に答える