I have an app that is deployed that uses .config file settings. I have an
update of that app that I am installing using a setup and deployment
project. The basic setup process works fine. Now I want to get a little
fancier.
I need to have the setup process check for the existence of the .NET
Framework and install it if it is not present. How do I do this?
To carry this even a step further, how do I detect the VERSION of .NET
Framework, if installed, and verify it is the correct one for this
application build? If it is not the correct version, can two version of the
..NET Framework run simultaneously on the same machine?
My application uses <application>.e xe.config files. I need to merge the
data in the existing .config file, if one exists, with an updated .config
file. This way I can enhance the .config structure while retaining
configuration settings already on the target machine. How do I do this?
Do you know of a good resource for learning more about setup and deployment
projects? I can't seem to find much info at my level. Of course that may
just mean I need to bring my level up a notch or two.... Thanks for any
help!
Let me know,
DAF 2 9479
As for the side by side issues, have a look at: http://msdn.microsoft.com/library/de...dexsidenet.asp http://support.microsoft.com/default...b;en-us;818641 - this is a
whitepaper on the topic.
The .Net Framework redistributable page is at: http://msdn.microsoft.com/library/de...vframework.asp
As for detecting the version, the closest article I found was: http://support.microsoft.com/default...b;en-us;315291
You can look further if you need later versions than the above article
mentions.
--
--matthew
-------------------------------------------------------------
Please do not send email directly to the alias used to post to the
newsgroup. The alias is for newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Darwin Fisk" <Da****@DotNetD esigns.com> wrote in message
news:er******** ******@tk2msftn gp13.phx.gbl... I have an app that is deployed that uses .config file settings. I have an update of that app that I am installing using a setup and deployment project. The basic setup process works fine. Now I want to get a little fancier.
I need to have the setup process check for the existence of the .NET Framework and install it if it is not present. How do I do this?
To carry this even a step further, how do I detect the VERSION of .NET Framework, if installed, and verify it is the correct one for this application build? If it is not the correct version, can two version of
the .NET Framework run simultaneously on the same machine?
My application uses <application>.e xe.config files. I need to merge the data in the existing .config file, if one exists, with an updated .config file. This way I can enhance the .config structure while retaining configuration settings already on the target machine. How do I do this?
Do you know of a good resource for learning more about setup and
deployment projects? I can't seem to find much info at my level. Of course that may just mean I need to bring my level up a notch or two.... Thanks for any help!
Let me know, DAF
That article about version detection completely ignores that fact that there
is a MsiNetAssemblyS upport property which returns a string containing the
latest version of the framework on the system. If you require a minimum
level, add a launch condition similar to MsiNetAssemblyS upport ="1.0.3705.288 " and a suitable message.
Launching is trickier, especially if you need to install the base and a
service pack. It's nearly always better to ask the user to do it manually
(localized versions might be an issue too).
--
Phil Wilson [MVP Windows Installer]
"Matthew Wetmore [MSFT]" <ma****@online. microsoft.com> wrote in message
news:Of******** ******@TK2MSFTN GP11.phx.gbl... As for the side by side issues, have a look at: http://msdn.microsoft.com/library/de...dexsidenet.asp http://support.microsoft.com/default...b;en-us;818641 - this is a whitepaper on the topic.
The .Net Framework redistributable page is at: http://msdn.microsoft.com/library/de...vframework.asp As for detecting the version, the closest article I found was: http://support.microsoft.com/default...b;en-us;315291
You can look further if you need later versions than the above article mentions. -- --matthew ------------------------------------------------------------- Please do not send email directly to the alias used to post to the newsgroup. The alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no
rights.
"Darwin Fisk" <Da****@DotNetD esigns.com> wrote in message news:er******** ******@tk2msftn gp13.phx.gbl... I have an app that is deployed that uses .config file settings. I have
an update of that app that I am installing using a setup and deployment project. The basic setup process works fine. Now I want to get a
little fancier.
I need to have the setup process check for the existence of the .NET Framework and install it if it is not present. How do I do this?
To carry this even a step further, how do I detect the VERSION of .NET Framework, if installed, and verify it is the correct one for this application build? If it is not the correct version, can two version of the .NET Framework run simultaneously on the same machine?
My application uses <application>.e xe.config files. I need to merge the data in the existing .config file, if one exists, with an updated
..config file. This way I can enhance the .config structure while retaining configuration settings already on the target machine. How do I do this?
Do you know of a good resource for learning more about setup and deployment projects? I can't seem to find much info at my level. Of course that
may just mean I need to bring my level up a notch or two.... Thanks for any help!
Let me know, DAF
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Darwin Fisk |
last post by:
I have an app that is deployed that uses .config file settings. I have an
update of that app that I am installing using a setup and deployment
project. The basic setup process works fine. Now I want to get a little
fancier.
I need to have the setup process check for the existence of the .NET
Framework and install it if it is not present. How do I do this?
To carry this even a step further, how do I detect the VERSION of .NET...
|
by: Wilson Ricardo Passos Oliveira |
last post by:
Hi fellows,
I have two simple questions regarding the Framework's deploy and the Setup
and Deploy Projects:
1. As I've read in another posts and newsgroups (and as I can imagine),
VS.NET IDE isn't capable of create a setup and deploy project and, in a
elegant way, during the setup process, detect the absence of the Framework.
In this case, I'd like to run the Dotnetredist.exe file, first, and the
|
by: Nick |
last post by:
Hi,
I have a windows application, wherein the solution consists of 5 projects.
When I try to create a setup and deployment project for this solution, I'm
somehow unable to add anything in project output group. I tried creating with
a setup wizard, but it just doesn't give me an option to add projects,
although I was able to add files into the setup. Moreover, creating a normal
setup project also did not help.
I tried to add a new...
|
by: ThunderMusic |
last post by:
Hi,
I want to know if there is a place to learn about Setup Projects, because
I'm trying to make one but can't do the things I want to do, like add a
registry key or allow the user to select/unselect optional parts.
Can somebody help please or supply a link to a place where I could find the
ansers or just learn how to make these projects?
Thanks
|
by: Vai2000 |
last post by:
Hi All, I have a doubt on WS. Initial deployment of an asp.net app which
calls a websvc includes copying all the webreferences and proxy files
(including the .cs files of the proxy)
If I build a new version of the asp.net app and don't change anything in the
underlying WS or the way it calls it, do I have to copy over all the
webreferences again to the production box? or I can just copy the .dll file
of asp.net app in the bin? (if no aspx...
| |
by: Mike Livenspargar |
last post by:
We have an application converted from v1.1 Framework to v2.0. The executable
references a class library which in turn has a web reference. The web
reference 'URL Behavior' is set to dynamic. We added an entry to the
executable's .exe.config file to specify the URL, and under the 1.1 framework
this worked well. Unfortunately, this is not working under the 2.0 framework.
I see in the Reference.cs file under the web service reference the...
|
by: Chuck P |
last post by:
I was wondering what practices people have come up with for
deployment. I want to precompile the application and encrypt portions
of the web.config.
In 1.0 I just did a batch file that would
copy %source%\*.aspx %web%\*.*
copy %source%\bin\*.dll %web%\bin\*.*
rem copy %source%\web.config %web%\*.*
Would rem out web.config because of changes in web.config. Such as
|
by: sanghavi |
last post by:
how to create a set up project in vb.net..how to run an application on a different machine
|
by: zeenets |
last post by:
Dear All,
I make setup and deployment project in windows application. and use project primary output in setup. after installing on client machine my app.config file is ther."ApplicationName.exe.config". This file contains connectionstring and other sensitive data. Problem is how we can make setup in which this configuration file is not visible?
any help will be appreciated.
Thanks
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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: 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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: 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...
| |