Well.. months later we have the issue again. The only change after we fixed it (if you remember we were using PHP 7.x and went down to 5.6 - which fixed the issue) was we added the server to the domain name. I tested the server using the HTML test file you made to POST the SN to the Server and get a response... no issues, comes back 601. SQL database shows 1 validation, all normal.
Then comes in the installer. We updated the installer and tested.. "Invalid SN" - I know it's communicating and getting 601 back from the server, as the database shows, 1 validation. I will post the related debug entries from the installer below.
We are using the validate.php example in documentation as it fits our needs.
::START AIP::
<ROW Property="AI_SERVAL_TYPE" Value="3"/>
<ROW Property="AI_SERVAL_URL" Value="
https://www.residentialhelpdesk.com/rhd ... eLimit.php"/>
...
<COMPONENT cid="caphyon.advinst.msicomp.SerValComponent">
<ROW SerialValidation="SerVal" Template="PIDTemplate" Type="AI_SERVAL_TYPE" ValidateCA="AI_VALID_SERIAL" Serial="1~" Condition="1"/>
</COMPONENT>
::START DEBUG::
Action start 17:20:27: FolderDlg.
MSI (c) (88:E0) [17:20:27:306]: Note: 1: 2205 2: 3: AI_ControlEx
MSI (c) (88:E0) [17:20:27:306]: Note: 1: 2228 2: 3: AI_ControlEx 4: SELECT `Dialog_`,`Control`,`Type`,`Parent`,`Attributes`,`Data` FROM `AI_ControlEx` WHERE `Dialog_` = 'UserRegistrationDlg'
MSI (c) (88:E0) [17:20:44:515]: PROPERTY CHANGE: Adding PIDKEY property. Its value is '010-5476-0763-62'.
MSI (c) (88:5C) [17:20:45:796]: PROPERTY CHANGE: Adding SERIAL_VALIDATION property. Its value is 'FALSE'.
MSI (c) (88:5C) [17:20:45:796]: PROPERTY CHANGE: Adding ProductID property. Its value is '{98FB81EA-719E-4C5A-ABAA-4E83BB37A8E5}'.
Action ended 17:20:45: FolderDlg. Return value 1.
MSI (c) (88:68) [17:20:45:796]: Doing action: AI_VALID_SERIAL
Action 17:20:45: AI_VALID_SERIAL.
Action start 17:20:45: AI_VALID_SERIAL.
MSI (c) (88:30) [17:20:45:858]: Invoking remote custom action. DLL: C:\Users\IEUser\AppData\Local\Temp\MSICB69.tmp, Entrypoint: ValidateSerial
MSI (c) (88!C4) [17:20:46:264]: PROPERTY CHANGE: Adding AI_SV_POST_SENT property. Its value is '010-5476-0763-62Microsoft'.
MSI (c) (88!C4) [17:20:46:280]: PROPERTY CHANGE: Adding AI_SERVAL_RESPONSE_CODE property. Its value is '601'.
MSI (c) (88!C4) [17:20:46:280]: PROPERTY CHANGE: Modifying SERIAL_VALIDATION property. Its current value is 'FALSE'. Its new value: 'TRUE'.
Action ended 17:20:46: AI_VALID_SERIAL. Return value 1.
MSI (c) (88:68) [17:20:46:280]: Doing action: UserRegistrationDlg
Action 17:20:46: UserRegistrationDlg.
Action start 17:20:46: UserRegistrationDlg.
MSI (c) (88:E0) [17:20:46:296]: Note: 1: 2205 2: 3: AI_ControlEx
MSI (c) (88:E0) [17:20:46:296]: Note: 1: 2228 2: 3: AI_ControlEx 4: SELECT `Dialog_`,`Control`,`Type`,`Parent`,`Attributes`,`Data` FROM `AI_ControlEx` WHERE `Dialog_` = 'VerifyReadyDlg'
Action ended 17:20:50: UserRegistrationDlg. Return value 1.
MSI (c) (88:68) [17:20:50:358]: Doing action: InstallValidate
Action 17:20:50: InstallValidate. Validating install
Action start 17:20:50: InstallValidate.
...
Action start 17:20:50: LaunchConditions.
Action ended 17:20:50: LaunchConditions. Return value 1.
MSI (s) (A0:B0) [17:20:50:936]: Skipping action: ValidateProductID (condition is false)
MSI (s) (A0:B0) [17:20:50:936]: Skipping action: AI_VALID_SERIAL (condition is false)
MSI (s) (A0:B0) [17:20:50:936]: Doing action: AI_EXIT_ACTION
Action 17:20:50: AI_EXIT_ACTION.
Action start 17:20:50: AI_EXIT_ACTION.
Invalid serial number.
MSI (s) (A0:B0) [17:20:53:624]: Product: Residential.Helpdesk -- Invalid serial number.
FOLLOW US
Get the latest news in Application Packaging