When I am trying to create the installer i am getting the following error:
The directory ProgramMenuDir is in the user profile but is n
ProgramMenuDir
If other answers are still not working for you, try to check Suppress ICE validation option, Visual studio will ignore these validations, just follow this route:
Suppress ICE validation
YourProject -> Properties -> Tool Settings
YourProject
Properties
Tool Settings