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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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