You need to ensure that you can add files to %programfiles%\app1 without receiving a prompt for elevated privileges