NsisIIS plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 20: Line 20:


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


After calling, you MUST Pop the message, it can be the success or fail message.
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.
You can also put the settings to Nsis user variables $1 through $5. See the documentation for details.
Example: NsisIIS::CreateVDir "VDir Name" "Physical Path"


===NsisIIS::DeleteVDir===
===NsisIIS::DeleteVDir===

Revision as of 18:32, 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.

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.

Example: NsisIIS::CreateVDir "VDir Name" "Physical Path"

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

  • Adding support for SSL & authentication settings.

History

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