I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create
setup program to install prerequisite components" checked and the ".Net Framework 2.0" prerequisite selected. The install location is set to "Download
prerequisite from component's vendor's web site".
After I create the setup file I click on the msi file and if the .Net framework is not installed on the machine it asks if I want to download it from
the vendors website. If I click yes, it takes me to this ( http://go.microsoft.com/fwlink/?LinkId=9832) url so I can download dotnetfx.exe and install
it manually.
This is not the behavior I want. I want it to automatically download the framework and install it, then run my install again.
Can someone please explain how I can get vs2005 deployment project to do this?
Thanks! 8 4730
You aren't going to be able to get this easily. You are basically going
to have to write an unmanaged piece of code that will check to see if the
framework is installed, and if not, download and install it yourself.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"deciacco" <a@awrote in message
news:Da******** *************** *******@giganew s.com...
>I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create setup program to install prerequisite components" checked and the ".Net Framework 2.0" prerequisite selected. The install location is set to "Download prerequisite from component's vendor's web site".
After I create the setup file I click on the msi file and if the .Net
framework is not installed on the machine it asks if I want to download it
from the vendors website. If I click yes, it takes me to this
(http://go.microsoft.com/fwlink/?LinkId=9832) url so I can download
dotnetfx.exe and install it manually.
This is not the behavior I want. I want it to automatically download the
framework and install it, then run my install again.
Can someone please explain how I can get vs2005 deployment project to do
this?
Thanks!
WOW, I thought Microsoft has the .Net 2.0 in the Redistributable already.
Actually, can you extract the msi from the setup.exe and do the merge module
(just an idea)?
--
cheers,
RL
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omwrote in
message news:eB******** ******@TK2MSFTN GP03.phx.gbl...
You aren't going to be able to get this easily. You are basically
going to have to write an unmanaged piece of code that will check to see
if the framework is installed, and if not, download and install it
yourself.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"deciacco" <a@awrote in message
news:Da******** *************** *******@giganew s.com...
>>I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create setup program to install prerequisite components" checked and the ".Net Framework 2.0" prerequisite selected. The install location is set to "Download prerequisite from component's vendor's web site".
After I create the setup file I click on the msi file and if the .Net framework is not installed on the machine it asks if I want to download it from the vendors website. If I click yes, it takes me to this (http://go.microsoft.com/fwlink/?LinkId=9832) url so I can download dotnetfx.exe and install it manually.
This is not the behavior I want. I want it to automatically download the framework and install it, then run my install again.
Can someone please explain how I can get vs2005 deployment project to do this?
Thanks!
That unmanaged piece of code is already there (see the GenerateBootstr apper
task or class). The problem is that some genius at Microsoft moved the
target of that link thus breaking everyone's installer. This used to work
just as the OP (and I) want.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omwrote in
message news:eB******** ******@TK2MSFTN GP03.phx.gbl...
You aren't going to be able to get this easily. You are basically
going to have to write an unmanaged piece of code that will check to see
if the framework is installed, and if not, download and install it
yourself.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"deciacco" <a@awrote in message
news:Da******** *************** *******@giganew s.com...
>>I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create setup program to install prerequisite components" checked and the ".Net Framework 2.0" prerequisite selected. The install location is set to "Download prerequisite from component's vendor's web site".
After I create the setup file I click on the msi file and if the .Net framework is not installed on the machine it asks if I want to download it from the vendors website. If I click yes, it takes me to this (http://go.microsoft.com/fwlink/?LinkId=9832) url so I can download dotnetfx.exe and install it manually.
This is not the behavior I want. I want it to automatically download the framework and install it, then run my install again.
Can someone please explain how I can get vs2005 deployment project to do this?
Thanks!
"John Vottero" <JV******@mvpsi .comwrote in message
news:3C******** *************** ***********@mic rosoft.com...
That unmanaged piece of code is already there (see the
GenerateBootstr apper task or class). The problem is that some genius at
Microsoft moved the target of that link thus breaking everyone's
installer. This used to work just as the OP (and I) want.
Upon further review, I can see that the OP must be doing something wrong (or
different) because he's got the wrong URL. I apologize to all of the
genius' at Microsoft for jumping to conclusions. :)
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omwrote
in message news:eB******** ******@TK2MSFTN GP03.phx.gbl...
> You aren't going to be able to get this easily. You are basically going to have to write an unmanaged piece of code that will check to see if the framework is installed, and if not, download and install it yourself.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"deciacco" <a@awrote in message news:Da******* *************** ********@gigane ws.com...
>>>I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create setup program to install prerequisite components" checked and the ".Net Framework 2.0" prerequisite selected. The install location is set to "Download prerequisite from component's vendor's web site".
After I create the setup file I click on the msi file and if the .Net framework is not installed on the machine it asks if I want to download it from the vendors website. If I click yes, it takes me to this (http://go.microsoft.com/fwlink/?LinkId=9832) url so I can download dotnetfx.ex e and install it manually.
This is not the behavior I want. I want it to automatically download the framework and install it, then run my install again.
Can someone please explain how I can get vs2005 deployment project to do this?
Thanks!
"deciacco" <a@awrote in message
news:Da******** *************** *******@giganew s.com...
>I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create setup program to install prerequisite components" checked and the ".Net Framework 2.0" prerequisite selected. The install location is set to "Download prerequisite from component's vendor's web site".
After I create the setup file I click on the msi file and if the .Net
framework is not installed on the machine it asks if I want to download it
from the vendors website. If I click yes, it takes me to this
(http://go.microsoft.com/fwlink/?LinkId=9832) url so I can download
dotnetfx.exe and install it manually.
You're doing something wrong (or different) because the link should be: http://go.microsoft.com/fwlink/?LinkId=37283
What language are you building on?
There are two ways that the framework can be downloaded. One is from the
setup.exe bootstrapper, the other is from the actual MSI file. You checked
the prerequisites box to use the first of these, and then ran the MSI file
(not the exe!) and invoked the second.
So it's the setup.exe that downloads the framework (and other dependencies)
from the prerequisites settings, and in the MSI file there are some settings
that are in the Properties window of the NET Framework launch condition in
the Launch Conditions view, including an InstallURL that you can edit.
--
Phil Wilson
[MVP Windows Installer]
"deciacco" <a@awrote in message
news:Da******** *************** *******@giganew s.com...
>I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create setup program to install prerequisite components" checked and the ".Net Framework 2.0" prerequisite selected. The install location is set to "Download prerequisite from component's vendor's web site".
After I create the setup file I click on the msi file and if the .Net
framework is not installed on the machine it asks if I want to download it
from the vendors website. If I click yes, it takes me to this
(http://go.microsoft.com/fwlink/?LinkId=9832) url so I can download
dotnetfx.exe and install it manually.
This is not the behavior I want. I want it to automatically download the
framework and install it, then run my install again.
Can someone please explain how I can get vs2005 deployment project to do
this?
Thanks!
On Tue, 17 Jul 2007 10:24:18 -0500, deciacco <a@awrote:
>I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create setup program to install prerequisite components" checked and the ".Net Framework 2.0" prerequisite selected. The install location is set to "Download prerequisite from component's vendor's web site".
After I create the setup file I click on the msi file and if the .Net framework is not installed on the machine it asks if I want to download it from the vendors website. If I click yes, it takes me to this (http://go.microsoft.com/fwlink/?LinkId=9832) url so I can download dotnetfx.exe and install it manually.
This is not the behavior I want. I want it to automatically download the framework and install it, then run my install again.
Can someone please explain how I can get vs2005 deployment project to do this?
Thanks!
Why don't you set the install location to be the same folder as
application have visual studio copy the MSI to your installation
folder?
-- http://bytes.thinkersroom.com
Are you using ClickOnce deployment, or did you write your own Windows
Installer app?
My company is using ClickOnce, and we are installing .Net 2.0 from the MSFT
site with no problems. It downloads it for the user and installs it, then
continues with the ClickOnce deployment.
Robin S.
-------------------
"Rad [Visual C# MVP]" <ra*@nospam.com wrote in message
news:tc******** *************** *********@4ax.c om...
On Tue, 17 Jul 2007 10:24:18 -0500, deciacco <a@awrote:
>>I created a deployment project for my .net 2 application in vs 2005. In the properties of the deployment project, under prerequisites i have "Create setup program to install prerequisite components" checked and the ".Net Framework 2.0" prerequisite selected. The install location is set to "Download prerequisit e from component's vendor's web site".
After I create the setup file I click on the msi file and if the .Net framework is not installed on the machine it asks if I want to download it from the vendors website. If I click yes, it takes me to this (http://go.microsoft.com/fwlink/?LinkId=9832) url so I can download dotnetfx.ex e and install it manually.
This is not the behavior I want. I want it to automatically download the framework and install it, then run my install again.
Can someone please explain how I can get vs2005 deployment project to do this?
Thanks!
Why don't you set the install location to be the same folder as
application have visual studio copy the MSI to your installation
folder?
-- http://bytes.thinkersroom.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: CMan |
last post by:
Hi,
We are currently trying to install .Net Framework v.1.1 on a server which
already has v1.0.
We are receiving the following error.
Error 1704.An installation for Microsoft .NET Framework SDK (English) is
currently suspended. You must undo the changes made by that installation to
continue. Do you want to undo those changes?
|
by: |
last post by:
Hi
I am using VS .Net and created a deployment project with dotnet framework
all together, however if the client do not have .netframework, i won't
continue to install my project file after installed the dotnetframework.
I would like to know if there are any way to make my deployment to continue
my project installation after installing the dotnet framework.
Thanks
|
by: Someone Please Help! |
last post by:
I had Visual Studio .NET installed on my system for a
while and then decided I would install a second copy of
Windows 2000 on my second drive and use it strictly for
developing Visual Basic apps. I reformatted and
reinstalled Windows 2000 on my first and my second drives.
On the second drive I tried to install Visual Studio .NET.
Of course, the install program said I needed to update
some components so it ran the updates on the Component...
|
by: p |
last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also
have Crystal 9 pro on my development machine. The web app runs fine on my
dev machine but am having problems deploying. I created the websetup and
built the MSI, have the bundled version. Copied to webserver and ran
Websetup.msi. Said I had to remove old version, which I did, then reran
WebSetup.msi and keeps giving me this error. "The installer was interrupted...
|
by: Samuel |
last post by:
Hi,
I am running into a problem of mixing UICulture = auto and allowing users to
select culture using a dropdown list.
I am detecting a querystring, "setlang", and when found, setting the
CurrentUICulture to what's specified in the querystring. Since I want to
allow UICulture auto detecting, I add UICulture = "auto" to page directive on
each page.
| |
by: alpha_geek |
last post by:
Hi every one, I am new to this forum, and programming in general, I
come from a system admin background, and I wish to further my
knowledge, job prospects etc. by expanding my skill set.
I have finished my first application, after much reading, re-coding
and trial and error. The application is basically an interface for a
CD that allows you to launch utilities for diagnosing and
troubleshooting computer problems, and includes a wealth of...
|
by: |
last post by:
Hi, can someone provide some advise on how to get around with using auto
generated proxies?
basically I already have the proxy classes, and they are used by other
places. I'd like use these existing classes instead of having to generate
another set of proxy classes, which are going to be very similar to my
existing classes. any idea?
thanks,
-Jason
|
by: Daniel |
last post by:
Hey guys
When you get software on your machine that does this.
1) You load the software
2) it connects to its server
3) You get a message saying 'a new version of this software exists click to
download'
4) you click to download and then it downloads all the files updates your
software and then loads the app
|
by: John Fisher |
last post by:
Hi Groupies,
I have an Intel Macbook running OS X 10.4.
It came installed with Python 2.3.5. I have since installed MacPython
with version 2.4.4, cool.
When I open a bash terminal session and type python, it brings up
version 2.3.5. If I type IDLE it brings up version 2.4.4.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |