Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I create a password-protected self-extracting archive using WinRAR. When I open the archive the executable asks me for a password. How can I change "Enter password for the encrypted file." to a custom prompt?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I don't think it is possible: most parts of the SFX archives can be customized, but for this part there is simply no command or interface available to change it. You can use the -p switch when calling the executable for suppressing the dialog (e.g. compressed_file.exe -pmypass), but that would defeat the purpose of the password protection.

If you do want password protection, you would I guess need some kind of installer creation software. With e.g. the Nullsoft Scriptable Install System you can configure it similarly to an SFX archive, plus it allows for custom user prompts with which you can mimic the password protection.

share|improve this answer
    
I would like to change the self-extracting executable created by WinRAR. –  Norbert Willhelm Oct 20 '11 at 17:04
    
@NorbertWillhelm: I know, but again, as far as I know I don't think it is possible. If suppressing the password isn't an option, then I see no other option next to looking into different solutions. –  jro Oct 21 '11 at 6:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.