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.
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.
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
regedit reg.reg was entered in the “Run command line after extracting” box when creating the archive
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:
can you tell me what SFX are you using? zip, cab, 7z?
please try using our 7zip SFX. It has better compression and more advanced features. Let me know if that works better.