Forum Discussion

David Hed's avatar
David Hed
Copper Contributor
Apr 13, 2020

App installs with no errors, but does not fully install

I have built an MSIX package for installing DB2 Connect.  It is a complex install, that requires configuration file execution, manual license activation and a registry merge post install of the App itself.  I was able (after numerous attempts) to get this install working using powershell execution.  It installs cleanly on the Hyper-V I built it on and all post install steps clearly worked before I close the installer and generate the package.  The package installs without error on a test machine, but the post-install pieces are not there, when checked.  There are no errors in the log.  The Windows App Certification Kit will not open MSIX files.  Any help or suggestions are appreciated.

23 Replies

  • Dan Gough's avatar
    Dan Gough
    Brass Contributor

    Where are these 'post install pieces'? If they are config files under %APPDATA% for example, they get captured by the MSIX Packaging Tool, but the MSIX runtime redirects app requests for appdata to a different location. Use the PSF to work around this, I recommend PsfTooling or try to capture using Advanced Installer.

    • David Hed's avatar
      David Hed
      Copper Contributor

      Dan Gough 

      Dan,

      I appreciate the reply.  While that tool is helpful to know about, it does not help in my situation.  I have reached out directly to someone I know on the Microsoft MSIX Team.

      • Chacon's avatar
        Chacon
        Icon for Microsoft rankMicrosoft

        Hi David Hed,

         

        Could you clarify what you mean when you say the post install pieces are not there? Do you mean they are not in the package at all, or do you mean they are in the package but don't have any effect when you install it? You can check this by opening the package for editing in the MSIX Packaging Tool and looking for the files and registry keys added post install.

         

        If the post install pieces are not in the package, please double check the settings in the packaging tool to make sure they are not in the exclusions list.

         

        If they are in the package but don't have the expected effect when installed, please make sure they are in a location that is merged with the filesystem or registry at runtime. You can see a list of supported locations at https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes

         

        If the post install involves creating file type associations or services or any other registration like that, it should be translated to an entry in your app's manifest. If it is not being translated, please let us know what information is missing so that we can investigate.

Resources