wixwindows-installercustom-actionprogram-files

Custom Action modify files in Program Files folder


I want to create Custom Action that modify some files in Program Files folder

But when I run I got the error that the access is denied and the installer rolls back

running as Administrator also couldn't help.

is there anyway to solve this ?


Solution

  • As @George Stocker comment, I'm putting my comment as an answer

    For ones who's looking for the answer,

    just put Impersonate="no" to the action :)