installation Exception 1001 unable to get installer types in the C:\Program Files(x86)\Default Company Name\Setup\Project.exe

StackOverflow https://stackoverflow.com/questions/22629479

  •  20-06-2023
  •  | 
  •  

Question

I got this exception while installing my application on client's laptop. I have used custom action for this setup. this exception occurs before calling function

protected override void OnAfterInstall(IDictionary savedState)

Exception While installation

Was it helpful?

Solution 2

I just need to add dependent DLLs to the setup project. I had used 3rd party toolkit dll in my project and i had added it to the reference but here I need to add it in setup as well(make folder ThirdPartyDLL and add all 3rd party DLL in this folder). also have installed crystal report on target machine because my project is using crystal report.

OTHER TIPS

My first guess is that you are calling that executable as a custom action and you have erroneously marked it as an installer class when it's really just a Win32 executable.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top