DJ_Shay Posted July 23, 2008 Share Posted July 23, 2008 (edited) Hi,I install my applications using the RunOnecEx method and in the end of the file (when all the apps are installed) I have some tweaks (some are reg tweaks and others are simple Del/Move/Copy commands) and for some reason they don't work.I know that the script is fine, because if I run it myself (Double click on the .cmd file) it works perfectly.How do I fix it?Edit:It just now came to me, I think that the following will work:1. Move all my tweaks to a separate file (lets call it x.cmd).2. Add x.cmd to the start up3. In the end of x.cmd I add a command that will delete it.so... any suggestions/opinions?In the command reg Add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Run" /v command_0 /d "Sturtup.cmd" /f what is the marked part? what does it means?How should the counter command (reg Delete) look like?Thanks in advance.2nd Edit:I was right, it worked. Edited July 24, 2008 by DJ_Shay Link to comment Share on other sites More sharing options...
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