PIDKEY not working in /qn or /qb modes - Advanced Installer Community
tcallahan
Posts: 5
Joined: Sat Aug 01, 2020 12:58 am

PIDKEY not working in /qn or /qb modes

We have an installer that uses a Serial Number server side validation process. During an interactive install, we can enter the Name, Organization, and Serial Number, and the install process works without any issues.

When doing a silent install, either with /qb or /qn, the PIDKEY is seen inside the installer, but no value for AI_SERVAL_MESSAGE is present, so the installation does not complete correctly.

The root issue seems to be that in any silent mode, either the Server Side Call to validate the serial doesn't happen, or the installer is not recording the result into AI_SERVAL_MESSAGE like it does with interactive installs.

Any ideas why this would be?
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: PIDKEY not working in /qn or /qb modes

Hello and welcome to our forums,

First of all, please accept my apologies for the delayed reply.
The root issue seems to be that in any silent mode, either the Server Side Call to validate the serial doesn't happen, or the installer is not recording the result into AI_SERVAL_MESSAGE like it does with interactive installs.
By default, the validation of the serial number will be executed twice: during the Wizard Dialogs Stage after the data is collected from the user and during the Install Execution Stage when the application is being installed.

With that being said, the serial number is also checked during a silent installation.

For more information about this, please have a look over our "How do I configure server-side serial number validation?" article.

I have done some tests in this regard and everything worked as expected on my end.

One thing I am thinking about is the format of your PIDKEY property. For instance, if the format looks like this:

Code: Select all

<###-###>
please make sure that when you pass the property in the command line, you also pass the "-" character, e.g.:

Code: Select all

msiexec /i <path_to_msi> /qn PIDKEY="123-456"
instead of:

Code: Select all

msiexec /i <path_to_msi> /qn PIDKEY="123456"
Hope this helps somehow.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”