Re: [WiX-users] choosing Website (not Webserver) and changing Virtual Directory

2007-09-25 Thread [EMAIL PROTECTED]
 

I feel so sorry for this post. On Czech Windows you can create so called 
„webovy server“ and it seems to be the wrong translation because I have seen an 
English system now and there you create Website. Thats what I wanted to know, 
how I could choose from the installed Websites on the system, where it has to 
deploy the webapplication. I can not find an action or something else to read 
this out.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, September 24, 2007 1:50 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] choosing Webserver and changing Virtual Directory

 

Hi all,

I am searching a posibility how I could let the customer choose the webserver 
(like in the Visual Studio WebSetup) and to change the Virtual Directory. I 
think changing the Virtual Directory  should not be a big problem, just adding 
a Textbox and triggering a custom action setting the property of the Virtual 
directory new. But how can I gain access to the webserver list so that I can 
choose one and how can I tell Wix that it should use this Webserver?

 

Greets Peter

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] choosing Website (not Webserver) and changing Virtual Directory

2007-09-25 Thread Matt . Thompson
Off the top of my head I'm not sure exactly how you'd do this but I've got
some experience scripting IIS so thought I'd reply.

There's a VBScript with the IIS resource kit that can be used to query the
Metabase - maybe you could borrow the code from that, for a custom action,
to enumerate the websites available and put them in a drop down?


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]


   
 [EMAIL PROTECTED] 
 .cz  
 [EMAIL PROTECTED]  To 
 .cz  wix-users@lists.sourceforge.net   
 Sent by:  wix-users@lists.sourceforge.net   
 wix-users-bounces  cc 
 @lists.sourceforg 
 e.net Subject 
   Re: [WiX-users] choosing Website
   (not Webserver) and changing
 25/09/2007 12:02  Virtual Directory   
   
   
   
   
   
   





I feel so sorry for this post. On Czech Windows you can create so called
„webovy server“ and it seems to be the wrong translation because I have
seen an English system now and there you create Website. Thats what I
wanted to know, how I could choose from the installed Websites on the
system, where it has to deploy the webapplication. I can not find an action
or something else to read this out.

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 24, 2007 1:50 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] choosing Webserver and changing Virtual Directory

Hi all,
I am searching a posibility how I could let the customer choose the
webserver (like in the Visual Studio WebSetup) and to change the Virtual
Directory. I think changing the Virtual Directory  should not be a big
problem, just adding a Textbox and triggering a custom action setting the
property of the Virtual directory new. But how can I gain access to the
webserver list so that I can choose one and how can I tell Wix that it
should use this Webserver?

Greets Peter
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



Pershing Email Disclaimer:

Pershing Securities Limited, registered in England number 2474912, is 
authorised and regulated by the Financial Services Authority and is a member of 
the London Stock Exchange. Registered address: Capstan House, One Clove 
Crescent, East India Dock, London E14 2BH.

Pershing Limited, registered in England number 2072264, is authorised and 
regulated by the Financial Services Authority and is a member of the London 
Stock Exchange. Registered address: Capstan House, One Clove Crescent, East 
India Dock, London E14 2BH. 

This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mis-transmission. If you receive this message in 
error, please immediately delete it and all copies of it from your system, 
destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. Both Pershing Limited and Pershing Securities Limited reserve the 
right to monitor all e-mail communications through its networks. Any views 
expressed in this message are those of the individual sender, except where the 
message states otherwise and the sender is authorised to state them to be the 
views of any such entity.

Unless otherwise stated, any pricing information given in this message is 
indicative only, is subject to change and does not constitute an offer to deal 
at any price quoted.

Any 

Re: [WiX-users] choosing Website (not Webserver) and changing Virtual Directory

2007-09-25 Thread Matt . Thompson
I recalled what the script was - adsutil.vbs - see this for more info

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d3df4bc9-0954-459a-b5e6-7a8bc462960c.mspx?mfr=true


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]


   
 [EMAIL PROTECTED] 
 shing.co.uk   
 Sent by:   To 
 wix-users-bounces [EMAIL PROTECTED]   
 @lists.sourceforg [EMAIL PROTECTED]   
 e.net  cc 
   [EMAIL PROTECTED] 
   .net,   
 25/09/2007 12:18  wix-users@lists.sourceforge.net   
   wix-users@lists.sourceforge.net   
   Subject 
   Re: [WiX-users] choosing Website
   (not Webserver) and changing
   Virtual Directory   
   
   
   
   
   
   




