My question is as you can see on the picture I want to set a password to msi.. How can I set in dialogue box if I give the correct password the next button has to enable. I hope the question is clear. Thanks in advance!!!
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
titusr
10 years ago
The short answer to this is you can't, msi is open and insecure. The long answer is to create a property in the msi like VALIDATION_CHECK then create a custom action that makes sure the value is correct then add a dialogue allowing the user to input the password when it runs. The problem with this is anyone with an msi editor can remove the custom action. As I said msi is open and insecure. A more secure way would be using something like installsheild to create a password protected exe installer with the msi wrapped. A simpler method, depending on what you are trying to do is zip the msi in a password protected archive.