sonda
Posts: 101
Joined: Mon Apr 30, 2018 12:01 pm

Restart application pool

This is scenario: i have two installers one is for application and one is for plugin.

Application installer is creating web site and application pools and everything is ok, application is working.

The plugin installer is copying files in the wwwroot folders created by application installer, and to take effect the new installed functionality i need to restart application pool from the plugin installer, how can i restart application pool from the plugin installer?

Regards
sonda
Posts: 101
Joined: Mon Apr 30, 2018 12:01 pm

Re: Restart application pool

I can achieve this by powershell script like this:
1.png
1.png (12.19 KiB) Viewed 2163 times
, if there some other way to achieve this please inform.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Restart application pool

Hello,

Using a PowerShell script is a recommended approach indeed. You can go to "Custom ACtions" page and use our "Run Inline PowerShell Scrip" predefined action to run your script. Just add the action with sequence scheduled after "Install Execution Stage -> Finish Execution" action group and see how this works.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”