3
votes

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 ?

1
Is your custom action deferred? Can you share the code you use to schedule the custom action? - Yan Sklyarenko
Yes it is, luckily I found that I have to put Impersonate="no" to the action :) my problem is solved ! - Quizer
You Should post that as an answer. - George Stocker

1 Answers

3
votes

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 :)