Results 1 to 2 of 2

Thread: Issue with Visual Studio 2008 Web Setup Project

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2008
    Posts
    2

    Issue with Visual Studio 2008 Web Setup Project

    Hi

    i have a web project in VS 2003, which has an installer class added. the web setup project has a custom action and the code in the installer class gets executed during install. if a domain admin is running the msi package then the code in the installer class gets executed under the idenity of domain admin. this is required because certain steps in the installer class require admin privs to be performed.
    i have since moved to VS 2008...and have one major issue. the code in the installer class now always gets executed under the windows idenity of “NT Authority\System”, and not domain admin, even though that's who i am logged in as.

    thanks in advance

    john

  2. #2

    Thread Starter
    New Member
    Join Date
    Aug 2008
    Posts
    2

    Re: Issue with Visual Studio 2008 Web Setup Project

    further info that I found is that code in an installer class runs under the logged in user for the following setup projects:

    VS 2003 Setup Project
    VS 2003 Web Setup Project
    VS 2008 Setup Project

    the only setup where it runs under NT Authority\System is VS 2008 Web Setup Project

    john

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width