SillyPutty1000
Posts: 18
Joined: Tue Jul 07, 2009 8:45 am

Compressing Encrypted Files

There is no other installer that has this feature.

Currently there is no way to compress encrypted files, no installer or ultility can do this.
The ONLY option is to compress before-hand and then encrypt.

Thats fine for people who dont need the end-user files encrypted.

so here is an idea...

Have an option in your installer to compress encrypted files AES-128 as the simplest encryption implementation( you can add the additional and stronger ones later.)

The way to do this is:

At Build Time
1. In the Compression Tab, when user selects LZMA, provide an option for users that says "Compress Encrypted Files"
2. When user checks this option, you provide a textbox for user to enter the passphrase; The user enters the passphrase they used to encrypt the files.
3. During build....the logic comes to the file that is encrypted and decrypts it using passphrase.....then it compresses it using LZMA and then Re-encrypts it using the same Passphrase.
4. The logic then Encrypts the Passphrase and stores it in the Setup.exe or MSI as an encrypted string using Caphyons own Passphrase (which is completely unknown to the world) (only your Runtime engine code can decrypt it, because you'll need it at Installation Time.
--------------
At End-User Installation Run Time
5. When user executes the Installation, the logic De-Crypts the file(s) and then uncompresses it.....and then Re-Encrypts it again then continues with the install and installs the files.

I know it may sound like a while to do all this, but its the only way to Compress Encrypted files during installation and, you r installer would be the only one that would have this.
I know you like to find the Exclusive features that make your installer standout...this could be one of them.
I have a few thousand files that are currently encrypted and will need to stay encrypted at runtime of my software. This could save me 400 MB per setup.



thanks
SP
Last edited by SillyPutty1000 on Sun Jan 17, 2010 4:21 am, edited 1 time in total.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Compressing Encrypted Files

Hi,

I added this improvement on our TODO list and it will be available in a future version. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”