Off the top of my head I'm not sure exactly how you'd do this but I've got
some experience scripting IIS so thought I'd reply.

There's a VBScript with the IIS resource kit that can be used to query the
Metabase - maybe you could borrow the code from that, for a custom action,
to enumerate the websites available and put them in a drop down?


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]



 [EMAIL PROTECTED]
 .cz
 [EMAIL PROTECTED]  To
 .cz  wix-users@lists.sourceforge.net
 Sent by:  wix-users@lists.sourceforge.net
 wix-users-bounces  cc
 @lists.sourceforg
 e.net Subject
   Re: [WiX-users] choosing Website
   (not Webserver) and changing
 25/09/2007 12:02  Virtual Directory











I feel so sorry for this post. On Czech Windows you can create so called
„webovy server“ and it seems to be the wrong translation because I have
seen an English system now and there you create Website. Thats what I
wanted to know, how I could choose from the installed Websites on the
system, where it has to deploy the webapplication. I can not find an action
or something else to read this out.

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 24, 2007 1:50 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] choosing Webserver and changing Virtual Directory

Hi all,
I am searching a posibility how I could let the customer choose the
webserver (like in the Visual Studio WebSetup) and to change the Virtual
Directory. I think changing the Virtual Directory  should not be a big
problem, just adding a Textbox and triggering a custom action setting the
property of the Virtual directory new. But how can I gain access to the
webserver list so that I can choose one and how can I tell Wix that it
should use this Webserver?

Greets Peter
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



Pershing Email Disclaimer:

Pershing Securities Limited, registered in England number 2474912, is
authorised and regulated by the Financial Services Authority and is a
member of the London Stock Exchange. Registered address: Capstan House, One
Clove Crescent, East India Dock, London E14 2BH.

Pershing Limited, registered in England number 2072264, is authorised and
regulated by the Financial Services Authority and is a member of the London
Stock

Re: [WiX-users] choosing Website (not Webserver) and changing Virtual Directory

2007-09-25 Thread [EMAIL PROTECTED]
Hi Matt,
Thanks for the answer.
If I am seeing it right, I have to use first the ENUM Parameter to find out how 
many Sites are hosted on this IIS and after that I have to parse for each Site 
the Server Comment parameter. But even if I can realize this I am not able to 
use Custom Action vbscript because I do not knot how it works :(
I think it could be a solution but i do not think that I can get it work. 
Perhaps you can show me what I have to do.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 2:58 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: Re: [WiX-users] choosing Website (not Webserver) and changing Virtual 
Directory

I recalled what the script was - adsutil.vbs - see this for more info

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d3df4bc9-0954-459a-b5e6-7a8bc462960c.mspx?mfr=true


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]


   
 [EMAIL PROTECTED] 
 shing.co.uk   
 Sent by:   To 
 wix-users-bounces [EMAIL PROTECTED]   
 @lists.sourceforg [EMAIL PROTECTED]   
 e.net  cc 
   [EMAIL PROTECTED] 
   .net,   
 25/09/2007 12:18  wix-users@lists.sourceforge.net   
   wix-users@lists.sourceforge.net   
   Subject 
   Re: [WiX-users] choosing Website
   (not Webserver) and changing
   Virtual Directory   
   
   
   
   
   
   




Off the top of my head I'm not sure exactly how you'd do this but I've got
some experience scripting IIS so thought I'd reply.

There's a VBScript with the IIS resource kit that can be used to query the
Metabase - maybe you could borrow the code from that, for a custom action,
to enumerate the websites available and put them in a drop down?


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]



 [EMAIL PROTECTED]
 .cz
 [EMAIL PROTECTED]  To
 .cz  wix-users@lists.sourceforge.net
 Sent by:  wix-users@lists.sourceforge.net
 wix-users-bounces  cc
 @lists.sourceforg
 e.net Subject
   Re: [WiX-users] choosing Website
   (not Webserver) and changing
 25/09/2007 12:02  Virtual Directory











