473,394 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

looking for installer that will smartly download framework if it is not installed on users machine

I am deploying some software. I want the installer (wise,
installshield, or whatever you reccommend) to smartly analyze the
users computer and look to see if the .net framework is installed. If
it is not installed then download framework and when that is done it
will install my software. What installer package will do this the
best/most easily. Please give me all options. Especially interested in
hearing free ways to do this.

Thanks,

Tom
Jul 21 '05 #1
5 1523
If you really want a free and easy way to do it, you could follow what I did.

I wrote a C++ app that scans the regesitry to determine if .Net is
installed. If it finds it, it launches the setup routine from the microsoft
packager. If it is not found, it asks if the user wants to install the
framework, once the framework is installed, it launches the setup.

I have had much luck with the .Net packager. I have not tried very hard
either. But this way works for me. I even put the C++ app on a CD and created
and autorun.inf file that launched the app. It was all pretty automated and
worked rather well.

Hope that helps.

Jerel

"Thomas Miller" wrote:
I am deploying some software. I want the installer (wise,
installshield, or whatever you reccommend) to smartly analyze the
users computer and look to see if the .net framework is installed. If
it is not installed then download framework and when that is done it
will install my software. What installer package will do this the
best/most easily. Please give me all options. Especially interested in
hearing free ways to do this.

Thanks,

Tom

Jul 21 '05 #2
The Visual Studio 2003 installer will do this. In
View->Editor->LaunchConditions, you'll see a launch condition of .NET
Framework if your app needs it. F4 for properties, and InstallURL says where
to get it from, SupportedRuntimes the first is the version you want. Try it
with a dopey version like 1.1.5678 to test it, and you'll see a message
asking to get the runtime from that InstallURL.

For something fancier, there's this:
http://www.codeproject.com/dotnet/dotNetInstaller.asp

Whether you choose VS, InstallShield or Wise shouldn't be based on this
alone - those 3rd party MSI builders have a whole lot of functionality and
include this kind of download capability.

http://www.installsite.org/pages/en/msi/authoring.htm
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg...044380-4696760

"Thomas Miller" <th*****************@yahoo.com> wrote in message
news:5e**************************@posting.google.c om...
I am deploying some software. I want the installer (wise,
installshield, or whatever you reccommend) to smartly analyze the
users computer and look to see if the .net framework is installed. If
it is not installed then download framework and when that is done it
will install my software. What installer package will do this the
best/most easily. Please give me all options. Especially interested in
hearing free ways to do this.

Thanks,

Tom

Jul 21 '05 #3
Thanks Phil.
What InstallUrl can I use to download it directly from the MS website?
I do not want to use up my own hosting bandwidth. The MS website
http://go.microsoft.com/fwlink/?LinkId=23249 does not link directly to
the file. I examined the html source of the page and when the user
clicks the "download now" button they are taken to

http://download.microsoft.com/downlo...nInstaller.msi

How do I know for sure that MS will not change the url?
Jul 21 '05 #4
You don't know for sure whether it will change, or you can ask them...
Get one of those free storage accounts, if those things still exist, and
link to that.

Zach

Thomas Miller wrote:
Thanks Phil.
What InstallUrl can I use to download it directly from the MS website?
I do not want to use up my own hosting bandwidth. The MS website
http://go.microsoft.com/fwlink/?LinkId=23249 does not link directly to
the file. I examined the html source of the page and when the user
clicks the "download now" button they are taken to

http://download.microsoft.com/downlo...nInstaller.msi

How do I know for sure that MS will not change the url?

Jul 21 '05 #5
This isn't the URL for the distributable; it's the URL for the bootstrapper
that lets you package your application with the framework and distribute it
all together. Check that section more carefully; it does mention a link you
should put into an installer to download the framework from MS.

Steve

"Thomas Miller" <th*****************@yahoo.com> wrote in message
news:5e**************************@posting.google.c om...
Thanks Phil.
What InstallUrl can I use to download it directly from the MS website?
I do not want to use up my own hosting bandwidth. The MS website
http://go.microsoft.com/fwlink/?LinkId=23249 does not link directly to
the file. I examined the html source of the page and when the user
clicks the "download now" button they are taken to

http://download.microsoft.com/downlo...nInstaller.msi
How do I know for sure that MS will not change the url?

Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Richard Hanson | last post by:
Over the last few days, I reinstalled Win2kSP2 to a spare harddrive I had just swapped into my Fujitsu LifeBook P1120 (long story <wink>). Subsequently, I DL'ed the newest Python alpha (2.4a2), and...
5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
19
by: Blair Adamache | last post by:
IBM is hosting a user focus session to get feedback on a new design concept for installing software products and maintenance. The information below gives a brief summary of the information about...
1
by: I_AM_DON_AND_YOU? | last post by:
I have created a setup program (for my VB.Net solution). I got the "MyProgram.msi" file which when I copy and run on the other machine where ..Net Framework wasn't installed, it gave me the message...
5
by: Thomas Miller | last post by:
I am deploying some software. I want the installer (wise, installshield, or whatever you reccommend) to smartly analyze the users computer and look to see if the .net framework is installed. If it...
1
by: Izzy | last post by:
I created a windows service using VS 2005 in VB.NET and it runs on my Windows XP Pro machine just fine, now I'm want to install it on one of my servers which is a Windows 2000 Terminal server...
3
by: shimon | last post by:
Hello I would like to create an installer to my C# project. BUT 1) I don't want my user to install the .net framework 2 manually, because many will just give up installation. 2) I don't...
6
by: Pep | last post by:
Firstly, I'm not sure if this is the right group for this query, so please forgive me if I am wrong. My problem is that most users I distribute my software to cannot install it on their systems...
1
by: tuvman | last post by:
I just finished writing an activeX in .net. The ActiveX requires that various other COM components be installed before running. We found that IE already has a mechanism for running an installer if...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.