473,381 Members | 1,435 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,381 software developers and data experts.

Setup project not dependent on Framework version

When I build a setup project, the dependency in the setup project is tied to
the version in which it was built.
Is there a way to build a setup project that can be used in both versions of
the Framework?

There is provision to build the app's .exe so that the .exe can be used in
either version of the framework, is there not a way to do this for the setup
project? I looked at the options, did not find any. Did I miss something?

--
http://www.standards.com/; See Howard Kaikow's web site.
Nov 20 '05 #1
4 2281
Howard,

There is a thing called side by side execution but even this is kinda
sketchy as far as I see it. The one thing you have to remember is the
differences in versioning...

The only way to have a package work with both 1.0 and 1.1 is to develop in
in 1.0. The reason being, Features that exist in 1.1 do not necessarily
exist in 1.0.

This prevents breakage between versions, as was one of the core reasons for
developing .NET in the first place (as a replacement to COM).
HTH,
CJ

"Howard Kaikow" <ka****@standards.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
When I build a setup project, the dependency in the setup project is tied to the version in which it was built.
Is there a way to build a setup project that can be used in both versions of the Framework?

There is provision to build the app's .exe so that the .exe can be used in
either version of the framework, is there not a way to do this for the setup project? I looked at the options, did not find any. Did I miss something?

--
http://www.standards.com/; See Howard Kaikow's web site.

Nov 20 '05 #2
Lemee clarify.

I was not asking about the app .exe.

I was asking about the .mis, .ini and Setup.exe file created by the setup
project.
I was hoping that there would be a way to build such a package in 2003.

If not, I guess that a 2002 built package would run in 2003.

--
http://www.standards.com/; See Howard Kaikow's web site.
"CJ Taylor" <no****@blowgoats.com> wrote in message
news:10*************@corp.supernews.com...
Howard,

There is a thing called side by side execution but even this is kinda
sketchy as far as I see it. The one thing you have to remember is the
differences in versioning...

The only way to have a package work with both 1.0 and 1.1 is to develop in
in 1.0. The reason being, Features that exist in 1.1 do not necessarily
exist in 1.0.

This prevents breakage between versions, as was one of the core reasons for developing .NET in the first place (as a replacement to COM).
HTH,
CJ

"Howard Kaikow" <ka****@standards.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
When I build a setup project, the dependency in the setup project is tied
to
the version in which it was built.
Is there a way to build a setup project that can be used in both
versions of
the Framework?

There is provision to build the app's .exe so that the .exe can be used

in either version of the framework, is there not a way to do this for the

setup
project? I looked at the options, did not find any. Did I miss something?
--
http://www.standards.com/; See Howard Kaikow's web site.


Nov 20 '05 #3
> Lemee clarify.

I was not asking about the app .exe.

I was asking about the .mis, .ini and Setup.exe file created by the setup
project.
I was hoping that there would be a way to build such a package in 2003.

Ahh.. yes. I understand now. I've only actually done this one time, and
when you open a 2002 project in 2003 it should upgrade all the versions /
requirements. The setup installer (if your using VSI that came with VS.NET,
awesome, it works fine), but it checks the primary output to determine which
ones it needs to use. So the setup project is dependent on the other
project, if your project is set to use 1.1 libraries, it will require 1.1,
and the same for 1.0.

