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.com/")
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 5871
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+zjeOFJeS92ULM3pnCKJKg== Newsgroups: microsoft.public.dotnet.framework.aspnet Path: cpmsftngxa06.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:191542 NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 X-Tomcat-NG: microsoft.public.dotnet.framework.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.com/")
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 "Walkthrough: 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******@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+zjeOFJeS92ULM3pnCKJKg== Newsgroups: microsoft.public.dotnet.framework.aspnet Path: cpmsftngxa06.phx.gbl Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet:191542NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 X-Tomcat-NG: microsoft.public.dotnet.framework.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
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.com/")
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+2qMGzHsdRR1qOsCAhsgDukg== X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Newsgroups: microsoft.public.dotnet.framework.aspnet Path: cpmsftngxa06.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:191582 NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163 X-Tomcat-NG: microsoft.public.dotnet.framework.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 "Walkthrough: 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******@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+zjeOFJeS92ULM3pnCKJKg== Newsgroups: microsoft.public.dotnet.framework.aspnet Path: cpmsftngxa06.phx.gbl Xref: cpmsftngxa06.phx.gblmicrosoft.public.dotnet.framework.aspnet:191542NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 X-Tomcat-NG: microsoft.public.dotnet.framework.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 worksgreattoo, for web pages not associated with my newapplication. 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.com/")
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" 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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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-...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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,...
|
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...
|
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...
| |