Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
appx のインストール時に、インストール前のスクリプトまたはインストール後のスクリプトを実行することはできますか? 可能であれば、どうすればこれを達成できますか?
現時点では、これは不可能です。このようなことを達成する唯一の方法は、AppX パッケージの周りに MSI ラッパーのようなものを作成し、AppX パッケージをインストールする前後に MSI からカスタム スクリプトを実行することです (別のスクリプト、たとえば PowerShell を使用)。
そのような解決策はお勧めしませんが、理論的には可能です。