473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Question about TARGETSITE property of web setup

Hi everybody,

I'm writing a custom action for a web setup to register my web site to use
dotnet2.0.
Everything works OK, there only one thing I'm not sure of.

The parameters that I pass from the websetup to my custom application are
TARGETVDIR="XmlAPI"
TARGETSITE="/LM/W3SVC/1"

However the path I need to pass to aspnet_regiis is "/W3SVC/1/ROOT/XmlAPI".

Right now what I'm doing is removing the "/LM" and adding "/ROOT/" between
the site and the vdir.

What I want to know is will this always work or are there some cases where
this will not give me the right path for aspnet_regiis.

Thanks
Nadav

Feb 14 '07 #1
2 2612
Hi Nadav,

As for the Visual Studio setup project, so far its default interface only
provide selecting different site from local IIS server. Therefore, the
TARGETSITE string may only vary on the site number/ID part(e.g.
/LM/W3SVC/1 /LM/W3SVC/XXXXX ). The "/LM" here just represent the
localhost, so I think you can freely remove it to construct the metabase
path for the aspnet_regiis tool.

BTW, for those properties in setup project, I've posted some information in
your another thread " Is there a list of all standard setup project
properties".

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Feb 15 '07 #2
Hi Steven,

Thanks for your quick reply,

Nadav

"Steven Cheng[MSFT]" wrote:
Hi Nadav,

As for the Visual Studio setup project, so far its default interface only
provide selecting different site from local IIS server. Therefore, the
TARGETSITE string may only vary on the site number/ID part(e.g.
/LM/W3SVC/1 /LM/W3SVC/XXXXX ). The "/LM" here just represent the
localhost, so I think you can freely remove it to construct the metabase
path for the aspnet_regiis tool.

BTW, for those properties in setup project, I've posted some information in
your another thread " Is there a list of all standard setup project
properties".

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Feb 15 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: jeffbernstein | last post by:
Greetings. I'm reading "How to think like a computer scientist: Learning with Python" and there's a question regarding string operations. The question is, "Can you think of a property that...
1
by: Jim O'Neil [Sybase] | last post by:
In designing a new control for general use, I have come across a design decision involving exceptions... I know that TargetSite returns the name of the method that threw the exception; however,...
1
by: | last post by:
I'm going a little crazy trying to learn how to use arrays as properties in VBScript classes. Hopefully someone can help. First, I can't figure out whether it's possible to iterate through the...
1
by: VB Programmer | last post by:
I have a custom timer class that I created (derived from System.Timers.Timer). It has an extra shared property called CustomerName. This is a portion of the code: Dim t as New MyTimer("Bill...
4
by: Daniel | last post by:
OK, I have Windows 2000 & Visual Studio 2003. I have a project to which I have added the setup wizard. I build the wizard and it outputs my MSI file. Problem, when I try to install the MSI, I...
0
by: serge calderara | last post by:
dear all, I have build a web application and greate a web setup projet to deploy it. I have select the option to generate files for network installation. Based on that I copy generated setup...
5
by: Sam | last post by:
Hi All I have couple of question regarding property of a class and structures. **** ---- Here is my class and structure ---- ***** 1. Public Structure MyPoint 2. Dim p As Point 3. ...
0
by: dave | last post by:
We are using vsts with source control. So far performance is awesome (compared to vss). Question: I can setup workspaces to access particular groups of source folders. In Source Control...
0
by: cit42 | last post by:
Hallo, I created an MSI with VS2005 "web setup project". And I want to specify the IIS6-destination-website (i don't know if this term is correct), where my website should be installed, by...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.