I have created a web setup project for my ASP.NET
application that works fine. Also, I have followed the
instructions for using a custom action to launch a web
page after the installation is complete. This works great
too, for web pages not associated with my new application.
I would like to launch a web page that is part of the
application that was just installed. The sample in MSDN
shows using the following syntax:
Process.Start(" http://www.microsoft.c om/")
Instead, I'd like to do use something like:
Process.Start(" http://localhost/myapp/Default.aspx")
This page will include information about how to use the
application, as well as some links for specific pages
within the application. I'd use a "Readme" user interface
element, but it uses RTF, and I wouldn't be able to
include the hyperlinks (as far as I can tell).
I haven't been able to figure out how to retrieve the
virtual directory that my application was just installed
in, so that I can properly reference my page in the custom
action code. Any suggestions?
Thanks,
A. Lovhaug 3 5894
A. Lovhaug,
I don't know if this helps you, but a Web Setup project uses a custom
property called TARGETVDIR to refer to the virtual directory for the
project. If you want to replace that with your example, I would try the
following: http://localhost/[TARGETVDIR]/Default.aspx
I'm not a setup engineer so I can be sure if this will work, but I'm sure
that the property is correct.
Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET ja******@online .microsoft.com
This post is provided as-is with no warranties and confers no rights.
-------------------- Content-Class: urn:content-classes:message From: <Lo***********@ coolbits.nu> Sender: <Lo***********@ coolbits.nu> Subject: Web Setup Project w/ Custom Action Date: Mon, 17 Nov 2003 14:29:02 -0800 Lines: 31 Message-ID: <0b************ *************** *@phx.gbl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Thread-Index: AcOtWjP4+zjeOFJ eS92ULM3pnCKJKg == Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet Path: cpmsftngxa06.ph x.gbl Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1915 42 NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is complete. This works great too, for web pages not associated with my new application.
I would like to launch a web page that is part of the application that was just installed. The sample in MSDN shows using the following syntax:
Process.Start( "http://www.microsoft.c om/")
Instead, I'd like to do use something like:
Process.Start( "http://localhost/myapp/Default.aspx")
This page will include information about how to use the application, as well as some links for specific pages within the application. I'd use a "Readme" user interface element, but it uses RTF, and I wouldn't be able to include the hyperlinks (as far as I can tell).
I haven't been able to figure out how to retrieve the virtual directory that my application was just installed in, so that I can properly reference my page in the custom action code. Any suggestions?
Thanks,
A. Lovhaug
Thanks for the response. Yes, I have even seen another
post or two regarding this custom property. However,
using this value with Process.Start:
Process.Start(" http://localhost/[TARGETVDIR]/Default.aspx")
doesn't seem to work. It does not substitute the virtual
folder name for [TARGETVDIR].
The example I used for launching a web page at the end of
an installation is located MSDN, and is
called "Walkthroug h: Creating a Custom Action". Since in
this example, a simple Windows application is created (not
an Installer class),
I suspect the Windows Application doesn't even know about
the virtual directory, which is why the substitution
doesn't work. I believe I need to pass the value of
[TARGETVDIR] into my Windows application (possibly as a
command line argument), but I guess I'm not sure how I
would go about doing that. I'm less worried about
retrieving the value once it is passed in, but I'm not
sure where to retrieve the value and send it to my
application in the first place.
Any suggestions would be greatly appreciated. Thanks!
A. Lovhaug -----Original Message----- A. Lovhaug,
I don't know if this helps you, but a Web Setup project
uses a customproperty called TARGETVDIR to refer to the virtual
directory for theproject. If you want to replace that with your example,
I would try thefollowing:
http://localhost/[TARGETVDIR]/Default.aspx
I'm not a setup engineer so I can be sure if this will
work, but I'm surethat the property is correct.
Jim Cheshire, MCSE, MCSD [MSFT] Developer Support ASP.NET ja******@onlin e.microsoft.com
This post is provided as-is with no warranties and
confers no rights. --------------------Content-Class: urn:content-classes:message From: <Lo***********@ coolbits.nu> Sender: <Lo***********@ coolbits.nu> Subject: Web Setup Project w/ Custom Action Date: Mon, 17 Nov 2003 14:29:02 -0800 Lines: 31 Message-ID: <0b************ *************** *@phx.gbl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Thread-Index: AcOtWjP4+zjeOFJ eS92ULM3pnCKJKg == Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet Path: cpmsftngxa06.ph x.gbl Xref: cpmsftngxa06.ph x.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1915 42NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instruction s for using a custom action to launch a web page after the installation is complete. This works
greattoo, for web pages not associated with my new
application. I would like to launch a web page that is part of the application that was just installed. The sample in MSDN shows using the following syntax:
Process.Start ("http://www.microsoft.c om/")
Instead, I'd like to do use something like:
Process.Start ("http://localhost/myapp/Default.aspx")
This page will include information about how to use the application , as well as some links for specific pages within the application. I'd use a "Readme" user
interfaceelement, but it uses RTF, and I wouldn't be able to include the hyperlinks (as far as I can tell).
I haven't been able to figure out how to retrieve the virtual directory that my application was just installed in, so that I can properly reference my page in the
customaction code. Any suggestions?
Thanks,
A. Lovhaug
.
Lovhaug,
You might want to try posting in the msi group to see if they have any
ideas.
Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET ja******@online .microsoft.com
This post is provided as-is with no warranties and confers no rights.
-------------------- Content-Class: urn:content-classes:message From: <Lo***********@ coolbits.nu> Sender: <Lo***********@ coolbits.nu> References: <0b************ *************** *@phx.gbl>
<v3************ *@cpmsftngxa06. phx.gbl>Subject: RE: Web Setup Project w/ Custom Action Date: Mon, 17 Nov 2003 16:48:57 -0800 Lines: 116 Message-ID: <06************ *************** *@phx.gbl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 Thread-Index: AcOtbb+2qMGzHsd RR1qOsCAhsgDukg == X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet Path: cpmsftngxa06.ph x.gbl Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1915 82 NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163 X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
Thanks for the response. Yes, I have even seen another post or two regarding this custom property. However, using this value with Process.Start:
Process.Start( "http://localhost/[TARGETVDIR]/Default.aspx")
doesn't seem to work. It does not substitute the virtual folder name for [TARGETVDIR].
The example I used for launching a web page at the end of an installation is located MSDN, and is called "Walkthroug h: Creating a Custom Action". Since in this example, a simple Windows application is created (not an Installer class),
I suspect the Windows Application doesn't even know about the virtual directory, which is why the substitution doesn't work. I believe I need to pass the value of [TARGETVDIR] into my Windows application (possibly as a command line argument), but I guess I'm not sure how I would go about doing that. I'm less worried about retrieving the value once it is passed in, but I'm not sure where to retrieve the value and send it to my application in the first place.
Any suggestions would be greatly appreciated. Thanks!
A. Lovhaug
-----Original Message----- A. Lovhaug,
I don't know if this helps you, but a Web Setup project uses a customproperty called TARGETVDIR to refer to the virtual directory for theproject. If you want to replace that with your example, I would try thefollowing:
http://localhost/[TARGETVDIR]/Default.aspx
I'm not a setup engineer so I can be sure if this will work, but I'm surethat the property is correct.
Jim Cheshire, MCSE, MCSD [MSFT] Developer Support ASP.NET ja******@onli ne.microsoft.co m
This post is provided as-is with no warranties and confers no rights. --------------------Content-Class: urn:content-classes:message From: <Lo***********@ coolbits.nu> Sender: <Lo***********@ coolbits.nu> Subject: Web Setup Project w/ Custom Action Date: Mon, 17 Nov 2003 14:29:02 -0800 Lines: 31 Message-ID: <0b************ *************** *@phx.gbl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Thread-Index: AcOtWjP4+zjeOFJ eS92ULM3pnCKJKg == Newsgroups : microsoft.publi c.dotnet.framew ork.aspnet Path: cpmsftngxa06.ph x.gbl Xref: cpmsftngxa06.ph x.gblmicrosoft.publ ic.dotnet.frame work.aspnet:191 542NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
I have created a web setup project for my ASP.NET applicatio n that works fine. Also, I have followed the instructio ns for using a custom action to launch a web page after the installation is complete. This worksgreattoo, for web pages not associated with my newapplication. I would like to launch a web page that is part of the applicatio n that was just installed. The sample in MSDN shows using the following syntax:
Process.Star t("http://www.microsoft.c om/")
Instead, I'd like to do use something like:
Process.Star t("http://localhost/myapp/Default.aspx")
This page will include information about how to use the applicatio n, as well as some links for specific pages within the application. I'd use a "Readme" userinterfaceelement, but it uses RTF, and I wouldn't be able to include the hyperlinks (as far as I can tell).
I haven't been able to figure out how to retrieve the virtual directory that my application was just installed in, so that I can properly reference my page in thecustomaction code. Any suggestions?
Thanks,
A. Lovhaug
.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: MENTAT |
last post by:
Hi,
I am trying to create an installer for my web application. So I added a
web setup project to my solution (I am using VS.NET 2003). Been playing
around with it since then and it basically works.
Now, I am wondering if there is any way to change the directory that
the installer installs the files to. I want to be able to put my files
in a specified directory (user specified is good, but i don't mind
hardcoding the path either) and...
|
by: Chris Dunaway |
last post by:
I have created a Windows Service project and have added a Setup project
to the solution.
My Windows Service executable has a built in installer so that I can
install the service by calling the exe with a /I command line switch.
This all works well.
In my project setup, I have added a custom action that calls my
service's install routine. This also works well.
|
by: Ryan |
last post by:
How can I create a Setup Project in VS.NET similar to that of the
"PortalCSVS" project on www.asp.net which creates a database on a selected
server during setup? (I can create a DTS file or SQL setup queries, I just
need to know the best way to deploy them)
thnx
|
by: Bob |
last post by:
Could anyone suggest me some examples/articles on creating a setup program
in VS.NET that can install the assembly into the GAC? I have done some
search and research myself and have some basic understanding on how to
create a setup program. All the articles about Windows Installer 2.0 is the
best way to install your assembly into GAC but I haven't found one shows
what exactly I need to do differently in my VS.NET setup project in order...
|
by: Ricky |
last post by:
I am doing setup and deployment for the first time
in .NET. I have developed an application in VB.NET which
uses a third party component. But in order for the
component to work I need to register the component first.
So I developed another applciation which does the
registering automatically. So now I have 2 exe's.
One exe registers the component and calls the actual
second exe.
When I am creating the setup I am selecting both the
exe's...
| |
by: Joe |
last post by:
I created a CustomAction for this but I don't think I have it in the right
place. I tried both Install and Commit but neither allow it to get to the
final screen.
Are there any examples of this anywhere?
Thanks,
Joe
|
by: mjobbe |
last post by:
Hi, I'm creating an MSI for a client app using a Visual Studio Setup
Project. I'm trying to detect if Internet Explorer is running on the
target computer before I start the installation. How do I go about
detecting this?
Thanks.
|
by: rohan_from_mars |
last post by:
I have a windows service and am also using Enterprise Library June 2005
version. Now i have created Setup and Deployment Project which installs
the service. but how do i add EL dlls- Common.dll, Logging.dll,
Configuration.dll, Data.dll into setup project so that it is also
installed automatically. It should perform what the 'Install
Services.bat ' performs.
I have created ProjectInstaller.cs file also
|
by: kaushalparik |
last post by:
hi all,
i am working with Desktop application, and trying to create a setup project.
i finalized my application and now creating the setup for that application.
what i need to do is, with in setup dialog boxes, i have to add my custom form which will ask for DB Details like DBServer name, User Name, Password, name of Database and SQL Server Selection etc.,
So, Besides my main application, i also added a Class Library Project with an...
|
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...
|
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...
| |
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |