You may want to disable this warning, if so, follow the steps below.
- Open Service Manager(press
+
R, typeservices.msc
and hit Enter). - Search for
Program Compatibility Assistance Service
in the list. - Right click on this service and select
Stop
. - Now again right click on
Program Compatibility Assistance Service
and selectProperties
. - Under
General
tab in theStartup type
section, click on the drop-down menu and selectDisabled
. - Click on
Apply
thenOK
.
Note: Program Compatibility Assistance monitors programs for known compatibility issues and can be very beneficial for end users. This tip is aimed at power users.
Another probable solution
is to embed a manifest file to avoid this alert. Something like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> <application> <!--The ID below indicates application support for Windows 7 --> <supportedOS Id=""/> </application> </compatibility> </assembly>
How to embed the application manifest
into my executable?
You can use this utility(mt.exe
- assuming you have the sdk installed) from Microsoft to do this. You would use a similar command like this:
mt.exe -manifest "foo.manifest" -outputresource:"foo.exe";#1
Other Considerations
- Consider using this program(
7z SFX-Creator
), according to this page: self-extracting archives created will no longer cause alert PCA. - See if IExpress may be useful to you