Click here to Skip to main content
12,505,592 members (54,327 online)
Click here to Skip to main content
Add your own
alternative version

Stats

6K views
245 downloads
3 bookmarked
Posted

Password Dialog for Visual Studio Deployment Projects

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

Introduction

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. :)

License

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

Share

About the Author

meraydin
Turkey Turkey
No Biography provided

You may also be interested in...

Pro
Pro

Comments and Discussions

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