Shortcut / Permissions

Good Morning,

I was wondering if you could suggest a solution to the following problem. My update includes a shortcut which is placed on the user's desktop. I have a customer who has locked down (removed permissions) for users to change anything on the user's desktop (to stop shortcuts being added / removed). This is causing a problem with the wyBuild update where the update actually succeeds (and does NOT roll back) and everything is installed properly however I guess because the shortcut could not be recreated the update tries to run again every time it is triggered on application start. The only way to solve it is to run it under elevated privileges but that is very time consuming and defeats the purpose of the automatic update.

Is there any way to avoid this? Why does this happen if the shortcut already exists on the desktop? Is is recreated every time an update runs?

Thanks,

Mike

Hey Mike,

Instead of putting desktop icons on the "Common Desktop" put them on the "Current user's Desktop".

Also, if the end-user, or the admins for the end-user, screw around with the permissions with the "Current user's Desktop" such that they prevent normal behavior (that is, the current user being able to control the content on the desktop) wyUpdate won't be able to detect it. It will just plow ahead.

Also, you can change how shortcuts are installed in the properties of the wyBuild project (File -> Properties -> General). See "Only add shortcuts if one or more shortcuts previously existed".