Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
The installer does not run the custom action when you try to run a new version of a setup project in Visual Studio 2005
Article ID: 906766 - View products that this article applies to.
Consider the following scenario:
This 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.
To work around this behavior, sign the assembly that contains the new version of the setup project by using a strong name.
For more information about how to sign an assembly by using a strong name, visit the following Microsoft Developer Network (MSDN) Web site: