I have an installer that needs to access the registry, copy and delete files using custom actions. In Windows XP, the installer works fine, but in Vista and 7, the installer detects an error because it cannot access the folder, but if I run the installer as an administrator, everything works.
So, I need the installer to be able to run the user action as an administrator, even if the MSI did not start this way (it requires the installer to be started by regular users). I tried using EXE at the beginning of my installation to modify the registry and let MSI work fine, but I don't think this is a very good solution.
PS. Bootstrapper is not an option due to client requirements: S All my user actions are delayed and issued: "no"
Any ideas? Thanks you
installer windows-installer wix custom-action
Jaime
source share