samsilburt Posted May 4, 2008 Posted May 4, 2008 (edited) (Warning: newb questions) Hi. I'm trying to do a very simple task of extracting files from a SFX file and then adding registry keys all silent and switchless. The program is Process Explorer by the way. First I tried extracting the files and then executing the reg file contained wihtin the archive. However, i can't seem to get this working without the message box popping up asking whether i want to add registry keys. The registry keys themselves contain the right instructions, i've tested it personally.Next i tried executing a .cmd file within the archive after extraction. This file contains the instructions:"regedit.exe /s Process Explorer.reg" without quotesI have absolutely NO experience creating batch files/cmd files, so any sort of assistance is greatly appreciated. Thanks!-Sam.PS: if someone has an alternate approach to achieve the same task, i am all ears.<Edit>problem fixed, i forgot the "@echo off" line</Edit> Edited May 4, 2008 by Yzöwl Posts merged as appended <edit>
Arie Posted May 4, 2008 Posted May 4, 2008 No need for a batch script. You can simply have your SFX archive unpack and let the SFX archive add the registry keys. Download any pre-build SFX archive from the forum and you're bound to find the right command for it in there.
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