New Release Question

Hi,

Just picked up the new release thanks but have a question about one of the new items

* wyUpdate will now detect if it has permission to install to "basedirectory-only" type updates

I think this is something that would really help me if its what I think it is, could you please explain what this is and how it works, specifically "basedirectory-only"

Thanks

Hey Steve,

This is a good question. We should've written sometting a bit easier to understand. What this change means is that if the only folder you're targeting (in wyBuild) is the "Your program's folder" then wyUpdate will dynamically check if the user has permission to update that folder.

Let's say you have a limited user and you want them to be able to update a folder on, say, "C:\YourApp". Prior to wyUpdate 2.6.18, it would just say "You're a limited user, this folder is outside Desktop/AppData/etc, thus elevation to an admin is needed.".

Now, with wyUpdate 2.6.18, wyUpdate sees if you modified the ACLs of the folder to allow the limited user Read/Write/Delete/etc. access to the folder. And if you have, then the limited user can update without requiring elevation.

Does that make sense?

Thanks Wyatt,

Yep that sounds just what I need. So my app is installed in program files, from what you are saying as long as the local user has permissions to that folder (the app folder that is inside program files) then wyupdate will update without any popups requesting the admin password

Steve

That's correct.

"...if the only folder you're targeting (in wyBuild) is the "Your program's folder"..."

Does this mean if your're using "Common Desktop" or "Current User's Desktop" to place shortcuts for your application as well as "Your Program's Folder" for patches, that wyUPdate will then NOT dynamically check for user permissions on the installation folder?

Current user's desktop/startmenu/etc. is writeable by the current user by design. so there's no need for a dynamic check there. Things like Common appdata/startmenu/etc. require admin elevation by design.

So, if your update requires updating to admin folders (System32, Common X, etc.) or admin registry (HKLM, etc.) then wyUpdate won't bother dynamically checking the "Your program's folder" because you'll need to elevate anyway.

Does that make sense?

Yes, perfect sense. Thank you.