Solved

Web deployment project - Launch conditions .NET Framework

Posted on 2008-06-17
2
1,420 Views
Last Modified: 2013-11-13
I've created a deployment project for a small web application I've been developing.
Everything is working fine, but I want to change the InstallURL in the launch conditions for .NET Framework if the user do not have the required .NET version.
So that they do not have to download and run the update file.
Instead I've downloaded the file and want it to run automatically if needed.


Let's say I have a MyWeb.msi and dotNetFx35setup.exe file.
I then just zip them together and send the files the the user. The user extracts the files and run the .msi file, lets say at C:\MyDocs\MyProgram\.
So my question is related to the InstallURL property.
I've read that the InstallURL could refer to folders, but usually on CD's and they have static folder paths.
In my case the path may vary from each user. So how do I set the path to where the files have been extracted?
I've tried just to enter the filename dotNetFx35setup.exe in the InstallUrl since I thought the default path would be where the file was extracted, but this did not work.

This is my first time creating a deployment project, so there might be several other ways to run the file if need. So all solutions are appreciated.

Regards
Marius
0
Comment
Question by:Contestoas
2 Comments
 
LVL 14

Accepted Solution

by:
rachitkohli earned 500 total points
ID: 21800931
1 Right click on the setup project, select properties.
2 This will open a window to set properties. Click Prerequisites button.
3 .NET Framework 2.0 should be already selected. Select the second option from the bottom (Download prerequisites from the same location as my application)
4. Just by doing this now, framework will be included with your setup program (i.e. Folder of framework installation will be with the setup files)
5. It will install the framework from this folder.
6. Rebuild the project & pickup files from the bin folder of setup project, Setup.exe, msi file & the dotnetfx folder.
7. Setup.exe is the relevant file. This will check if the framework is present & install it if needed, then proceed with the installation of the MSI file.
8. No need of settup Instal URL property or anything else for this.
0
 

Author Comment

by:Contestoas
ID: 21801304
Thank you for your answer:)
Here's your points!

Regards
Marius
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

If you don't know how to downgrade, my instructions below should be helpful.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now