bright, fresh software
Downloads  |  Buy

CommonAppDataFolder and UAC

Re: CommonAppDataFolder and UAC

Postby JamesNK » June 7th, 2012, 4:31 pm

Ok, the tester raised a bug about it so I need to fix it. Please email me the update to the email address I used to sign up to the forum.

Do I need to do anything other than replace the wyupdate.exe I include with the application?
JamesNK
 
Posts: 26
Joined: May 21st, 2012, 12:28 am

Re: CommonAppDataFolder and UAC

Postby JamesNK » June 14th, 2012, 5:25 pm

I have updated to the latest wyUpdate.exe and it works fine when copying files to the directory but I have installed AVG and it is flagging wyUpdate.exe as a virus:

http://i.imgur.com/AtXsO.png

The source of the error in AVG was its IDP component which detects viruses based on behavior.

I searched your forum and I found someone with a similar issue here - http://wyday.com/forum/viewtopic.php?f=1&t=969&p=3255&hilit=virus#p3255
JamesNK
 
Posts: 26
Joined: May 21st, 2012, 12:28 am

Re: CommonAppDataFolder and UAC

Postby Wyatt » June 14th, 2012, 5:30 pm

Boy do I hate poorly designed virus scanners. I'll call up these morons and see what they can do about it.

In the meantime, it should go without saying that wyUpdate is not a virus. But if you don't believe me you can checkout the source code and build it yourself:

Code: Select all
svn checkout http://wyupdate.googlecode.com/svn/trunk/ wyupdate




Just click the "allow it" button on the "threat" prompt.
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: CommonAppDataFolder and UAC

Postby JamesNK » June 14th, 2012, 10:33 pm

Can you please keep me updated with what AVG says. Allowing is not a problem for me but it won't work with thousands of end users using the application.
JamesNK
 
Posts: 26
Joined: May 21st, 2012, 12:28 am

Re: CommonAppDataFolder and UAC

Postby Wyatt » June 14th, 2012, 11:08 pm

wyupdate doesn't give this error when you run it in C:\Program Files\YourApp, correct? It just gives it when you're running in the common appdata folder?

My guess (having not yet called AVG) is that they're using sloppy heuristics that say any *.exe running in AppData or CommonAppData is a "threat".

Try running in C:\Program Files\YourApp. Do you get the same error?
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: CommonAppDataFolder and UAC

Postby JamesNK » June 19th, 2012, 8:40 pm

Yes I also get the warning when installing to C:\Program Files
JamesNK
 
Posts: 26
Joined: May 21st, 2012, 12:28 am

Re: CommonAppDataFolder and UAC

Postby Wyatt » June 19th, 2012, 8:50 pm

Is this happening when wyUpdate is self-updating?
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: CommonAppDataFolder and UAC

Postby JamesNK » June 19th, 2012, 10:50 pm

Yes
JamesNK
 
Posts: 26
Joined: May 21st, 2012, 12:28 am

Re: CommonAppDataFolder and UAC

Postby Wyatt » June 20th, 2012, 10:54 am

Sorry, I should've made myself more clear-- is this only happening with self-updates. That is, when wyUpdate is not self-updating is this happening?

Also, what AVG product are you using? Is it the free anti-virus product?
User avatar
Wyatt
Site Admin
 
Posts: 2558
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: CommonAppDataFolder and UAC

Postby JamesNK » June 20th, 2012, 4:11 pm

Yes the free virus scanner version of AVG.

I'm not sure whether wyUpdate is updating itself. Would it update itself when you haven't released a new version in the last couple of weeks? I do know that when testing I've deployed some updates for my application to the server for wyUpdate to download.
JamesNK
 
Posts: 26
Joined: May 21st, 2012, 12:28 am

PreviousNext

Return to wyBuild, wyUpdate, & AutomaticUpdater Support