mox Posted April 24, 2005 Share Posted April 24, 2005 I know how to run a program after extraction, but is there a way I can add a .reg file to the registry using winrars sfx withouth having to make a cmd file that does it for me? Link to comment Share on other sites More sharing options...
totoymola Posted April 25, 2005 Share Posted April 25, 2005 Hi. I'm not really sure about your question. Do you want to run a program (or an installer) after the extraction of the sfx then run a regfile to register the app? In that case, there is no solution other than using a batch file. That is a known limitation of WinRAR and other sfx makers. They can only execute one action after the extraction.This is what you have to do:1. Copy the installer and the regfile in the same directory.2. Create a batch script that has this code. You can call it whatever you want, and of may edit the code to satisfy your needs.start /w yourprogram.exeregedit /s yourregfile.reg3. Create an sfx that triggers the batch script.That's the only solution for that. Link to comment Share on other sites More sharing options...
mox Posted April 25, 2005 Author Share Posted April 25, 2005 >>In that case, there is no solution other than using a batch filethat was exactly my question, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now