1260 error when running exe

Everything else that doesn't fall into one of the other PB categories.
PB Fanatic
User
User
Posts: 49
Joined: Wed Dec 17, 2014 11:54 am

1260 error when running exe

Post by PB Fanatic »

Hello, one of my programs that I've compiled as an exe is not running on a friend's PC. It was built on my Windows 7 PC (64-bit) with PureBasic v5.31 (the 32-bit version). It's got Unicode enabled but nothing is ticked for Request Administrator or Request User mode. The exe runs fine for me on my machine, where I'm logged in as a Limited user (not Admin).

When he runs my exe, he gets this 1260 software restriction policy error. He says he is logged in as an Administrator and that the exe only launches if he right-clicks it and selects "Run As Administrator".

EDIT: On second look, it appears it's not my exe the problem, but the Setup.exe I made for it using InnoSetup: it appears that his PC isn't letting Setup.exe launch my exe after installation?

Image
User avatar
Bisonte
Addict
Addict
Posts: 1305
Joined: Tue Oct 09, 2007 2:15 am

Re: 1260 error when running exe

Post by Bisonte »

Tell your friend, that his machine is maybe infected.
The "Alureon.E" for example made this behaviour.

The are many links like this that describe your problem.
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
firace
Addict
Addict
Posts: 946
Joined: Wed Nov 09, 2011 8:58 am

Re: 1260 error when running exe

Post by firace »

Just a wild guess, but this looks like he has some anti-executable software (perhaps CryptoPrevent?) running. I would try adding an exception, or just disabling protection during the installation.
Post Reply