Apps with UAC

Apps with UAC

Postby TimStone » Tue May 31, 2011 3: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Apps with UAC

Postby Otto » Tue May 31, 2011 3:52 pm

Hello Tim,

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

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Apps with UAC

Postby TimStone » Tue May 31, 2011 8: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Apps with UAC

Postby Otto » Tue May 31, 2011 9:45 pm

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

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: Apps with UAC

Postby TimStone » 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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Apps with UAC

Postby James Bott » Tue Jun 07, 2011 5:03 pm

Kudos to Otto for that!
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests