Specific update scenario

%3CLINGO-SUB%20id%3D%22lingo-sub-2261241%22%20slang%3D%22en-US%22%3ESpecific%20update%20scenario%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2261241%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20put%20the%20automatic%20updates%20in%20place%20using%20the%20Appinstaller%20file.%3C%2FP%3E%3CP%3ENow%20we%20would%20like%20to%20customize%20the%20updates%20as%20below%3A%3C%2FP%3E%3CUL%3E%3CLI%3EMSIX%20sends%20a%20message%20that%20a%20new%20release%20is%20available%20for%20download%3C%2FLI%3E%3CLI%3EUX%20interface%20describes%3C%2FLI%3E%3C%2FUL%3E%3COL%3E%3CLI%3ENew%20release%20available%3C%2FLI%3E%3CLI%3EDownload%20and%20Install%20Now%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Or%3C%2FP%3E%3CP%3EPostpone%20installation%20until%20%3A%20pick%20a%20time%20%2F%20date%20%2B%20clear%20message%20Not%20later%20than%20xx%2Fxx%2Fxx%20when%20download%2Finstallation%20will%20be%20performed%20automatically%20forcing%20our%20application%20to%20close%20(please%20plan%20your%20update%20at%20your%20best%20convenience)%3C%2FP%3E%3CP%3EAfter%20expiration%20of%20the%20time%20allocated%2C%20a%20new%20pop-up%20window%20is%20displayed%20with%20possibility%20to%20postpone%20again%20and%20show%20message%20xx%20days%20remaining%20before%20automatic%20update.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20please%20tell%20us%20if%20this%20is%20possible%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2270995%22%20slang%3D%22en-US%22%3ERe%3A%20Specific%20update%20scenario%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2270995%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F871627%22%20target%3D%22_blank%22%3E%40adelkeita%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'd%20like%20to%20get%20some%20more%20information%20about%20your%20question%2C%20and%20the%20functionality%20you%20are%20interested%20in.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWhen%20delaying%20the%20update%2C%20should%20the%20user%20set%20the%20number%20of%20days%20or%20select%20a%20date%20to%20delay%20for%3F%3C%2FLI%3E%0A%3CLI%3EIf%20the%20update%20is%20a%20security%20fix%2C%20should%20the%20user%20still%20be%20able%20to%20delay%20the%20update%3F%3C%2FLI%3E%0A%3CLI%3EHow%20much%20of%20the%20message%20should%20be%20customizable%3F%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CBR%20%2F%3EFor%20some%20additional%20information%20on%20configuring%20Automatic%20Updates%20for%20AppInstaller%20installed%20Windows%20Apps%2C%20see%20the%20following%20Tech%20Community%20blog%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwindows-dev-appconsult%2Fhandling-application-updates-with-app-installer-and-msix-in%2Fba-p%2F355389%22%20target%3D%22_blank%22%3EHandling%20application%20updates%20with%20App%20Installer%20and%20MSIX%20in%20Windows%2010%2019H1%20-%20Microsoft%20Tech%20Community%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2278779%22%20slang%3D%22en-US%22%3ERe%3A%20Specific%20update%20scenario%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2278779%22%20slang%3D%22en-US%22%3EHi%20Roy%2C%3CBR%20%2F%3EThank%20you%20for%20your%20response.%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20delaying%20the%20update%2C%20should%20the%20user%20set%20the%20number%20of%20days%20or%20select%20a%20date%20to%20delay%20for%3F%3CBR%20%2F%3EIdeally%20we'd%20like%20to%20be%20able%20to%20select%20a%20date%20to%20delay%20for.%20But%20the%20user%20will%20be%20able%20to%20postpone%20the%20install%20for%20a%20fixed%20number%20of%20days%2C%20e.g%2014%20days%2C%2030%20days.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20the%20update%20is%20a%20security%20fix%2C%20should%20the%20user%20still%20be%20able%20to%20delay%20the%20update%3F%3CBR%20%2F%3EYes%2C%20the%20pratician%20should%20be%20able%20to%20have%20control%20over%20the%20installation%20of%20the%20update.%3CBR%20%2F%3E%3CBR%20%2F%3EHow%20much%20of%20the%20message%20should%20be%20customizable%3F%3CBR%20%2F%3EI%20think%20the%20customization%20is%20more%20about%20the%20ability%20to%20postpone%20the%20update%20when%20the%20user%20wants.%3CBR%20%2F%3EIf%20the%20message%20itself%20is%20customizable%2C%20that's%20a%20good%20point%20too.%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20the%20moment%2C%20I'll%20implement%20this%20custom%20update%20scenario%20by%20using%20the%20PowerShell%20command%20%22Add-AppxPackage%22.%20We%20can't%20use%20UWP%20because%20when%20integrating%20the%20C%2B%2B%2FWinRT%20APIs%20into%20our%20C%2B%2B%2FWin32%2FwxWidgets%20based%20application%2C%20I%20had%20a%20lot%20of%20compilation%20errors.%3CBR%20%2F%3EUsing%20the%20PowerShell%20command%20should%20solve%20the%20problem%20(hope%20so!).%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2293859%22%20slang%3D%22en-US%22%3ERe%3A%20Specific%20update%20scenario%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2293859%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F871627%22%20target%3D%22_blank%22%3E%40adelkeita%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20let%20me%20know%20if%20the%20PowerShell%20cmdlet%20was%20able%20to%20help%20you%20meet%20some%2C%20or%20all%20of%20your%20needs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHave%20you%20looked%20into%20the%20use%20of%20Microsoft's%20Endpoint%20Configuration%20Manager%20(formally%20System%20Center%20Configuration%20Manager)%20for%20delivery%20of%20updated%20Windows%20Apps%20to%20your%20client%20devices%3F%20The%20following%20link%20describes%20allowing%20users%20to%20delay%20App%20deployments%20beyond%20a%20required%20time%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fapps%2Fdeploy-use%2Fdeploy-applications%23bkmk_deploy-sched%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDeploy%20applications%20-%20Configuration%20Manager%20%7C%20Microsoft%20Docs%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20the%20above%20doesn't%20meet%20your%20requirements%2C%20I'd%20recommend%20creating%20a%20new%20entry%20in%20the%20Idea's%20section%20of%20the%20MSIX%20Tech%20Community.%20As%20a%20team%20we%20review%20the%20entries%20and%20their%20voting%20status%20to%20prioritize%20what%20will%20be%20implemented%20next.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20hope%20that%20I%20was%20able%20to%20help%20you.%3C%2FP%3E%0A%3CP%3ERoy%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2347864%22%20slang%3D%22en-US%22%3ERe%3A%20Specific%20update%20scenario%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2347864%22%20slang%3D%22en-US%22%3EHi%20Roy%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20your%20answer.%3CBR%20%2F%3EYes%2C%20the%20PowerShell%20cmdelts%20do%20the%20job%20perfectly.%3CBR%20%2F%3EI%20use%20%22Get-AppxPackage%22%20and%20%22Add-AppxPackage%22%20in%20my%20c%2B%2B%20code%20and%20I%20can%20implement%20the%20custom%20update%20scenario.%3CBR%20%2F%3E%3CBR%20%2F%3ECheers%2C%3CBR%20%2F%3E%3CBR%20%2F%3EAdel.%3C%2FLINGO-BODY%3E
Occasional Contributor

