title: Object reference not set to an instance of an object
body: <p>I have a .NET project (windows forms) created in .net 3.5. </p>
  
  <p>I added Error log code to this project and I deployed it in VS2010 with .NET 4.0 platform.</p>
  
  <p>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.</p>
  
  <p>If any one knows about this error please help me.</p>