sanjeev18 Posted January 7, 2011 Posted January 7, 2011 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 thatHKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"Finisher",,"%11%\Finisher.exe"and when i see the registry editor it shows me this
Guest Posted January 8, 2011 Posted January 8, 2011 (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 January 8, 2011 by 5eraph
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now