473,811 Members | 3,241 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Install asp.net website with msiexec TARGETSITE property

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
calling msiexec with the Property TARGETSITE.

e.g. msiexec /i myweb.msi TARGETSITE=/LM/W3SVC/4711

Question:
How can I get programmaticall y the IIS6-destination-Websites on the
machine?

Background:
I need to know this, because my (selfwritten)se tup has a form where
the user can fill in some configuration-info for the website config
file. This setupform, should contain a combobox similar to the
"installati on address" dialog of the msi, created wirh "web setup
project".
Greetings for your assistence.
Gordian

Apr 26 '07 #1
0 2594

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

Similar topics

1
4024
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, will users of the control expect that TargetSite always reflects the method of the control that they actually called? For example, consider a method on my class named "publicfoo" that calls some internal method name "internalbar" (which includes...
2
1548
by: Charles A. Lackman | last post by:
Hello, Is there a way to make my Setup Project do a Silent Install. I have 10 computers that all need my program installed on them. If I would just execute the Setup without having to click "Next", "Next", "Next" ...... That would be great. Thanks, Chuck
7
5035
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version, which I did, then reran WebSetup.msi and keeps giving me this error. "The installer was interrupted...
3
4053
by: Chad Smith | last post by:
Hi, I have created a .NET deployment project in Visual Studio 2003. I have specified an entry point into my own code in this installer which launches into the familiar: public override void Install(IDictionary savedState) { Application.Run(new MyForm()); base.Install(savedState);
0
1179
by: Rich Lund | last post by:
I've posted in the MSI group but just in case someone else has run into this. If you use website deployment projects you might be able to help me: It seems recent changes to Windows Installer (we've noticed it in installs created with VS2005) mean that the user can now choose which website our application is installed into aswell as the name of the virtual directory (it used to be just the latter). Whilst this is welcome from the...
8
6465
by: jacky kwok | last post by:
Dear All: In VS2005 WebSetup installer InstallAddress dialog, there is field to let user to select which website to install the webapp (if there are more than one WebSite in the IIS). I want to know how can I get the WebStie info in the customAction. I can use "/VDIR=" in customActiondata to get the installed VirtualDirectory.
0
977
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 calling msiexec with the Property TARGETSITE. e.g. msiexec /i myweb.msi TARGETSITE=/LM/W3SVC/4711
0
2644
by: Ikado | last post by:
Hi everyone, I am new to PostgreSQL and trying to install it, My login account belongs to "Administrator Group" But I tried after creating newone as User Account(limited).. First i downloaded; postgresql-8.2.msi postgresql-8.2-int.msi upgrade.bat README.TXT
0
1514
by: v1p3r | last post by:
I'm attempting to install Python 2.5.2 (python-2.5.2.amd64.msi) on my Vista SP1 x64 system, but the installer always crashes with a "Windows Installer has stopped working" error after clicking Next on the initial screen. I've tried the following so far: 1. x86 and x64 versions 2. Manually reinstalling Windows Installer 4.5 3. Forcing msiexec to run as administrator
0
9604
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10644
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10394
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10127
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6882
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5552
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3863
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.