When you open the project the first time, the requirements should be changed
automatically (when it prompts you to "Would you like to upgrade this
project/solution?").
If not, I guess that a 2002 built package would run in 2003.
Right, 2002 packages can be upgraded to 2003, just not vice versa (at least
"automatically" its just XML, so you could figure it out if you really
wanted to.)

--
http://www.standards.com/; See Howard Kaikow's web site.
"CJ Taylor" <no****@blowgoats.com> wrote in message
news:10*************@corp.supernews.com...
Howard,

There is a thing called side by side execution but even this is kinda
sketchy as far as I see it. The one thing you have to remember is the
differences in versioning...

The only way to have a package work with both 1.0 and 1.1 is to develop in
in 1.0. The reason being, Features that exist in 1.1 do not necessarily
exist in 1.0.

This prevents breakage between versions, as was one of the core reasons for
developing .NET in the first place (as a replacement to COM).
HTH,
CJ

"Howard Kaikow" <ka****@standards.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
When I build a setup project, the dependency in the setup project is

tied
to
the version in which it was built.
Is there a way to build a setup project that can be used in both

versions
of
the Framework?

There is provision to build the app's .exe so that the .exe can be

used in either version of the framework, is there not a way to do this for the

setup
project? I looked at the options, did not find any. Did I miss something?
--
http://www.standards.com/; See Howard Kaikow's web site.



Nov 20 '05 #4
The .msi and setup.exe files are not XML.

The setup.ini file looks like:

[MSILoader]
MSIFileName=Lucky.msi
[FXSection]
SupportedRuntimes=1.1.4322
InstallUrl=http://go.microsoft.com/fwlink/?LinkId=9832
Message=1.1.4322
UseDefaultMessage=1

The app.config file does provide for both versions, so I believe the problem
is with the .msi, setup.exe and setup.ini files.
It may be as simple as putting both runtime visions in the setup.ini, but I
don't know where to find the documentation for how to do that.

--
http://www.standards.com/; See Howard Kaikow's web site.
"CJ Taylor" <no****@blowgoats.com> wrote in message
news:10*************@corp.supernews.com...
Lemee clarify.

I was not asking about the app .exe.

I was asking about the .mis, .ini and Setup.exe file created by the setup
project.
I was hoping that there would be a way to build such a package in 2003.

Ahh.. yes. I understand now. I've only actually done this one time, and
when you open a 2002 project in 2003 it should upgrade all the versions /
requirements. The setup installer (if your using VSI that came with

VS.NET, awesome, it works fine), but it checks the primary output to determine which ones it needs to use. So the setup project is dependent on the other
project, if your project is set to use 1.1 libraries, it will require 1.1,
and the same for 1.0.

When you open the project the first time, the requirements should be changed automatically (when it prompts you to "Would you like to upgrade this
project/solution?").
If not, I guess that a 2002 built package would run in 2003.
Right, 2002 packages can be upgraded to 2003, just not vice versa (at

least "automatically" its just XML, so you could figure it out if you really
wanted to.)

--
http://www.standards.com/; See Howard Kaikow's web site.
"CJ Taylor" <no****@blowgoats.com> wrote in message
news:10*************@corp.supernews.com...
Howard,

There is a thing called side by side execution but even this is kinda
sketchy as far as I see it. The one thing you have to remember is the
differences in versioning...

The only way to have a package work with both 1.0 and 1.1 is to develop
in in 1.0. The reason being, Features that exist in 1.1 do not
necessarily exist in 1.0.

This prevents breakage between versions, as was one of the core reasons for
developing .NET in the first place (as a replacement to COM).
HTH,
CJ

"Howard Kaikow" <ka****@standards.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
> When I build a setup project, the dependency in the setup project is

tied
to
> the version in which it was built.
> Is there a way to build a setup project that can be used in both

versions
of
> the Framework?
>
> There is provision to build the app's .exe so that the .exe can be

used
in
> either version of the framework, is there not a way to do this for

the setup
> project? I looked at the options, did not find any. Did I miss

something?
>
> --
> http://www.standards.com/; See Howard Kaikow's web site.
>
>



Nov 20 '05 #5

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

Similar topics

2
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...
1
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...
4
by: pbj | last post by:
my application was created in vb.net, vs 2003. the setup project was also created in vs 2003. one of my application reviewers reported this: The .Net link that is included in the setup is not the...
1
by: Amy L. | last post by:
I have a project that is deployed using a MSI. When the user attempts to install a new version of the program I require them to remove the existing version first. Is it possible to do the...
3
by: | last post by:
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is...
5
by: TB | last post by:
Hi All: This news group is proving to be great help on my path towards mastering ASP.NET thanks to all of you helpful souls out there. I am looking forward to the day when I can contribute...
2
by: asadikhan | last post by:
I had v1.0, v1.1 and v2.0 of .NET framework installed on my laptop and that was causing me a lot of grief. So I uninstalled v2.0 and pressed on with developing stuff in v1.0. Everything was great....
2
by: karthikeyan.rsm | last post by:
Hi i some queries in teh setup and deployment package. Currently i have developed a project and i have created a setup for this project in the same solution. My queries are as follows 1. In...
6
by: Srini | last post by:
Hi, I am facing a problem in localizing the setup file and .NET framework redistributable. I am trying to deploy c# winform application. I have created a setup project. I need to...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.