Hi Daniel,
I finally got back round to this project, and I got it working, roughly as we discussed above. I didn't call out to a batch file in the end, because we decided to keep everything in the .aip file.
So, instead, under Custom Behavior, Custom Actions, I added a new action in the Install Execution Stage. This action had Source Type Executable, and the command was:
Code: Select all
[RESULT_PROPERTY_CMD.EXE] /c %systemroot%\system32\inetsrv\appcmd set app "Default Web Site/Path/To/WebService" /enabledProtocols:net.tcp,http
Thanks for letting me know about this functionality in the later version. Unfortunately, we're only on v9.8 just now. But when we update, we'll try it the other way you suggested.
Thanks again,
Archie
FOLLOW US
Get the latest news in Application Packaging