Please Notice: For fastest support from PowerArchiver team, contact us via our Support page

Run .REG file when xtracting SFX archive



  • is there a specific command line to input @ “Run command line after extracting” under “SFX Options” that will automatically import a *.reg file when the SFX is extracted.
    if we just put the *.reg file name in the “Run command line after extracting”, we get the error prompts;
    This file does not have a program associated for performing this action. Create an association in the Folder Options control panel
    &
    No application is associated with the specified file for this operation.

    Our Windows XP system certainly knows how to handle .REG files. SFX archives created with WinRAR handle .REG files with no issue.

    Any ideas?

    Thanks


  • conexware

    You need to call regedit.exe /? and see what exactly you have to call to run that .reg with options needed. It is regedit that runs the show.

    thanks.


  • conexware

    basically, it is regedit /s file.reg… and it will silently run that reg file and merge it with registry.



  • it doesn’t need to be silent…

    the reg.reg file is extracted to the DIR with the rest of the files
    and
    regedit reg.reg was entered in the “Run command line after extracting” box when creating the archive
    but
    then we get;
    Windows cannot find ‘regedit reg.reg’. Make sure you typed the name correctly and then try again. To search for a file, click the Start button, and then click Search.
    &
    The system cannot find the file specified.

    have tried, in the “Run command line after extracting” box:
    regedit.exe reg.reg
    "C:\Windows\regedit.exe" reg.reg
    "C:\Windows\regedit.exe reg.reg"


  • conexware

    can you tell me what SFX are you using? zip, cab, 7z?

    thanks!



  • cab


  • conexware

    please try using our 7zip SFX. It has better compression and more advanced features. Let me know if that works better.

    thanks


Log in to reply
 

Looks like your connection to PowerArchiver Forums was lost, please wait while we try to reconnect.