Side By Side Execution

A

Ashish Sharma

Hi All,

We have an application in which all assemblies have version 1.5.0.0.
After client wanted some changes we changed few of the functionality
and changed the version to 1.5.1.0 as per client demand.

Now client wants to have a patch like installation. Means, if you are
having 1.5.0.0 version installed on your machine, you can install
1.5.1.0 as a patch and now all the functionality should function as
per 1.5.1.0. And after uninstalling 1.5.1.0 patch, everything should
be reverted back to 1.5.0.0. There are some Shared assemblies also in
the GAC, some Windows Services and there are also changes in Web
Services. Accordingly there are some changes in Database also.

We made one installation which used to backup 1.5.0.0 ver. assemblies
and replace it with our 1.5.1.0 version assemblies. Everything works
fine. But after uninstalling 1.5.1.0, 1.5.0.0 version becomes
unstable.

How can I achieve this compatiblity of 1.5.1.0 and 1.5.0.0 versions.
It isuite urgent. Can anyone provide me solution that how can I bring
side by side execution. Like if 1.5.1.0 patch is installed everything
should work as per its implementation otherwise it should be as per
its original (1.5.0.0) functionality..

Thanx in advance

Regards,

Ashish
 
B

Branimir Giurov

Hi there,

I would suggest that you use a custom install action in the install of the
patch.
What you need to do there, is to modify the app's config file, so it
redirects the assembly binding to the new version. You should also define a
custom action for the uninstall procedure as well, so it will restore the
file back to the state it was if you remove the patch.

Check out the following section in MSDN on how to redirect assembly
bindings:
http://msdn.microsoft.com/library/d...pconconfiguringassemblybindingredirection.asp

Cheers,
Branimir
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top