MSIX application, unable to stop automatic start-up on Windows 8.1

Copper Contributor

I have installed an MSIX application on my windows 8.1 machine using “MSIX Core” and the powershell. The application is tradingview desktop. The application works great but opens automatically on computer start up and I do not want it to. I would rather click the icon to open. It is not listed in the start up programs with the task manager so I am unable to disable the “start on startup function” this way. Can you please advise on how to disable automatic start up. I have also attached the AppxManifest.xml file, it is my understanding that this may be the folder for the automatic start up properties.

 

Thanks in advance for your help.

<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10">
  <!-- Version is going to be filled during build -->
  <Identity Name="TradingView.Desktop" Version="1.0.16.3349" Publisher="CN=&quot;TradingView, Inc.&quot;, O=&quot;TradingView, Inc.&quot;, S=Ohio, C=US" ProcessorArchitecture="x64" />
  <Properties>
    <DisplayName>TradingView</DisplayName>
    <PublisherDisplayName>TradingView, Inc.</PublisherDisplayName>
    <Description>TradingView - Stock charts, Forex &amp; Bitcoin ticker</Description>
    <Logo>images\PackageLogo.png</Logo>
  </Properties>
  <Resources>
    <!-- TODO: support more languages -->
    <Resource Language="en-us" />
  </Resources>
  <Dependencies>
    <TargetDeviceFamily Name="MSIXCore.Desktop" MinVersion="6.1.7601.0" MaxVersionTested="10.0.10240.0" />
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.10240.0" MaxVersionTested="10.0.18362.0" />
    <PackageDependency Name="Microsoft.VCLibs.140.00.UWPDesktop" MinVersion="14.0.24217.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
  </Dependencies>
  <Capabilities>
    <rescap:Capability Name="runFullTrust" />
    <rescap:Capability Name="packageManagement" />
    <DeviceCapability Name="microphone" />
    <DeviceCapability Name="webcam" />
  </Capabilities>
  <Applications>
    <Application Id="TradingView.Desktop" Executable="TradingView.exe" EntryPoint="Windows.FullTrustApplication">
      <Extensions>
        <uap3:Extension Category="windows.protocol">
          <uap3:Protocol Name="tradingview" />
        </uap3:Extension>
        <desktop:Extension Category="windows.startupTask" Executable="TradingView.exe" EntryPoint="Windows.FullTrustApplication">
          <desktop:StartupTask TaskId="TradingView" Enabled="false" DisplayName="TradingView" />
        </desktop:Extension>
      </Extensions>
      <uap:VisualElements DisplayName="TradingView" Description="TradingView - Stock charts, Forex &amp; Bitcoin ticker" BackgroundColor="#131722" Square44x44Logo="images\Square44x44Logo.png" Square150x150Logo="images\MediumTile.png">
        <uap:DefaultTile Square71x71Logo="images\SmallTile.png" Wide310x150Logo="images\WideTile.png" Square310x310Logo="images\LargeTile.png">
          <uap:ShowNameOnTiles>
            <uap:ShowOn Tile="square150x150Logo" />
            <uap:ShowOn Tile="square310x310Logo" />
            <uap:ShowOn Tile="wide310x150Logo" />
          </uap:ShowNameOnTiles>
        </uap:DefaultTile>
      </uap:VisualElements>
    </Application>
  </Applications>
</Package>

 

2 Replies
Please remove it. This is responsible for startup of application.
<desktop:Extension Category="windows.startupTask" Executable="TradingView.exe" EntryPoint="Windows.FullTrustApplication">
<desktop:StartupTask TaskId="TradingView" Enabled="false" DisplayName="TradingView" />
</desktop:Extension>

The above answer should work. Although if you can't modify the package and reinstall, it might be easier to post-install delete the startup task that was installed. https://github.com/microsoft/msix-packaging/blob/master/MsixCore/msixmgr/StartupTask.cpp describes how the startup task is parsed when installed via msixmgr, youshould be able to open task scheduler and find and disable the task. In task scheduler, navigate to folder Microsoft\Windows\MsixCore and find the relevant task to disable.