start point is not detected in portable programs

Brass Contributor

start point is not detected in portable programs and visual assets are not rendered either, it was working properly in previous versions of msix packaging tools.

 

<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap10 rescap">
<!-- Package created by MSIX Packaging Tool version: 1.2023.718.0 -->
<Identity Name="MKVToolNix" Publisher="E=email address removed for privacy reasons, CN=Ottoman, OU=Ottoman, O=Ottoman, L=Istanbul, S=Turkiye, C=TR" Version="79.0.0.0" ProcessorArchitecture="x64"/>
<Properties>
<DisplayName>MKVToolNix</DisplayName>
<PublisherDisplayName>Ottoman</PublisherDisplayName>
<Description>MKVToolNix</Description>
<Logo>Assets\StoreLogo.png</Logo>
<uap10:PackageIntegrity>
<uap10:Content Enforcement="on"/>
</uap10:PackageIntegrity>
</Properties>
<Resources>
<Resource Language="en-us"/>
</Resources>
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22000.1"/>
</Dependencies>
<Capabilities>
<rescap:Capability Name="runFullTrust"/>
</Capabilities>
</Package>

 

Ekran görüntüsü 2023-08-21 162003.pngEkran görüntüsü 2023-08-21 162034.png

8 Replies
Hi @atplsx
Can you please mention the version of MSIX Packaging Tool that you are using? It seems like the feature is working in the latter screenshots.

-Fiza
PM, MSIX Team

i use 1.2023.807.0 version
It was doing this in the previous stable version, but now even though I choose the program, when I package it, it does not put exe and other files in it.

The version is listed in line 2 of the screenshot of the manifest.
I tried with the latest version after this post, it still doesn't work
Yes, just wanted to confirm if you're on the latest version as the screenshot indicates a previous version. This should ideally work in the latest build.

Can you please attach the package that you're trying to convert?

-Fiza
PM, MSIX Team

@fizaazmi 

It worked in all previous versions, but it doesn't work in this version.

https://www.upload.ee/files/15687096/mkvtoolnix.exe.html

<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap10 rescap">
  <!--Package created by MSIX Packaging Tool version: 1.2023.807.0-->
  <Identity Name="MKVToolNix" Publisher="E=email address removed for privacy reasons, CN=Ottoman, OU=Ottoman, O=Ottoman, L=Istanbul, S=Turkiye, C=TR" Version="79.0.0.0" ProcessorArchitecture="x64" />
  <Properties>
    <DisplayName>MKVToolNix</DisplayName>
    <PublisherDisplayName>Ottoman</PublisherDisplayName>
    <Description>MKVToolNix</Description>
    <Logo>Assets\StoreLogo.png</Logo>
    <uap10:PackageIntegrity>
      <uap10:Content Enforcement="on" />
    </uap10:PackageIntegrity>
  </Properties>
  <Resources>
    <Resource Language="en-us" />
  </Resources>
  <Dependencies>
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22000.1" />
  </Dependencies>
  
<Capabilities><Capability Name="internetClient" /><rescap:Capability Name="runFullTrust" /></Capabilities></Package>

1.gif2.gif3.gif

@atplsx MPT has native capability to convert portable apps but it can only detect a portable app if it has .zip extension. Extract "mkvtoolnix.exe" to a folder and then zip that folder back to .zip. In the 'Application package' flow, browse this .zip file from "Select installer" page. Proceed further until create package page. This flow creates start menu tiles for all the executable present inside the root of zip. Remove the ones you don't need from package manifest file in package editor flow.

@ravishroshan 

In previous versions, when I created a self-extracting archive (.exe) by compressing it with 7-zip, it detected the starting point as 1.2023.319.0, for example this version. Assets is not created when I create zip