I feel so sorry for this post. On Czech Windows you can create so called
„webovy server“ and it seems to be the wrong translation because I have
seen an English system now and there you create Website. Thats what I
wanted to know, how I could choose from the installed Websites on the
system, where it has to deploy the webapplication. I can not find an action
or something else to read this out.

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 24, 2007 1:50 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] choosing Webserver and changing Virtual Directory

Hi all,
I am searching a posibility how I could let the customer choose the
webserver (like in the Visual Studio WebSetup) and to change the Virtual
Directory. I think changing the Virtual Directory  should not be a big
problem, just adding a Textbox and triggering a custom action setting the
property of the Virtual directory new. But how can I gain access to the
webserver list so that I can choose one and how can I tell Wix that it
should use this Webserver?

Greets Peter
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt

Re: [WiX-users] choosing Website (not Webserver) and changing Virtual Directory

2007-09-25 Thread Matt . Thompson
I don't totally understand what you mean about Custom Action vbscript. I'm
not sure if you mean you don't know vbscript as a language for Custom
Actions or you don't understand the VBScript in adsutil.

If it's the later, fear not, as I was over-complicating it a bit by saying
use adsutil - I've included these snippets come from http://www.iisfaq.com
- I've not tested them at the mo though as i don't have an IIS setup i can
test them on.

this VBScript will list the websites on the webserver:

  Set objIIS = getObject(IIS://LocalHost/W3SVC)
  For each objSite in objIIS
if (objSite.Class = IIsWebServer) then
  WScript.Echo Website:   objSite.Name   -  
objSite.ServerComment
end if
  next

I believe this will give you the virtual folders for a given website ID:

  Set objIISSite = getObject(IIS://LocalHost/W3SVC/Add the
website ID here---)
  For each objVirDir in objIISSite
if (objVirDir.Class = IISWebVirtualDir) then
  WScript.Echo VirtualDir:   objVirDir.Name
end if
  next

If it's the former, that is you don't know much about custom actions and
vbscript, i'm sorry to say i can't help much with that - i've not written
any custom actions myself for a long time...

Matt


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]


   
 [EMAIL PROTECTED] 
 .cz  
 [EMAIL PROTECTED]  To 
 .cz  [EMAIL PROTECTED]  
 Sent by:  [EMAIL PROTECTED]  
 wix-users-bounces  cc 
 @lists.sourceforg wix-users@lists.sourceforge.net   
 e.net wix-users@lists.sourceforge.net   
   Subject 
   Re: [WiX-users] choosing Website
 25/09/2007 14:53  (not Webserver) and changing
   Virtual Directory   
   
   
   
   
   
   




Hi Matt,
Thanks for the answer.
If I am seeing it right, I have to use first the ENUM Parameter to find out
how many Sites are hosted on this IIS and after that I have to parse for
each Site the Server Comment parameter. But even if I can realize this I am
not able to use Custom Action vbscript because I do not knot how it works
:(
I think it could be a solution but i do not think that I can get it work.
Perhaps you can show me what I have to do.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 25, 2007 2:58 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Subject: Re: [WiX-users] choosing Website (not Webserver) and changing
Virtual Directory

I recalled what the script was - adsutil.vbs - see this for more info

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d3df4bc9-0954-459a-b5e6-7a8bc462960c.mspx?mfr=true



Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]



 [EMAIL PROTECTED]
 shing.co.uk
 Sent by:   To
 wix-users-bounces [EMAIL PROTECTED]
 @lists.sourceforg [EMAIL PROTECTED]
 e.net  cc
   [EMAIL PROTECTED]
   .net,
 25/09/2007 12:18  wix-users@lists.sourceforge.net
   wix-users@lists.sourceforge.net
   Subject
   Re: [WiX-users] choosing Website
   (not Webserver) and changing
   Virtual Directory










Off the top of my head I'm not sure exactly how you'd do this but I've got
some experience scripting IIS so thought I'd reply.

There's a VBScript with the IIS resource kit that can be used to query the
Metabase - maybe you could borrow the code from that, for a custom action,
to enumerate the websites available and put them in a drop down