Jump to content

Recommended Posts

Posted

hey guys i have some problems i want to run file in RunOnce in registry to do that i had added registry in addreg section but when i want to check it and install it from doing right click and install it runs my file.... i dont want that i want to run it when my windows log on ... when i make a key in registry it works fine.... but from inf it doesn,t work...

here is my word to make that

HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"Finisher",,"%11%\Finisher.exe"

and when i see the registry editor it shows me this

post-306494-0-26560100-1294386249_thumb.


Posted (edited)

Aside from the extra space in the executable path, it looks acceptable. We need to see the whole INF to investigate further.

Quotes around the "Software\...\RunOnce" key shouldn't make a difference in most cases, but are necessary in other cases. It wouldn't hurt to add them here. The same goes for defining the data type, 0x00000000. The fully qualified line should look like this:

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","Finisher",0x00000000,"%11%\Finisher.exe"

Edited by 5eraph

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...