MDT ignoring application order for database computers RRS feed

  • Question

  • A computer has several roles and applications assigned to it.
    The applications from the role are processed in the correct order. (mostly C++ redistributables)
    However the order of the applications assigned to the computer seems to be random.
    It doesn't seem to make a difference if I move a specific application up or down.

    This is causing me a problem because I need to install an application which is depending on Microsoft Office and run some commands to register *.dll files manually which requires that both applications are installed already.
    I am also not sure which Office edition will be installed, therefore I won't be able to set this as an application dependency.

    Can anyone replicate this?
    Seems like a bug to me, but I am not sure if the assigning of roles causes this or if this is a general issue with applications assigned to computers.

    • Edited by oriooff Wednesday, December 30, 2015 6:10 PM
    Wednesday, December 30, 2015 5:52 PM

All replies

  • This sort of thing is handled with bundles. If you need stuff installed before other things then make it a pre-req.

    Logs are very important. Mention any customizations you have made.

    Wednesday, December 30, 2015 6:15 PM
  • This means that I need to create N amount of additional bundles, where N is the amount of Office installations which are available.
    Therefore each Office installation would be listed twice.
    As Office alone and as bundle with this specific program.
    I already have a bundle for this specific program in order to manage the pre-req's.

    That would not be necessary if the application order would be respected.
    The order is being processed correctly for roles, you can even control the ordering of roles with a very small change:

    I am quite confused that this does not work with applications assigned to a computer, this renders the Up and Down buttons useless for computers.
    Imho they were designed for such a case, don't you think?

    • Edited by oriooff Wednesday, December 30, 2015 6:50 PM
    Wednesday, December 30, 2015 6:45 PM
  • You can configure dependencies in applications. So office could be configured to always install certain apps before it if they aren't already installed.

    Logs are very important. Mention any customizations you have made.

    Wednesday, December 30, 2015 6:54 PM
  • As already said I have many office installations and it would require to create a bundle for each of them.
    The application should not be installed in every case either.
    (This is the most complex dependency case which I have ever encountered)

    Another option would be to add some custom steps into every Task Sequence after the Install applications step which checks for this scenario and performs the necessary commands.
    With some wildcards this should even work for future office products automatically.

    I'll look at my database if it represents the order from the GUI.
    If it's correct there, I will hopefully find the bug in ZTIApplications.

    Wednesday, December 30, 2015 7:16 PM
  • Well dependencies are a sure fire way to make sure things install in a certain order. Another less reliable option is the order they would display in the wizard page. Although if you are using roles that could also work.

    Logs are very important. Mention any customizations you have made.

    Thursday, December 31, 2015 4:37 AM
  • The table dbo.Settings_Applications is representing the correct application order.
    If I switch two programs in the GUI it also changes them correctly in the table.
    So the issue lies in the way how MDT processes this information from the database.

    Will continue digging though the logs and scripts a bit more...

    I guess I'll really go with the bundles and add some more complexity.
    A role seems possible too, right.
    But I'd still like to find the underlying cause as this is probably not intended behavior.

    Thursday, December 31, 2015 11:38 AM
  • There is a tendency but,there is no guarantee of order unless dependencies are involved.

    Logs are very important. Mention any customizations you have made.

    Thursday, December 31, 2015 11:46 AM