Old 12th November 2007, 08:51   #1
n_baua
Member
 
Join Date: Aug 2006
Posts: 86
IIS 6 and Virtual directory update

Hi All Brains,

I am stuck in (may be a small) problem again.

I have a virtual directory already setup in IIS 6 (inetmgr.exe) and I have couple of projects under it the path to those projects usually goes like as shown below:

"D:\SourceForge\1.10\ProWeb\XMLSetup\Install\Support"

Now after every release I need to update the path mannually for all those projects (say 14 in number)

so the next release the path would read as
"D:\SourceForge\1.11\ProWeb\XMLSetup\Install\Support"

This directory etc are created automatically after each release but the virtual directories do not get updated in IIS 6.

Any ideas if I can tweak registry or somthing?
Or may be a small script can do a magic.

Thanks in advance.
n_baua is offline   Reply With Quote
Old 12th November 2007, 19:14   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
The wiki script uses Root.Create. Some examples found on the web suggets Root.Get should be possible in which case you should be able to update the resulting object.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 13th November 2007, 04:56   #3
n_baua
Member
 
Join Date: Aug 2006
Posts: 86
hi kichik,

Thanks for your reply,
I have tried the script you said, however as I said the problem is the directories are created automatically on every release and only the problem is to create a virtual directory of the same.

I tried the script a bit but doesn;t seem to be working as my way or may be I am doing somthing wrong.

thanks pal.
n_baua is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump