Jump to content

Recommended Posts

Posted (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 quotes

I 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 by Yzöwl
Posts merged as appended <edit>

Posted

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.

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...