Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-01

Windows 10 execution problem for my application...

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

I am having problems with Windows10 Pro x64 regarding running my programs from Windows Explorer.
What happens is this:
- I have created a new virtual computer with Windows 10 Pro x64
- Installed Subversion and checked out a project including sources and the 32 bit binary
- Went to the binary folder and doubleclicked the executable

Now Win10 responds by showing a message:
"This app can't run on your PC"
No extra information as to why it happens except to contact the publisher for a solution. But it so happens that I am the publisher...

I have not used Windows 10 before, I have been on Windows 7 for a long time . So I can't understand what is the problem here. I know clients have managed to use the program on Win10 computers without problems so there must be something I have missed when going to Win10.

Notice:
I did not yet install any development tools because I wanted to test with as pristine as possible operating system when I have the chance.

Is there some special setting needed in order to use Win10 as a developer?
I *have* googled the error message and looked at a lot of fixes, but none that I could follow worked.

Bo Berglund Developer in Sweden

Reply by email

Bo Berglund
to Bo Berglund
Bo Berglund wrote
Is there some special setting needed in order to use Win10 as a developer?

I tried to start it from a command prompt instead, so in the console I navigated to the bin folder and typed the name of the executable and hit enter.
Same thing happened in the GUI, but now I also could see a message on the command line:
"Access is denied"

But no information regarding to what access is denied....

Is this a case of extreme vetting UAC? I am running as a normal user.

Bo Berglund Developer in Sweden

Reply by email

AlexeyT
to Bo Berglund
Is this a case of extreme vetting UAC? I am running as a normal user.

What you must do is rightclick the exe file, and in Explorer dlg, call button "unlock app" or smth. Default is locked state, so OS makes limits.

Regards, Alexey

Reply by email

Bo Berglund
to Bo Berglund: I am having problems with Windows10 Pro x64 regarding running my programs from Windows…
Bo Berglund wrote 13 lines
I am having problems with Windows10 Pro x64 regarding running my programs from Windows Explorer. What happens is this: - I have created a new virtual computer with Windows 10 Pro x64 - Installed Subversion and checked out a project including sources and the 32 bit binary - Went to the binary folder and doubleclicked the executable Now Win10 responds by showing a message: "This app can't run on your PC" No extra information as to why it happens except to contact the publisher for a solution. But it so happens that I am the publisher...

UPDATE:
This has nothing to do with Win10 as it also appears when I check out the project from Svn on a Win7 machine.
It turns out the Svn has applied the wrong "mime type" to the executable (on commit?) so it is corrupted on checkout probably by expansion of line endings...
The application Icon does not show up either..

Bo Berglund Developer in Sweden

Reply by email