Pre-Install checks

%3CLINGO-SUB%20id%3D%22lingo-sub-1441490%22%20slang%3D%22en-US%22%3EPre-Install%20checks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1441490%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20are%20pre-install%20checks%20handled%3F%20If%20there%20is%20a%20previous%20version%20of%20my%20app%20I%20want%20to%20abort%20the%20installation.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1834585%22%20slang%3D%22en-US%22%3ERe%3A%20Pre-Install%20checks%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1834585%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686965%22%20target%3D%22_blank%22%3E%40rkamarowski%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20depends%20on%20the%20deployment.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20it%20is%20automated%20we%20check%20if%20there%20is%20a%20version%20and%20if%20the%20installed%20version%20is%20newer%2C%20we%20stop%20deployment%20(although%20you%20can%20force%20override%20this%20in%201809).%26nbsp%3B%20If%20there%20is%20an%20older%20version%20we%20always%20install%20and%20bring%20the%20users%20forward.%26nbsp%3B%20In%20an%20automated%20case%20if%20you%20wanted%20to%20pin%20to%20a%20version%20we%20would%20recommend%20using%20the%20rules%20in%20the%20system%20management%20tool.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20click%20to%20install%2C%20we%20inform%20the%20user%20of%20the%20what%20is%20installed%20and%20they%20get%20the%20decision%20to%20install%2C%20update%2C%20or%20downgrade%20as%20appropriate.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EJohn%20Vintzel%20(%40jvintzel)%3CBR%20%2F%3EPM%20Lead%2C%20MSIX%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

How are pre-install checks handled? If there is a previous version of my app I want to abort the installation.

1 Reply

@rkamarowski 

 

It depends on the deployment. 

 

If it is automated we check if there is a version and if the installed version is newer, we stop deployment (although you can force override this in 1809).  If there is an older version we always install and bring the users forward.  In an automated case if you wanted to pin to a version we would recommend using the rules in the system management tool.

 

For click to install, we inform the user of the what is installed and they get the decision to install, update, or downgrade as appropriate.

 

John Vintzel (@jvintzel)
PM Lead, MSIX