Entries under RunOnce key are executed and cleared after a device hasbeen installed?

Discussion in 'Windows Vista Drivers' started by leafbanana, Jul 31, 2008.

  1. leafbanana

    leafbanana Guest

    This action is specified in DDK and WDK, and I have verified in WinXP.
    But I found that Vista seems do not do this. I installed a device but
    enties under RunOnce are still there and no one is executed.
    The problem is I can't find any document that confirms on this.
    Anybody knows about it? Thanks for all reply!
     
    leafbanana, Jul 31, 2008
    #1
    1. Advertisements

  2. leafbanana

    Ray Trent Guest

    I have the opposite problem. We have some customers that are doing
    multiple installations, and our driver installation is prematurely (and
    unnecessarily) triggering the RunOnce of another application, causing it
    problems.

    Is there a programmatic, INF, or registry-based mechanism to prevent XP
    (and/or Vista) from executing RunOnce keys during a particular device
    install (other than the brute force approach of deleting the keys and
    restoring them after install, I guess... ugh).
     
    Ray Trent, Aug 6, 2008
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.