|
There is a built in encryption mechanism that allows you to store security information for a given user. That is, that user can, without a password, decrypt the information based on their user token. Using this, you can setup a user account that has no other permissions and using that user account store information for that user which includes the username/password required for the setup program. You MSBuild task, which must be run as this user (using the RunAs command), will allow you to run the script, and supply the username/password for the user you created (as required by RunAs), and then decrypt the username/password of the installer.
|