Where is the most ideal place to put component-specific actions?




  • Avatar

    I did find that the folder element will take an actionList attribute. I can only assume that this actionList is performed after unpacking the folder, correct?

  • Avatar

    In your case the folder actionList is the best solution. It is executed right after the packed files are installed. You can also have multiple folders, each of them with its actionList. In most of the cases, if executing the actions right after unpacking the files is not a requirement, the recommended actionList to perform those tasks (adding services or keys to the registry) is the <postInstallationActionList>. In a similar way, if the actions you need to perform are used to check requirements in the OS, the <preInstallationActionList> is the recommended one.

    You can find additional information about the available action lists in this article.

Please sign in to leave a comment.