Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 3

Custom Actions with admin rights

I am creating a MSI project with Installshield 2010. I want to XCopyFiles some files in system32 folder in 64bit machines.

So I created a custom action which first disables file system redirection and then tries to copy files in system32 folder.

This works fine when I run setup.exe with admin rights (right click and run as Administrator) but when I simply double click setup.exe it fails with the permission related message.

Please advise on how I can launch custom actions with admin rights even when I double click setup.exe.

Thanks in advance

Labels (1)
0 Kudos
(1) Reply
Level 6

In the Release you can set the Require Administrative Privilage to "Yes". So while installation it will be elevated.
0 Kudos