I have compressed my application exe file into a password protected .zip archive. Now I want to run the application from another application.
How can I let the other application run the compressed and file?
I have compressed my application exe file into a password protected .zip archive. Now I want to run the application from another application.
How can I let the other application run the compressed and file?
This seem like an X Y problem. Using a password protected file for copy protection is possible, but not the best way to do it:
To me this seem kind of complicated compared to the regular method of copy protection. i.e. Use asymmetric encryption to encode some data. Load this data on application startup and verify that it is correct. This way the user have no way of discovering the encryption key. He may still edit the program to remove the checks, but this is not possible to prevent.
You may include a machine specific id in the data to lock the license to the machine. You may also use some kind of online-activation to verify the correctness of the key. You can also use various obfucation products to make your code harder to reverse engineer.
Keep in mind that absolute protection is not possible. It is all an effort of making circumventing the copy protection more expensive than buying it. And I would say that for most products, preventing casual copying would be sufficient.