Hi,
Any idea how I could do this right now?
You can create a custom action. Here are some steps you must follow when you create your custom action:
- IIS 6 or above;
- use ADSI IIS COM classes;
- create an object of type: "IIsApplicationPool" (ADSI COM class);
- AppPools are stored under ADSI path: "IIS://localhost/W3SVC/AppPools"
- And you can access a specific pool through the Children collection.
For ADSI paths a child looks like this: "IIS://localhost/W3SVC/AppPools/DefaultAppPool"
- Eg.
Website ADSI path: "IIS://localhost/W3SVC/n"
Virtual Directory ADSI path: "IIS://localhost/W3SVC/n/ROOT/vdir_name"
(n = the website index)
- set the Property: "AppPoolId" for your IIS entity to the name of the previously created
"IIsApplicationPool" object;
Hope this helps.
Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
FOLLOW US
Get the latest news in Application Packaging