Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Launch non-elevated

  1. #11

    Default Re: Launch non-elevated

    Hi Friedrich,

    > Yes ;-) And it even works on Win95 <g> (I just tested it).

    Excellent

    Best regards,

    --
    Arnór Baldvinsson - Icetips Alta LLC
    Port Angeles, Washington
    www.icetips.com - www.buildautomator.com - www.altawebworks.com

    Icetips product subscriptions at http://www.icetips.com/subscribe.php

  2. #12

    Default Re: Launch non-elevated

    >
    > Yes ;-) And it even works on Win95 <g> (I just tested it).
    >

    BTW, SetupBuilder 7.1 Build 2860 (February 02, 2010) incorporated the
    following change:

    ----------------------------------------------------------------------------

    CHANGE : Installer: The "Run elevated from non-elevated SetupBuilder
    application" option in "Run Program..." is only executed on
    Vista or better.

    ----------------------------------------------------------------------------

    So my statement above is only valid for SB 7.1 #2860 and better.

    Friedrich

  3. #13

    Default Re: Launch non-elevated

    Hi Friedrich,

    > Question is if this option is safe to run my program at the end of the web
    > update?

    I have been testing installs all night on Windows 7 Ultimate with all the
    latest updates. What I have found is that if I use this in a web update I
    get an error after the program runs about "Explorer.exe" has stopped
    working. As far as I can tell it ONLY happens when the program is executed
    at the end of the web update. When I closed the program down after it was
    run from the webupdate I would also get a window telling me that the program
    did not run properly or something to that effect (sorry, didn't grab a
    screenshot). That also happened _only_ when the program was run from the
    web update, i.e. it never happens when I run the program from a shortcut on
    the desktop or the start menu. Everything is code signed and all my
    dll's/exe's are manifested asInvoker with Vista and Windows 7 compatibility.

    Best regards,

    --
    Arnór Baldvinsson - Icetips Alta LLC
    Port Angeles, Washington
    www.icetips.com - www.buildautomator.com - www.altawebworks.com

    Icetips product subscriptions at http://www.icetips.com/subscribe.php

  4. #14

    Default Re: Launch non-elevated

    Hi Arnór,

    I don't think this is caused by the "Launch non-elevated under UAC" option
    (but of course, I can be wrong).

    It seems to me that the webupdate self-removal process causes this in your
    "Explorer.exe". Perhaps on of your protection software products "blocks"
    it? I don't know.

    What happens if you disable this "Launch non-elevated under UAC" option and
    start it elevated from web update?

    Because this option worked fine on (at least) 22 million installations on
    UAC-aware systems during the last 15 months, I'll not open a ticket here.
    It would be too dangerous to play with the code.

    Friedrich

  5. #15

    Default Re: Launch non-elevated

    Hi Friedrich,

    > It seems to me that the webupdate self-removal process causes this in your
    > "Explorer.exe". Perhaps on of your protection software products "blocks"
    > it? I don't know.
    >
    > What happens if you disable this "Launch non-elevated under UAC" option and
    > start it elevated from web update?

    If I get a chance this weekend I'll run some tests on this and will report
    the results. There is no software protection on this system, it's just
    plain vanilla Clarion 6.3 app, manifested for win7/vista compat. and code
    signed. This is on a plain, default all the way, install of Windows 7
    Ultimate, no bells or whistles that I'm aware of<g>

    Best regards,

    --
    Arnór Baldvinsson - Icetips Alta LLC
    Port Angeles, Washington
    www.icetips.com - www.buildautomator.com - www.altawebworks.com

    Icetips product subscriptions at http://www.icetips.com/subscribe.php

  6. #16

    Default Re: Launch non-elevated

    Hi Arnór,

    >> It seems to me that the webupdate self-removal process causes this in
    >> your "Explorer.exe". Perhaps on of your protection software products
    >> "blocks" it? I don't know.
    >>
    >> What happens if you disable this "Launch non-elevated under UAC" option
    >> and start it elevated from web update?
    >
    > If I get a chance this weekend I'll run some tests on this and will report
    > the results. There is no software protection on this system, it's just
    > plain vanilla Clarion 6.3 app, manifested for win7/vista compat. and code
    > signed. This is on a plain, default all the way, install of Windows 7
    > Ultimate, no bells or whistles that I'm aware of<g>

    <G>

    Please try the following three things:

    1. Disable the "Launch non-elevated under UAC" option and let Run Program
    restart the program elevated.

    If this still causes a Explorer.exe error:

    2. Add a Sleep(5) to the end of your script (after the line that restarts
    the application)

    If this still causes a Explorer.exe error:

    3. Disable the self-removal in your web update.

    Thanks,
    Friedrich

  7. #17

    Default Re: Launch non-elevated

    Hi Friedrich,

    > 3. Disable the self-removal in your web update.

    Thanks for the pointers How do I disable the self-removal?

    Best regards,

    --
    Arnór Baldvinsson - Icetips Alta LLC
    Port Angeles, Washington
    www.icetips.com - www.buildautomator.com - www.altawebworks.com

    Icetips product subscriptions at http://www.icetips.com/subscribe.php

  8. #18

    Default Re: Launch non-elevated

    Hi Arnór,

    >> 3. Disable the self-removal in your web update.
    >
    > Thanks for the pointers How do I disable the self-removal?

    I think you have the following in your script:

    ! Always remove installer
    Set Installer Flag $SB_ALWAYSREMOVEINSTALLER$ to "1"

    -OR-

    General Information Visualizer -> Advanced Settings -> "Remove Installer
    after Successfull Installation".

    Friedrich

Thread Information

Users Browsing this Thread

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

Posting Permissions

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