Forum Discussion

RaulCosta's avatar
RaulCosta
Copper Contributor
Jan 27, 2021

Packaging on a 1809 or a 1909 gets different results !

Hello to all,

 

I've repacked a software using 1.2020.1219.0 MSIX repackager on a Windows 1909 machine (including PSFTooling version 4.4.20.0).

Installed correctly and started ok on a clean Windows 1909.

Installed correctly but did not started ok on a clean Windows 1809.

 

When I repacked the same software an a 1809 using the same repackager I was able to install and run the software on both 1809 and 1909 machines.

 

Anyone had a similar experience ?

  • Hi RaulCosta 

     

    Try to unzip the two MSIX  packages and compare the list of files present in each package (using tools like Beyond Compare or something similar) to see if any additional files are included in the 1809 package.

     

    It sounds like your old installer (the one you are converting) might install different dependencies for your app, depending on the OS version. This is a classic situation for repackaged application, no matter if your are repackaging an EXE to build an MSI or MSIX.

    • RaulCosta's avatar
      RaulCosta
      Copper Contributor

      Bogdan Mitrache I can confirm that side-by-side compare was done and all application files are 100% equal.

      I had already done that compare.

      It really looks like is something related to MS Repackager/OS Version.

      • Bogdan Mitrache's avatar
        Bogdan Mitrache
        Steel Contributor

        Hi RaulCosta 

         

        Well, besides the files the reppackager also build the registry.dat hives and the appxmanifest. Have you compared these ones too?

        Since one of the packages works and another doesn't there surely must be a difference between them. I assume you are running/testing them in clean VMs so there is no way the MS repackager or other resources from the machines can interfere with the test.

Resources