PowerArchiver Forums

PowerArchiver Forums (http://www.powerarchiver.com/forums/index.php)
-   Tech Support (http://www.powerarchiver.com/forums/forumdisplay.php?f=5)
-   -   run .REG file when xtracting SFX archive (http://www.powerarchiver.com/forums/showthread.php?t=5719)

visitor 01-25-2013 06:13 PM

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

spwolf 01-25-2013 07:32 PM

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.

spwolf 01-25-2013 07:35 PM

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

visitor 01-27-2013 05:18 PM

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"

spwolf 01-30-2013 06:10 AM

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

thanks!

visitor 01-31-2013 06:03 PM

cab

spwolf 01-31-2013 07:11 PM

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

thanks


All times are GMT -5. The time now is 10:27 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.