Keyvan Nayyeri

God breathing through me

Change the Product Key in Visual Studio Installer

Following to Scott Guthrie's post with some answers to common questions about Visual Studio 2008, I just want to point out how to change the default product key in Visual Studio installer.

You know that by default, Visual Studio installer doesn't allow the change in the product key and you just can view it.

You can't change the product key

While you can upgrade your trial editions easily (as Scott has outlined), you may be interested to have a single installer with your product key to use everywhere when you want.  This may be helpful for those who weren't able to download the Visual Studio 2008 at first days and downloaded the 90 days trial edition.

Changing the product key in Visual Studio installer is very simple.  First you need to copy your installer files to your hard drive or any device that lets you apply changes because when you're working on these files from DVD drive or virtual drives, they don't let modifications by nature.

After doing this, go to Setup folder and open the setup.sdb file in a text editor like Notepad.  The text content has [Product Key] section where you can replace the previous product key with your own and save your changes.

Replace the Product Key

After this, if you run the setup, it uses your new product key for installation!

14 Comments

Alexis Seigneurin
Nov 29, 2007 8:35 AM
#
Thanks, that was very useful! In my case, I had the french CD of Visual Studio, but I wanted the english version. So I downloaded the english ISO from the MSDN and had to replace the CD key.

Chad Lee
Feb 12, 2008 9:33 AM
#

Is that a valid vs 2008 product key you are displaying to the world in that screenshot?

Just curious... :)


Keyvan Nayyeri
Feb 12, 2008 9:47 AM
#

@Chad:

If you think I'm fool to put it there then just go ahead and use it!


Ammar
Sep 19, 2008 7:35 AM
#

Thanks :)


Jack
Sep 26, 2008 10:39 PM
#

Thx so much


Zipher
Sep 30, 2008 5:09 PM
#

Any idea how to change the company name it registers to.. mine will only ever register to microsoft.. cant ever alter it.


Harsha
Nov 20, 2008 2:30 AM
#

Hello, Thanks for the info. Can't we change the Product key in Registry itself. and then register with microsoft...

Please let me know.

Regards

Harsha


vern
Mar 09, 2009 6:06 AM
#

the set up program copies that file from the dvd to the hard drive at the beginning of the set up process

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft .NET Framework 3.5\setup.sdb

you can just change the cd key during setup after the file is placed on the hard drive


Ryan
Jul 28, 2009 1:31 PM
#

This is really helpful! I was trying to activate on Windows 7 but didn't know how to. Thanks a lot!


Nash
Oct 01, 2009 1:07 PM
#
Thanks. this saved me some good amount of time!

steve
Nov 11, 2009 8:08 PM
#
thank you man you rnt fool stupid ppl out there always noworries

carl
Nov 15, 2009 6:41 AM
#
i guess i have to reformat my laptop. currently im experiencing problems with my VS2008 because i forgot to upgrade it from the start. now i cant upgrade it because it keeps on poppoing an error. thank you.

Anil
Jan 06, 2010 1:34 AM
#
How to deactivate installed visual studio 2008 , though its fulll version after ceratin usage time I have to get msg License expired....

Anybody knows any solutions....

banderas
Feb 09, 2010 6:44 AM
#
Thanks. It's very useful!

Leave a Comment





Ads Powered by Lake Quincy Media Network