简体   繁体   中英

Create VB.NET password protected installer

I'm trying to create an installer for my VB.NET project in VS 2010. However, I want to make the installer require a password or key to install the project. I haven't been able to find anywhere this is possible. Any ideas?

I go to File > Add Project to do it usually, but the issue is I want to create some sort of license key for users to install. It doesn't have to randomize, it can even be a password. I'm going to be the one installing this.

If you just want to have a password protection for your own installer add a form like this:

Visual Basic .NET Tutorial 12 -How to create Password Protection using Textbox in VB.Net

Something like...

 If textbox.Text = "password" Then MsgBox("True!") frmTwo.Show() Else MsgBox("False!") End If 

Define a password char like * in your text field's properties!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM