Reputation: 1
I have a .NET project (windows forms) created in .net 3.5.
I added Error log code to this project and I deployed it in VS2010 with .NET 4.0 platform.
It successfully builds and creates the installer, but when I install this msi installer it shows the error "error:1001 ->Object reference not set to an instance of an object." and the installation gets rolled back.
If any one knows about this error please help me.
Upvotes: 0
Views: 5702
Reputation: 41
One of the resons could be that Custom Actions data is missing. Make sure the variables/properties/data you are accessing in the installer's code(ProjectInstaller.cs) file is there in the custom actions data in Install section.
Hope this will solve your problem.
Upvotes: 4
Reputation: 108050
Make sure the installer is actually copying all the dlls and other files to the installation directory.
Upvotes: 0