?
Solved

Web deployment project - Launch conditions .NET Framework

Posted on 2008-06-17
2
Medium Priority
?
1,432 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

850 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