Solved

Web deployment project - Launch conditions .NET Framework

Posted on 2008-06-17
2
1,425 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
[X]
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
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

740 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