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.

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