Click here to Skip to main content
13,357,648 members (63,774 online)
Click here to Skip to main content
Add your own
alternative version


3 bookmarked
Posted 26 Sep 2013

Password Dialog for Visual Studio Deployment Projects

, 26 Sep 2013
Rate this:
Please Sign up or sign in to vote.
A custom dialog that has a password textbox for your VS2012 projects


If you've worked with Visual Studio Deployment projects, you know that it's not possible to have a password field in built-in dialogs. Although there are workarounds like editing the MSI file with ORCA or having a custom form displayed at the end of the installation, these methods require additional work.

After searching for a solution, I found Mr. Mohammed M. Malek's article. After following the instructions, I created the template file to be used for this purpose.

Using the Code

  1. Download the zip file and extract VsdUsernamePasswordDlg.wid file to a temporary location
  2. Close Visual Studio instances (if any)
  3. Copy the extracted file to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\Deployment\VsdDialogs\1033 folder

After completing the steps, create a Visual Studio setup project and try adding a dialog to it. You should see something like this:

Let's hope future Visual Studio versions won't need this tweak. :)


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Turkey Turkey
No Biography provided

You may also be interested in...


Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.180111.1 | Last Updated 26 Sep 2013
Article Copyright 2013 by meraydin
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid