As the question states, components seem to have several lists (folderList, startMenuShortcutList, componentSelectionValidationActionList, etc.), but no actionList. Say for instance that I want to install a service as part of a component. Where is the ideal place to do that?

asked 30 Apr '12, 21:09

DevHopeful_2012's gravatar image

DevHopeful_2012
176131521
accept rate: 9%

I forgot to mention that I would expect this action to run after the previous component installation and before the next component installation. A better example would be a regkey set by one component and required in postInstallationAction's by other components.

(30 Apr '12, 21:14) DevHopeful_2012

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.

link

answered 01 May '12, 07:49

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

Definitely a more complete answer than mine. Thanks for verifying this for me.

(02 May '12, 22:36) DevHopeful_2012

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?

<component>
...
    <folderList>
    ...
        <folder>
        ...
            <actionList></actionList>
link

answered 30 Apr '12, 21:13

DevHopeful_2012's gravatar image

DevHopeful_2012
176131521
accept rate: 9%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×49
×14
×3

Asked: 30 Apr '12, 21:09

Seen: 1,775 times

Last updated: 02 May '12, 22:36