Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > serial Number template
 

serial Number template

How can I add a serial number without using the serialnumber template... I don't like it because it's too weak... and anybody can crack it.... I cannot beleive that Microsoft can make a same joke.

how can I define that the serial number is single like: 1234AfDRs12?
is that possible??????????????????
OmarMallat  Monday, September 03, 2007 10:30 AM

The issue here is primarily not Windows Installer at all, it's that Visual Studio setups don't offer IDE support for a lot of its functionality. In this case Visual Studio doesn't let you run custom actions in the UI sequence to validate serial numbers, which is why there is this:

http://support.microsoft.com/kb/253683/en-us

The masked edit template is a sanity check that the keystrokes are of the correct type.

If you want extra features in your setups, Stefan maintains an excellent comparison of tools here:

http://installsite.org/pages/en/msi/authoring.htm

and all I can say is that you're supposed to choose the tool that fits your requirements, not choose a tool and then find out that it doesn't do what you want it to.

PhilWilson  Wednesday, September 05, 2007 12:02 AM

Hi,

I am in the same position as like of you. I too think the same, the template which they give is too weak, possibly any one can break it. Also if they enter zero values alone, it accept it as an valid key. Did you find any solution regarding this? Please guide me if you found any solution.

Thanks in advance

sarathy  Tuesday, September 04, 2007 9:00 AM
just waiting for any solution.. I can't believe that microsoft had created windows installer....
OmarMallat  Tuesday, September 04, 2007 9:08 AM

Any serial number validation in an msi setup can easily be removed by editing the msi file. For secureprotection you must validate the serial number in your application itself.

Stefan Krueger  Tuesday, September 04, 2007 10:38 AM

The issue here is primarily not Windows Installer at all, it's that Visual Studio setups don't offer IDE support for a lot of its functionality. In this case Visual Studio doesn't let you run custom actions in the UI sequence to validate serial numbers, which is why there is this:

http://support.microsoft.com/kb/253683/en-us

The masked edit template is a sanity check that the keystrokes are of the correct type.

If you want extra features in your setups, Stefan maintains an excellent comparison of tools here:

http://installsite.org/pages/en/msi/authoring.htm

and all I can say is that you're supposed to choose the tool that fits your requirements, not choose a tool and then find out that it doesn't do what you want it to.

PhilWilson  Wednesday, September 05, 2007 12:02 AM

so how can I change the serial number using the ocra software? I want to put a fix serial number that override the weak template...

Please... I finished my software and I must send the setup file to our client...

OmarMallat  Wednesday, September 05, 2007 7:04 AM

You can use google to search for other answers

Custom Search

More Threads

• SourcePath of files in setup project in Team Build
• how to create desktop shortcut automatically by setup project?
• How to include SQL Server Express with tables in the SetUp and Deployment Project?
• AppUpdater and Users without admin privleges...
• Custom Action properties not picked up from command line
• how to add the outlook express addin into the project file?
• Conditionally Installing Registry Keys
• VS Setup project with Windows Service
• Updater block error with "The client does not have sufficient access rights to the requested server object."
• How can modify the "path" variable during deployment using VS 2005 setup project