Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a project with Visual studio 2017 version 15.6.0. I added another project by the Visual Studio Installer Template to create a setup. It worked fine. But when I added a Txt TextControl Express, although the project compiles and runs fine, when I try to use the setup to install on my local and other machines I have the following error message The installer has encountered an unexpected error installing the package. This may indicate a problem with the package. The error code is 2920. I have tried all including searching on Google. I need help here, good folks. Thanks in advance.

What I have tried:

I am using visual studio installer template
Posted
Updated 20-Mar-18 21:47pm
Comments
Dave Kreskowiak 20-Mar-18 13:29pm    
Look in the Event Viewer, Application Log, and you'll get the complete error message. MSI error 2920 is "Source directory not specified for file 'filename'". You'll get the filename it's talking about from the log.

1 solution

Thanks Dave. I have created a new project to do step by step configuration and I realized that the Platform Target was the problem. I configured it from Any CPU to x86 and it worked. Thank you very much indeed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900