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

Policy file question

I have a dll, which is version 1.0.0.23456, with the last part being the
auto numbered part. It has been installed in the GAC and there are a couple
of .net exe's using it. I now want to update the dll, to version
1.0.1.xxxxx, and update the component on the server where it is installed.
When I create the msi package, using VS .net 2003 installer, I can create an
msi that automatically updates the assembly and removes the previous
version. This is the desired result.
Now I do not want to update the applications that use the dll, but
instead create a policy file to deploy with the updated dll. I believe I
understand most of the policy file requirements and settings except for the
version number. The dll, and the setup msi version are manually updated, the
last part is auto generated, the .xxxxx. Can I leave off the last 5 digits
of the version number in the policy file? Since I do not know exactly what
the version number is going to be until I build the install?
For example, can I do the following:
<bindingRedirect oldVersion="1.0.0-1.0.1"
newVersion="1.0.2"/>

Instead of:
<bindingRedirect oldVersion="1.0.0.0-1.0.1.99999"
newVersion="1.0.2.24785"/>

I would like to build and deploy the policy file with the new app
automatically. So my thought was when I build the installer project, which
builds the dll assembly first, I tack on post installation event to build
the policy file after the dll build.

Any problems or suggestions?

J
Jul 21 '05 #1
0 980

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

Similar topics

1
by: Rob Barnes | last post by:
When I try to create a machine-level security policy based on an assembly's strong name, I get the following error: "ERROR: Invalid label or name" The caspol command is: "caspol -machine...
0
by: andrew.noel | last post by:
I have a publisher policy setup that consists of the following two files: policy.0.0.assembly.dll policy.config The policy.config file contains the following: <configuration> <runtime>...
3
by: david.kao | last post by:
Hi All: I tried to uninstall a runtime security package from a user's machine. Based on document I have read, all I need to do is right click on MSI file, and choose uninstall from menu. After I...
1
by: cmrchs | last post by:
Hi, I'm having problems using publisher policy in .NET 2.0. whereas I didn't in .NET 1.1 Scenario : I have a version3.0 component against which a client is compiled. Then creating version3.1...
0
by: Scanner2001 | last post by:
I have a dll, which is version 1.0.0.23456, with the last part being the auto numbered part. It has been installed in the GAC and there are a couple of .net exe's using it. I now want to update the...
2
by: jtyner | last post by:
I am trying to get QFE (Quick Fix Engineering) working with an assembly installed in the GAC. I have two books that claim if two different version of the assembly are installed in the GAC -AND-...
3
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Hi everybody, I'm facing a problem to run an appliation in a shared network drive. The application is developed in VB2005. I understand I have to add a signature with strong name key to all...
1
by: =?Utf-8?B?U2NvdHQ=?= | last post by:
Publisher policies sound just like what I need but I just can't get these things to work. There are several good kb articles that seem to show exactly what needs to be done.... Here is my...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?

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.