Ruben
Posts: 57
Joined: Fri Apr 10, 2015 2:35 pm

How to check the order of Custom Action inside Standard Actions ?

We used the "move" button to place a Custom Action here:
Add Resources > Show Standard Action > Add Resources > InstallServices
How can we later verify that the Custom Action really is placed here ?
Addresources.jpg
Addresources.jpg (59.85 KiB) Viewed 2744 times
In the GUI, the Custom Action remains somewhere below "Add Resources" (Screenshot).

Thank you,
Ruben
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to check the order of Custom Action inside Standard Actions ?

Hi Ruben,

To make sure that your custom action is placed between the standard actions you want, you can right-click on the "Add Resources" action group, then use the "Show Standard Action -> Add Resources" context menu and check those standard actions (e.g. "InstallServices" and "MsiConfigureServices").

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ruben
Posts: 57
Joined: Fri Apr 10, 2015 2:35 pm

Re: How to check the order of Custom Action inside Standard Actions ?

Do you mean we should see the Custom Action in this gray context menu ?
rightclick.jpg
rightclick.jpg (62.51 KiB) Viewed 2739 times
I don't see it here.

But I can click on some Standard Action in the context menu, e.g.InstallServices.
As a result, "InstallServices" appears in the Install Execution Stage - with a green arrow icon:
Bildschirmfoto 2016-12-06 um 14.56.46.png
Bildschirmfoto 2016-12-06 um 14.56.46.png (35.35 KiB) Viewed 2739 times
OK, yes ! Now I see InstallServices is placed below the Custom Action (writeLocalProps.vbs).


1.Question: It this the right way ?
2.Question: Now, some Standard Action -InstallServices- is listed explicitly in my Install Execution Stage window. What does it mean ? Should I simply keep it here, or remove it somehow ?

For question 2, some link to RTFM would be helpful enough ;-)
Thank you,
Ruben
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to check the order of Custom Action inside Standard Actions ?

Hi Ruben,
Do you mean we should see the Custom Action in this gray context menu ?
No, in that context menu only the standard actions will be displayed.
1.Question: It this the right way ?
Yes, that is that right way. By selecting a standard action from the context menu, it will be displayed in the installation sequence section.
2.Question: Now, some Standard Action -InstallServices- is listed explicitly in my Install Execution Stage window. What does it mean ? Should I simply keep it here, or remove it somehow ?
Yes, that standard action is displayed in that list, but this is only an UI option, nothing will be changed to your package. However, you can place your own custom action at the point you want related to those standard actions. When you reopen your project, those standard actions will be hidden automatically.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”