User without admin privilege getting error with wybuild

Hi Sam,

When i try to get the updates with a non-admin user i am getting the following error. "bad read of entry 0 from compressed archive."

If i run with admin user account then the updates are working fine. I am using the below code to get updates. auVP.ForceCheckForUpdate(true); Our project folder is located in C:\projectName\subfolder\bin folder. The updates never update any other folders except the above one. Do the user requires admin privilege to get run the update exe? My users dont have admin access and can not change the project folder location.

Please help me in this.

Regards,Banu

Hey Banu,

This sounds like the server file (*.wys file) is corrupt. Either the download didn't download successfully or that the file is corrupt on your servers.

Try double click wyUpdate.exe -- do you get the same error?

Thanks for your reply sam,

When I run the .exe directly the wybuild is showing that "latest version available" when i click "Update" button it asks for confirmation popup, say "yes" after that wybuild crashes. This all happens with non-admin user only, if i login as admin then the updates are working fine.

Pleaes correct me if i am wrong, if the server file corrupted then it should not work in both the cases.

Regards,Banu

When I run the .exe directly the wybuild is showing that "latest version available" when i click "Update" button it asks for confirmation popup, say "yes" after that wybuild crashes.

You mean wyUpdate crashes, right? What error do you see?

This all happens with non-admin user only, if i login as admin then the updates are working fine.

What version of wyupdate are you using?

Yes it is Wybuild. It shows "Wybuild stopped working.." Version is 2.6.14

Yes it is Wybuild. It shows "Wybuild stopped working.."

wyBuild: the program with the purple icon that you use to manage and build your update.wyUpdate: the updater program with the silver icon that installs the updates.

I'll assume you're getting these errors with wyUpdate (because that's what fits better with what you've written so far).

  1. Have you modified the wyUpdate source code in any way?
  2. Have you mofided the limited user's permissions in any way (using the Group Policy Editor, or any other program)?
  3. What version of Windows are you using?
  4. At what stage in the update process are these error occurring?

It is wyUpdate (silver color icon) exe causing the problem.

Q 1.Have you modified the wyUpdate source code in any way?- I have modified the source code of wyUpdate.exe and changed the client file name according to our application. I changed the client file name to VP-ForceClient.wyc. Thats all no other changes.

Q2. 2.Have you mofided the limited user's permissions in any way (using the Group Policy Editor, or any other program)?- No. unitll now we are running with admin privilege users. Now non admin users getting problem.

Q 3.What version of Windows are you using?- Windows XP and Windows 7. It is not working in either .

Q 4.At what stage in the update process are these error occurring?- If i run my application .exe which contains " auVP.ForceCheckForUpdate(true); " on the main form load, i am getting "bad read of entry 0 from compressed archive."

- When i run wyUpdate.exe manually then it is stopped working.

thanks,Banu

Q 1.Have you modified the wyUpdate source code in any way?- I have modified the source code of wyUpdate.exe [...]

This is probably the problem. Try running our unmodified version of wyUpdate.exe. Tell me if you get the same error.

Still getting the same error. wyUpdate.exe and client.wyc. I run it manullay means i double click the wyupdate.exe it is same as i explained before..

Send me your client.wyc file. Send it to support@wyday.com

Hi sam, Did you get a chance to look into the client.wyc file sent by me yesterday. Is there anything wrong with the file. Pelase let me know.

Thanks,Banu

Hi Sam,

Waiting for your reply. Please help me in resolving the issue.

Thanks,Banu

Hey Banu,

I haven't been able to reproduce the crash yet. I suspect it's related to you using a custom version of wyUpdate.

Try using our version of wyUpdate and remove your custom wyUpdate download site from File -> Properties -> wyUpdate. Then click "Build wyUpdate" in your project and include the client.wyc along with our version of wyUpdate.exe.