473,287 Members | 1,865 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,287 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 2277
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: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.