Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Web deployment project - Launch conditions .NET Framework

Posted on 2008-06-17
2
1,423 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

856 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