This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Storing a passord in a response file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 09, 2006
04:23 PM
How to mask password in response file
Hi ,
I am using a password control in a user defined dialog. I dont know how to mask this password in response file for silent install.
The documentation provides guidelines for password dialog not for password control.
did anybody try this before?
Thanks
Senthil
I am using a password control in a user defined dialog. I dont know how to mask this password in response file for silent install.
The documentation provides guidelines for password dialog not for password control.
did anybody try this before?
Thanks
Senthil
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 12, 2006
09:51 AM
Can you use the same code as in the Password dialog events?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2006
03:12 PM
Storing a password in a silent mode response file does not sound like a good idea. I may suggest displaying a message box when your installer runs with -options-record flag telling the user that they have to provide the password using a different method (but not a command line parameter, because that is not secure at all).
I may recommend storing a password in a different temporary file, which gets created before the install and removed right after the silent install. The response file would have a path to the temp file, and the silent event handler for the dialog would read from that file and use the password for the silent installation session. The temp file with the password must be unavailable for other users (file attribute 600 or even 400 on UNIX platforms) and must be deleted as soon as it becomes unnecessary.
Would that work?
Alex
I may recommend storing a password in a different temporary file, which gets created before the install and removed right after the silent install. The response file would have a path to the temp file, and the silent event handler for the dialog would read from that file and use the password for the silent installation session. The temp file with the password must be unavailable for other users (file attribute 600 or even 400 on UNIX platforms) and must be deleted as soon as it becomes unnecessary.
Would that work?
Alex
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 16, 2006
01:05 AM
Thanks Alex for your idea. If we i use a temp file, i am not sure how the will enter the password.
Basically I want the functionality silimar to Password dialog.
I have the dialog which has user name and password fields. After getting these values from user , i am logging into an external system for doing some task.
Every things is good during GUI installation. because i get the password by using PasswordControl.getText() method.
During silent install, i need to pass this password from resp file. But i can not hardcode Password in resp file. I can ask the user to encrypt the password using com.installshield.util.runtime.PasswordUtils and enter that in resp file.
But i dont know how to decode that password so as to pass to external system for authentication.
Senthil
I can not use password dialog because it wont allow me to move to next dialog unless the user enters the right password.
Basically I want the functionality silimar to Password dialog.
I have the dialog which has user name and password fields. After getting these values from user , i am logging into an external system for doing some task.
Every things is good during GUI installation. because i get the password by using PasswordControl.getText() method.
During silent install, i need to pass this password from resp file. But i can not hardcode Password in resp file. I can ask the user to encrypt the password using com.installshield.util.runtime.PasswordUtils and enter that in resp file.
But i dont know how to decode that password so as to pass to external system for authentication.
Senthil
I can not use password dialog because it wont allow me to move to next dialog unless the user enters the right password.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2006
10:45 AM
Hi - did you ever find a resolution to this? I'm facing the same issue now.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)