Solved

Web deployment project - Launch conditions .NET Framework

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

778 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