Results 1 to 4 of 4

Thread: SetupBuilder questions

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: SetupBuilder questions

    Andrew,

    Quote Originally Posted by Andrew View Post
    1) When I update my app with web-deploy, it appears to set the install location back to the default, even if it was changed at initial install. How can I update to the folder where id my app installed
    You have to set the default installation folder (in your web update) to the installation location of your already installed program. See attached "code snipped" screenshot.

    Quote Originally Posted by Andrew View Post
    2) Is there a way to install my application(with setupBuilder) so it runs as an administrator.
    Well, you should not do this. Your application should request "asInvoker" privileges. Only system tools might need administrator execution level privileges. The correct way to handle this is to embed a manifest into your own .exe (this makes your application UAC- and Win7-aware). See "#embed UAC manifest..." compiler directive. If you set it to "requireAdministrator" then it will run elevated.

    Another option is to use the "Set App Compatibility Mode..." script function and set the Privilege Level for your .exe. But again, you should not do this (it's very very bad practice).

    Does this help?

    Friedrich
    Attached Images Attached Images  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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