fbpx
Welcome, Guest
Username: Password: Remember me
Share your code snippets, screen shots etc. here
  • Page:
  • 1

TOPIC: Filename strangeness

Filename strangeness 2 months 1 week ago #9222

  wriedmann's Avatar Topic Author wriedmann Offline Posts: 1663
Hello,

I had problems debugging an application with XIDE.
The strange thing is that the application requires elevated rights to run when the assembly file name contains the word "upda", but it does not require them, when the contained word is "upd" alone.
For example: using the assembly file name "bnUpdTester" it works normally, with the filename "bnUpdaTester" it requires elevated rights.
Wolfgang
P.S. I'm using Windows 10 1809 and XIDE
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

Filename strangeness 2 months 1 week ago #9223

  SHirsch's Avatar SHirsch Offline Posts: 116
Hi Wolfgang,

I remember that apps with update or setup in their name are automatically handled as updates that need elevated rights.
In your app name is this the case 'bnUPDATEster'.

Stefan

Please Log in or Create an account to join the conversation.

Filename strangeness 2 months 1 week ago #9224

  SHirsch's Avatar SHirsch Offline Posts: 116

Please Log in or Create an account to join the conversation.

Filename strangeness 2 months 1 week ago #9225

  wriedmann's Avatar Topic Author wriedmann Offline Posts: 1663
Hi Stefan,

thank you very much! Initially my application filename was bnUpdateTester... so I wondered why it requested elevated rights. I knew something like this with the word "setup" and "install", but didn't knew until today that also "update" triggered this detection.
Anyway, I'm more happy than ever to have changed the update process of my applications to the download of a zip file from the internet and an internal extraction (all from inside of the application).
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

Filename strangeness 2 months 1 week ago #9226

  Chris's Avatar Chris Offline Posts: 1253
This is the reason why XIDE install files are named for example XIDE_Set_up_1.17.exe and not XIDE_Setup_1.17.exe :)
XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

Filename strangeness 2 months 4 days ago #9309

  ArneOrtlinghaus's Avatar ArneOrtlinghaus Offline Posts: 134
I will ask Microsoft immediately that they should also include set_up as a keyword for higher rights :-)(I had also similar problems. I remember that for one program also the manifest contents triggered the higher rights)

In the last years Windows became kinder with our programs whereas some antivirus programs got more aggressive deleting our exe files. And this because of behavior driven controls and not because of signatures. Create and delete many temporary files and immediately the antivirus program starts looking at you...

Arne

Please Log in or Create an account to join the conversation.

Filename strangeness 2 months 4 days ago #9312

  Chris's Avatar Chris Offline Posts: 1253
Yeah, to me it looks like that antiviruses have became the real viruses lately..

About namings, can still use S_e_t_u_p, SE7up, Set-up etc, they will never win this battle! But I will stop giving you more names to report in advance :)
XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

Filename strangeness 2 weeks 2 days ago #10079

  ArneOrtlinghaus's Avatar ArneOrtlinghaus Offline Posts: 134
It is possible to switch off this strange behavior by including the following code into the manifest file of the exe:
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>

Please Log in or Create an account to join the conversation.

Filename strangeness 2 weeks 2 days ago #10080

  Chris's Avatar Chris Offline Posts: 1253

ArneOrtlinghaus wrote: It is possible to switch off this strange behavior by including the following code into the manifest file of the exe:
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>


Thanks for the info Arne!
XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

Filename strangeness 2 weeks 1 day ago #10081

  wriedmann's Avatar Topic Author wriedmann Offline Posts: 1663
Hi Arne,
thank you very much! This is interesting.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
This email address is being protected from spambots. You need JavaScript enabled to view it.
www.riedmann.it - docs.xsharp.it

Please Log in or Create an account to join the conversation.

  • Page:
  • 1