We have put the automatic updates in place using the Appinstaller file.

Now we would like to customize the updates as below:

  • MSIX sends a message that a new release is available for download
  • UX interface describes
  1. New release available
  2. Download and Install Now

              Or

Postpone installation until : pick a time / date + clear message Not later than xx/xx/xx when download/installation will be performed automatically forcing our application to close (please plan your update at your best convenience)

After expiration of the time allocated, a new pop-up window is displayed with possibility to postpone again and show message xx days remaining before automatic update.

 

Can you please tell us if this is possible?

Thanks.

4 Replies
Microsoft Verified Best Answer

Hi @adelkeita,

 

I'd like to get some more information about your question, and the functionality you are interested in.

  • When delaying the update, should the user set the number of days or select a date to delay for?
  • If the update is a security fix, should the user still be able to delay the update?
  • How much of the message should be customizable?


For some additional information on configuring Automatic Updates for AppInstaller installed Windows Apps, see the following Tech Community blog:
Handling application updates with App Installer and MSIX in Windows 10 19H1 - Microsoft Tech Communi...

 

Hi Roy,
Thank you for your response.

When delaying the update, should the user set the number of days or select a date to delay for?
Ideally we'd like to be able to select a date to delay for. But the user will be able to postpone the install for a fixed number of days, e.g 14 days, 30 days.

If the update is a security fix, should the user still be able to delay the update?
Yes, the pratician should be able to have control over the installation of the update.

How much of the message should be customizable?
I think the customization is more about the ability to postpone the update when the user wants.
If the message itself is customizable, that's a good point too.

For the moment, I'll implement this custom update scenario by using the PowerShell command "Add-AppxPackage". We can't use UWP because when integrating the C++/WinRT APIs into our C++/Win32/wxWidgets based application, I had a lot of compilation errors.
Using the PowerShell command should solve the problem (hope so!).

Hi @adelkeita,

 

Please let me know if the PowerShell cmdlet was able to help you meet some, or all of your needs.

 

Have you looked into the use of Microsoft's Endpoint Configuration Manager (formally System Center Configuration Manager) for delivery of updated Windows Apps to your client devices? The following link describes allowing users to delay App deployments beyond a required time:

Deploy applications - Configuration Manager | Microsoft Docs

If the above doesn't meet your requirements, I'd recommend creating a new entry in the Idea's section of the MSIX Tech Community. As a team we review the entries and their voting status to prioritize what will be implemented next.

I hope that I was able to help you.

Roy

Hi Roy,

Thank you for your answer.
Yes, the PowerShell cmdelts do the job perfectly.
I use "Get-AppxPackage" and "Add-AppxPackage" in my c++ code and I can implement the custom update scenario.

Cheers,

Adel.