You can apply your product key programmatically as part of a script that is used to automate the deployment of Visual Studio. You can set a product key on a device programmatically either during an installation of Visual Studio or after an installation completes.
Mar 20, 2017 VS2013 x86 Native Tools Command Prompt: 64 BIT Compiler that generates 64 BIT code; Accessing the Preceding Visual Studio Tools. Follow these steps to gain access to the Visual Studio tools: From the Start screen, enter Visual Studio Tools, and press Enter. In File Explorer, open the shortcut menu for the item that you want. Choose Pin to Start. AutoMacro is an add-in for VBA that installs directly into the Visual Basic Editor. It comes loaded with code generators, an extensive code library, the ability to create your own code library, and many other helpful time-saving tools and utilities. AutoMacro does not need to be installed on a computer for the generated code to run.
You can activate an installed version of Visual Studio with a product key by using the StorePID.exe utility on the target machines, in silent mode. StorePID.exe is a utility program that installs with Visual Studio 2017 at the following default location:
C:Program Files (x86)Microsoft Visual Studio2017EnterpriseCommon7IDE
You can activate an installed version of Visual Studio with a product key by using the StorePID.exe utility on the target machines, in silent mode. StorePID.exe is a utility program that installs with Visual Studio 2019 at the following default location:
C:Program Files (x86)Microsoft Visual Studio2019EnterpriseCommon7IDE
Run StorePID.exe with elevated privileges, either by using a System Center agent or an elevated command prompt. Follow it with the product key and the Microsoft Product Code (MPC).
Important
Make sure to include the dashes in the product key.
The following example shows a command line for applying the license for Visual Studio 2017 Enterprise, which has an MPC of 08860, a product key of AAAAA-BBBBB-CCCCC-DDDDDD-EEEEEE, and assumes a default installation location:
The following example shows a command line for applying the license for Visual Studio 2019 Enterprise, which has an MPC of 09260, a product key of AAAAA-BBBBB-CCCCC-DDDDDD-EEEEEE, and assumes a default installation location:
The following table lists the MPC codes for each edition of Visual Studio:
Visual Studio Edition | MPC |
---|---|
Visual Studio Enterprise 2017 | 08860 |
Visual Studio Professional 2017 | 08862 |
Visual Studio Test Professional 2017 | 08866 |
Visual Studio Edition | MPC |
---|---|
Visual Studio Enterprise 2019 | 09260 |
Visual Studio Professional 2019 | 09262 |
If StorePID.exe successfully applies the product key, it returns an %ERRORLEVEL% Winning eleven 8 pc completo. of 0. If it encounters errors, it returns one of the following codes, depending on the error condition:
Error | Code |
---|---|
PID_ACTION_SUCCESS | 0 |
PID_ACTION_NOTINSTALLED | 1 |
PID_ACTION_INVALID | 2 |
PID_ACTION_EXPIRED | 3 |
PID_ACTION_INUSE | 4 |
PID_ACTION_FAILURE | 5 |
PID_ACTION_NOUPGRADE | 6 |
Note
When you run a virtual instance of Visual Studio, make sure that you also virtualize the local AppData folder and the registry. To troubleshoot virtual instances, run C:Program Files (x86)Microsoft Visual Studio<version>Common7IDEDDConfigCA.exe.
Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance.
We also offer an installation chat (English only) support option for installation-related issues.
Here are a few more support options:
FMS President Luke Chung was a presenter at the Microsoft Access DevCon 2017 in Vienna, Austria in early April.
Before giving two conference presentations, he was sat down and spoke with Philipp Stiefel of codekabinett.com of Germany. Philipp is creating a series of videos discussing VBA development.
Luke shares the history of how FMS Inc. began working with MS Access and how we now offer 12 products for the Access community, including Total Access Analyzer, Total Access Emailer, Total Visual CodeTools, and Total Visual SourceBook.
They talked about: Scanahand.
FMS Inc. is proud of the quality of products we have produced for the past 30 years. We are honored to continuously be regarded as a leading expert in the Access community. Thank you for supporting us and we hope you enjoy the 20 minute interview!