NsisIIS plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with '{{PageAuthor|Kamyar}} == Links == <br> [http://toranj.sourceforge.net/] == Description == '''Version:''' 1.0.0 NsisIIS plugin to create/edit/delete/getinfo Microsoft IIS virt…')
 
Line 3: Line 3:
== Links ==
== Links ==
<br>
<br>
[http://toranj.sourceforge.net/]
[http://toranj.sourceforge.net Nsis IIS plugin]


== Description ==
== Description ==

Revision as of 18:27, 24 February 2010

Author: Kamyar (talk, contrib)


Links


Nsis IIS plugin

Description

Version: 1.0.0

NsisIIS plugin to create/edit/delete/getinfo Microsoft IIS virtual directories and manage it's service status

Instructions:
- Copy NsisIIS.dll to Pluginsfolder of Nsis - Read this readme and example files.

Functions

NsisIIS::CreateVDir

Creates an IIS virtual directory and sets its configuration, or just set the configuration if it already exists. Example: NsisIIS::CreateVDir "VDir Name" "Physical Path"

After calling, you MUST Pop the message, it can be the success or fail message. You can also put the settings to Nsis user variables $1 through $5. See the documentation for details.

NsisIIS::DeleteVDir

Deletes an IIS virtual directory by its name. After calling, you MUST Pop the message, it can be the success or fail message.

Example: NsisIIS::DeletVDir "VDir Name"

NsisIIS::GetVDir

Gets an IIS virtual directory configuration (if exists) and put it into user variables $1 through $5. See the documentation for details. After calling, you MUST Pop the message, it can be the success or fail message.

Example: NsisIIS::GetVdir "VDir Name"

NsisIIS::Start

Tries to start IIS service if stopped. After calling, you MUST Pop the message, it can be the success or fail message.

Example: NsisIIS::Start

NsisIIS::Stop

Tries to stop IIS service if started. After calling, you MUST Pop the message, it can be the success or fail message.

Example: NsisIIS::Stop

NsisIIS::Pause

Tries to pause IIS service if running. After calling, you MUST Pop the message, it can be the success or fail message.

Example: NsisIIS::Pause

NsisIIS::Resume

Tries to resume IIS service after calling Pause. After calling, you MUST Pop the message, it can be the success or fail message.

Example: NsisIIS::Resume

TODO

  • Just add support for SSL & authentication settings.

History

2/24/2010 Released version 1.0.0 & used in my installer.