Article ID: 906766 - Last Review: February 17, 2006 - Revision: 1.0 The installer does not run the custom action when you try to run a new version of a setup project in Visual Studio 2005
SYMPTOMSConsider the following scenario:
CAUSEThis behavior occurs when you use the LoadFrom method inside the System.Configuration.Install.dll file. When the new version of the setup project tries to run the custom action, the LoadFrom method finds the custom action of the earlier version of the setup project to be a match. Then, the LoadFrom method runs the custom action of the earlier version of the setup project. The LoadFrom method does not run the custom action of the new version of the setup project. WORKAROUNDTo work around this behavior, sign the assembly that contains the new version of the setup project by using a strong name. STATUS This behavior is by design. MORE INFORMATIONFor more information about how to sign an assembly by using a strong name, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/xc31ft41.aspx
(http://msdn2.microsoft.com/en-us/library/xc31ft41.aspx)
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top