FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Apps with UAC
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Apps with UAC
Posted: Tue May 31, 2011 03:24 PM

While most applications run fine in Win 7, some are needing UAC approval to proceed. For example, a simple utility I have which runs with the server startup, seeks UAC permission becaue it "might cause a change to the computer". In fact, it just reads and writes data files, and does have an FTP component. When a server updates and reboots, often in the middle of the night, no one is available to grant the permission, and the program quits after a timeout.

Does anyone know what causes some programs to require the UAC and others don't need it ? Also, does anyone know how to set Windows to recognize the program as safe not requiring this permission ( other then to disable UAC ) in Vista / Win 7 ? None of my research shows a way to do this.

Thanks.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Apps with UAC
Posted: Tue May 31, 2011 03:52 PM

Hello Tim,

Is inside the exe-name something like “update”, “install” or “setup”?

Best regards,
Otto

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Apps with UAC
Posted: Tue May 31, 2011 08:45 PM

The name is ASWUpdate.exe.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Apps with UAC
Posted: Tue May 31, 2011 09:45 PM

Hello Tim,
rename ASWUpdate.exe to ASWsomething.exe ( don't use update, install, setup) and it should work.

Best regards,
Otto

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Apps with UAC
Posted: Tue May 31, 2011 11:14 PM

Thank you. That resolves the issue. Very strange ! I could find nothing on any forum, resource site, book, tutorial on that.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Apps with UAC
Posted: Tue Jun 07, 2011 05:03 PM

Kudos to Otto for that!

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion