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!

[advertisement] Axosoft OnTime 2008 is four developer tools in one: bug tracking, project wiki, feature management, and help desk. It manages your development process so developers can focus on coding. Installed or Hosted – Free Single-user license -- Free 30-day team trial.

7 Comments : 11.27.07

Feedbacks

 avatar
#1
Alexis Seigneurin
11.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.
 avatar
#2
Chad Lee
02.12.2008 @ 9:33 AM

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

Just curious... :)

admin avatar
#3
Keyvan Nayyeri
02.12.2008 @ 9:47 AM

@Chad:

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

 avatar
#4
Ammar
09.19.2008 @ 7:35 AM

Thanks :)

 avatar
#5
Jack
09.26.2008 @ 10:39 PM

Thx so much

 avatar
#6
Zipher
09.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.

 avatar
#7
Harsha
11.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

Leave a Comment