Click here to Skip to main content
16,022,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have Setup Installation project within another Windows Form Project of Visual Community Studio 2022.

It is set in properties to x86

I get 2 warning messages as I build the project:

WARNING: 'wmp.dll' should be excluded because its source file 'C:\WINDOWS\system32\wmp.dll' is under Windows System File Protection.
WARNING: File 'wmp.dll' targeting 'x64' is not compatible with the project's target platform 'x86'


So, the reason I want to have x86 is because I want it to work on both 32-bit

and 64-bit systems to be able to install.

wmp.dll was added automatically as I added my application.exe file, wmp.dll is related to a Media Player.

Should I exclude it from a setup project?

I really prefer not to have both versions of.MSI x86 and x64, but only x86.

My system is 64-it, I have tested it, and it installs without any problems and works well after the installation.

Will it install on 32-bit system or not?

What those warning messages mean? Should I just ignore them?

Let me know, thanks in advance.

What I have tried:

I have tested it on my system, it is 64-but system, it installs and runs well.
Posted

Depending on what your application is doing, you could be short changing your users by only releasing a 32 bit version and having it run on a 64 bit machine. To the rest of your question, yes you should remove wmp.dll from the installer. That warning is very important.
 
Share this answer
 
Comments
Gennady46 26-Sep-24 15:07pm    
Ok I removed it, let me test everything and also I will run a virtual box windows 10 32-bit, will see, I will let you know.
Seems it is working, I have tested on laptop 64-bit, and also on virtual box windows 10 32-bit, and the window horizontally does not fit. Is there a way to fit a windows form project of any resolution on any screen, make sure it fits? Also, the project requires .NET framework to be installed on the target machine, will it install automatically, not sure? I know this post should have been asked somewhere else....
 
Share this answer
 
v2

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