Package windows application problem.

I have just completed a windows application in C#.net. When I try to create a installer for distrubution using Setup Wizard (from Setup and deployment projects), I got this error:

'shdocvw.dll' should be excluded because its source file 'C:\WINDOWS\System32\shdocvw.dll' is under Windows System File Protection.

How can I fix it? Please help me!

Thanks!
LVL 4
boy8964Asked:
Who is Participating?
 
boy8964Author Commented:
when i excluded shdocvw.dll file, it buils. But the installer cannot be starte., the error message says "the folder path '.' contains invalid character. what is goin on?
0
 
YurichCommented:
In one of your paths, you have '.' specified as a path, which might've been done accidently or, if you had any files referred to your shdocvw.dll, it would happen after you excluded that dll file. Just go to your file system and check properties of the files, shortcuts, and icons specified.

regards
0
 
boy8964Author Commented:
I only include the .exe file in the "Application Folder" and the .exe file doesn't contains any '.' as a path. what is really going on? please help!
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.