Self Repair - Doesn't work for Admins
I have a problem with self repair of a simple MSI, hopefully it's simple for someone to answer too. The MSI is just a test to prove the self repair function, hence the directory names.
The MSI delivers two files to [AppDataFolder]SelfRepair (C:\Documents and Settings\%username%\Application Data\SelfRepair) on installation. One of these files is a key path. I have an advertised shortcut on the desktop.
When I log on as a different user (non-admin) the self repair works, and the files are created in the non-admin's profile. However, when I log on as another Administrator, the self repair doesnt work. Event viewer shows that Windows Installer looks for the files in the original administrator's profile (ie the admin who installed the app) and sees that they are present so doesnt self repair.
Why am I seeing different behaviour for Admins and non-Admins?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.