Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Can't create virtual directory on IIS7


1 reply to this topic

smunir

smunir
  • Full Members
  • 1 posts

Posted 29 June 2010 - 08:14

I am working on a Basic msi project where i am using scripting for creating the virtual directory, application pool etc. Where i am using
set objIISPools = CoGetObject("IIS://localhost/w3svc/AppPools", "");
for creating object.

this works fine in IIS6. But it doesn't work in IIS7 (windows 2008). It is noted that if the IIS6 compatible is installed, then it works.

I need a solution which will work for both IIS6 and IIS7 (without IIS6 compatiablity installaed). Also i need several customization that's why scripting is required.

eric.mai

eric.mai
  • Full Members
  • 7 posts

Posted 02 July 2010 - 04:23

SO, I also meet the same request. But I have not solution yet.
My problem is:

I want to check a virtual directory which existed in II7 or not?

Edited by eric.mai, 02 July 2010 - 04:24.