We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mukesh
Posts: 12
Joined: Thu Jan 18, 2007 5:30 am
Location: INDIA

Regarding ISAPI Filter

How to copy a dll to the ISAPI Filter in the IIS
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

After you add your virtual directory or web site select "IIS Server" and add your dll in the "ISAPI Filters" group. Read more about how to use IIS in AI here:
http://www.advancedinstaller.com/user-guide/iis.html

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
mukesh
Posts: 12
Joined: Thu Jan 18, 2007 5:30 am
Location: INDIA

Hi,
My project type is enterprise. These are the steps i want to execute.
1. I have to create a folder myFolder in Inetpub/wwwroot.
2. Than I have to add or copy a myFilter.dll and a myapp.dll in that folder.
3. Than I have to add that filter(myfilter.dll) in ISAPI filter in the IIS.
Please, tell me the detail steps to do that.
(myFilter.dll is present in the my application folder)
mukesh
Posts: 12
Joined: Thu Jan 18, 2007 5:30 am
Location: INDIA

Hi gigi,
I have written thye steps which I want to execute.
Please tell me the detail steps to do that.
Its Urgent.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I don't understand why you want to add files in the inetpub folder. However here is a suggestion on how to do that:

1. Switch to "Install Parameters" page and add a property like this:
Name: INETPUB
Value: C:\Inetpub\wwwroot (be careful with this, not on all computers this is the default value)
Switch to "Files and Folders" page and create a "New Folder->Property Based" and select the property created bellow.

2. Under this folder create a "New File Operation->File Copy/Move" to copy/move a file from a folder to this new folder.

3. Switch to "IIS" page and select the "IIS Server" item and add your DLL in the "ISAPI Filtres" group. You need to have a virtual directory or website added in order to do that.

Hope this helps.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
mukesh
Posts: 12
Joined: Thu Jan 18, 2007 5:30 am
Location: INDIA

Hi,
Well my application requires two dll in the virtual directory.
I am able to create the folders using batch file. Also I am able to copy files from another directory to wwwroot directory.
I have added myfilter.dll in the isapi filter but after the installation the filter does not gets added to isapi filter.
Please let me know the detail steps to add myfilter.dll in the ISAPI.

I would like to add that i am using a licensed copy of your product. I have been given the task to create a msi for our product. But I have structed in that ISAPI filter part.
Please Reply as soon as possible.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
Well my application requires two dll in the virtual directory.
I am able to create the folders using batch file. Also I am able to copy files from another directory to wwwroot directory.
You configure that virtual directory using IIS in Advanced Installer? Please give me more details (detailed steps about want you want to achieve).

Also if you can sent us the AIP file (if not contain any confidential information phone,URL,etc) to support at advancedinstaller dot com so we can take a look.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
mukesh
Posts: 12
Joined: Thu Jan 18, 2007 5:30 am
Location: INDIA

Hi, I am able to add myFilter in Isapi Filter but under Web Sites.
For my application, I want the filter to be added in Default Websites Properties.
In AI there is no such options for ISAPI Filter.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

With the AI IIS tool you can configure ISAPI filters that manage all web-sites & virtual directories that the IIS serves. (this includes previously installed web-sites or virtual directories).

AI does not modify the default IIS metabase schema so that it will automatically assign the specified ISAPI filter with every new web-site or virtual directory. (if that was your intent?).

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
mukesh
Posts: 12
Joined: Thu Jan 18, 2007 5:30 am
Location: INDIA

So, What should I do if I want to add the ISAPI filter in default Website's properties.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Maybe this can be done with a custom action but I don't know how. However what you want to do is not recommended.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”