Forum Discussion
Packaging on a 1809 or a 1909 gets different results !
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.
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 MitracheJan 27, 2021Steel 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.- Jan 28, 2021
RaulCosta I can let you know that there should be no difference in what PsfTooling did that depends upon the OS you package on. I don't know about the MMPT, but I'd be surprised that would behave differently. More likely, there was something slightly different in the setups.
Also double check the min version / max version tested fields in the manifest. That would be different in the MMPT.
Assuming that the failure occurs immediately, since you have the PSF added I'd recommend using DebugView while launching to see if there is a clue being posted to the debug console.
- RaulCostaFeb 01, 2021Copper Contributor
TIMOTHY_MANGAN thank you in advance,
It looks like on the 1809 version it was able to inject the DynamicLibraryFixup32.dll and the other one just died. Strange but maybe there was a human error creating one of the packages.
DebugView logs are attached. (added as zip with both files because this website doesn't support TXT files).
Min / Max version on both:
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.18335.0" />
And both created with:
<!--Package created by MSIX Packaging Tool version: 1.2019.1220.0-->and with PsfTooling 4.4.20.0
The config.json is a match as are all existing application files.
I will recreate both MSIX from ground-up to confirm the step-by-step on both.