MSIX will not launch run on user login using windows.startupTask in manifest on some devices.

%3CLINGO-SUB%20id%3D%22lingo-sub-1473940%22%20slang%3D%22en-US%22%3EMSIX%20will%20not%20launch%20run%20on%20user%20login%20using%20windows.startupTask%20in%20manifest%20on%20some%20devices.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1473940%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20are%20having%20a%20issue%20with%20an%20Application%20packaged%20up%20as%20MSIX%20which%20needs%20to%20start%20on%20users%20login.%3CBR%20%2F%3EWe%20have%20added%20the%20lines%20below%20into%20the%20manifest%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%20%20%3CAPPLICATIONS%3E%0A%20%20%20%20%3CAPPLICATION%20id%3D%22ENCORETECHDESKTOPAPPLICATION%22%20executable%3D%22VFS%5CProgramFilesX86%5CEncoretech%5CEncoretech%20TIPs%5CEncoreTech.DesktopApplication.exe%22%20entrypoint%3D%22Windows.FullTrustApplication%22%3E%0A%20%20%20%20%20%20%3CEXTENSIONS%3E%0A%20%20%20%20%20%20%20%20%3CEXTENSION%20category%3D%22windows.startupTask%22%20executable%3D%22VFS%5CProgramFilesX86%5CEncoretech%5CEncoretech%20TIPs%5CEncoreTech.DesktopApplication.exe%22%20entrypoint%3D%22Windows.FullTrustApplication%22%3E%0A%20%20%20%20%20%20%20%20%20%20%3CSTARTUPTASK%20taskid%3D%22Encoretech%20TIPs%22%20enabled%3D%22true%22%20displayname%3D%22Encoretech%20TIPs%22%3E%3C%2FSTARTUPTASK%3E%0A%20%20%20%20%20%20%20%20%3C%2FEXTENSION%3E%0A%20%20%20%20%20%20%3C%2FEXTENSIONS%3E%0A%20%20%20%20%20%20%3CVISUALELEMENTS%20backgroundcolor%3D%22transparent%22%20displayname%3D%22Encoretech%20TIPs%22%20square150x150logo%3D%22Assets%5CSquare150x150Logo.png%22%20square44x44logo%3D%22Assets%5CSquare44x44Logo.png%22%20description%3D%22Encoretech%20TIPs%22%3E%0A%20%20%20%20%20%20%20%20%3CDEFAULTTILE%20wide310x150logo%3D%22Assets%5CWide310x150Logo.png%22%20square310x310logo%3D%22Assets%5CSquare310x310Logo.png%22%20square71x71logo%3D%22Assets%5CSquare71x71Logo.png%22%3E%3C%2FDEFAULTTILE%3E%0A%20%20%20%20%20%20%3C%2FVISUALELEMENTS%3E%0A%20%20%20%20%3C%2FAPPLICATION%3E%0A%20%20%3C%2FAPPLICATIONS%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20guide%20was%20followed%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.advancedinstaller.com%2Fstartup-programs-msix.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.advancedinstaller.com%2Fstartup-programs-msix.html%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThe%20issue%20i%20am%20having%20is%20on%20some%20devices%20the%20application%20does%20not%20start.%3CBR%20%2F%3EOn%20devices%20that%20are%20working%20it%20is%20running%20at%20login%20as%20expected.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20noticed%20that%20if%20you%20go%20to%20Settings%20-%26gt%3B%20Apps%20%26amp%3B%20Features%20-%26gt%3B%20Select%20the%20Advanced%20on%20the%20Application.%20The%20Run%20at%20log-in%20is%20missing%20on%20affected%20devices.%20(see%20screen%20shots)%3CBR%20%2F%3E%3CBR%20%2F%3EThese%20screenshot%20have%20been%20taken%20from%20a%20Desktop%20and%20a%20Laptop%20so%20would%20expect%20Battery%20to%20be%20missing%20in%20my%20logic!%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22working.PNG%22%20style%3D%22width%3A%20552px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F199459iD96763CCF921BD81%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22working.PNG%22%20alt%3D%22working.PNG%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22issue.PNG%22%20style%3D%22width%3A%20512px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F199460iF5A2652A6C5F790C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22issue.PNG%22%20alt%3D%22issue.PNG%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20are%20using%20Windows%2010%201903%2018362.900%3CBR%20%2F%3EMicrosoft.DesktopAppInstaller%26nbsp%3B1.0.32912.0%3C%2FP%3E%3CP%3EThe%20issue%20is%20present%20if%20deployed%20via%20SCCM%20or%20manually%20installed.%3CBR%20%2F%3EWe%20use%20a%20global%20build%20so%20differences%20in%20devices%20would%20be%20at%20a%20minimum%20like%20Region%20settings.%3CBR%20%2F%3E%3CBR%20%2F%3Eis%20there%20any%20dependencies%20for%20this%20feature%20to%20function%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20in%20advanced%20for%20reading%20this%20and%20any%20help%20is%20welcome.%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%3CBR%20%2F%3EDavid%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Visitor

Hi all,

We are having a issue with an Application packaged up as MSIX which needs to start on users login.
We have added the lines below into the manifest file.

 

  <Applications>
    <Application Id="ENCORETECHDESKTOPAPPLICATION" Executable="VFS\ProgramFilesX86\Encoretech\Encoretech TIPs\EncoreTech.DesktopApplication.exe" EntryPoint="Windows.FullTrustApplication">
      <Extensions>
        <desktop:Extension Category="windows.startupTask" Executable="VFS\ProgramFilesX86\Encoretech\Encoretech TIPs\EncoreTech.DesktopApplication.exe" EntryPoint="Windows.FullTrustApplication">
          <desktop:StartupTask TaskId="Encoretech TIPs" Enabled="true" DisplayName="Encoretech TIPs" />
        </desktop:Extension>
      </Extensions>
      <uap:VisualElements BackgroundColor="transparent" DisplayName="Encoretech TIPs" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" Description="Encoretech TIPs">
        <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\Square310x310Logo.png" Square71x71Logo="Assets\Square71x71Logo.png" />
      </uap:VisualElements>
    </Application>
  </Applications>

 

This guide was followed:
https://www.advancedinstaller.com/startup-programs-msix.html


The issue i am having is on some devices the application does not start.
On devices that are working it is running at login as expected.

I have noticed that if you go to Settings -> Apps & Features -> Select the Advanced on the Application. The Run at log-in is missing on affected devices. (see screen shots)

These screenshot have been taken from a Desktop and a Laptop so would expect Battery to be missing in my logic!

working.PNGissue.PNG

We are using Windows 10 1903 18362.900
Microsoft.DesktopAppInstaller 1.0.32912.0

The issue is present if deployed via SCCM or manually installed.
We use a global build so differences in devices would be at a minimum like Region settings.

is there any dependencies for this feature to function?

Thanks in advanced for reading this and any help is welcome.

Regards
David

0 Replies