locked
Indirect installation can't update system32 files RRS feed

  • Question

  • We're setting up an automated test environment for a Vista-based VB6 application.  When we sign onto a test machine as a Vista Admin user we can manually run the install for the application we want to test.  However, the install needs to be automated.  When we run the install using play-back from our test application (QA Wizard) the install can't update files in the system32 director due to permissions.

     

    We've read all kinds of information about the Trusted Installer SERVICE, UAC (enabled and disabled), putting the user into all sorts of groups, and running applications using elevated rights.  We haven't found the right combination that allows this third-party application to execute the install.

     

    What is the special sauce to allow this to occur?  Security is working so well I can't run our testplans.

    Wednesday, October 10, 2007 5:06 PM

All replies

  • Does your install builder have an option to include a manifest resource to require admin rights?  If it predates Vista it probably doesn't, but a newer version might.

     

    See "6. Create and Embed an Application Manifest with Your Application" in "Windows Vista Application Development Requirements for User Account Control Compatibility", or search MSDN with something like:

    vista manifest resource admin rights

    Sunday, October 14, 2007 9:56 PM