How can I exclude these from my msi build?

I select Primary output for the application folder for my setup installer project. I'm getting the following warnings.  How can I take care of this?  Thanks.

Building file 'C:\Projects\UnityAdmin\UnityAdminSetUp\Release\UnityAdminSetUp.msi'...
WARNING: 'comadmin.dll' should be excluded because its source file 'C:\WINNT\System32\Com\comadmin.dll' is under Windows System File Protection.
WARNING: 'COMSVCS.DLL' should be excluded because its source file 'C:\WINNT\System32\COMSVCS.DLL' is under Windows System File Protection.
lapuccaAsked:
Who is Participating?
 
Mihai StancescuConnect With a Mentor Software Engineer Commented:
These warnings might appear because those files might be system files, I mean they come with Windows, and you no longer need to install them with you setup.
0
 
boy8964Commented:
select any file you want exclude, right click on it and then choose "exclude".
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.