Forum Discussion
PS execution strategy with MSIX updates ?
Sorry maybe my question is not enough clear :
I would like to know the expected behavior of MSIX in case of any update(s) coming from the Store, at PS script execution and supposing that this PS script is tuned with only one execution at 1st installation.
I would like to avoid it because asking elevating privilege (UAC)
Rgds
Hi JF_BAUDE
It does not matter from where you install the app, if you set the RunOnce policy, it should not run it during an upgrade.
By the way, I haven't tried publishing an MSIX that uses PSF (scripts) in the store. You might get a rejection from Microsoft. From what I remember, when PSF was released its purpose was to serve enterprise LOB apps that are no longer under active development. Apps that get published in the store are usually under active development and in such cases Microsoft updating the code of your app to handle any particular scenarios, instead of integrating the Package Support Framework.