I start the exe via a Powershell console (with administrator rights) as follows:
Code: Select all
.\TestSubMSI.exe /exenoui /qn /l*v install.txt
Code: Select all
CustomAction AI_VerifyPrereq returned actual error code 1602 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 03:12:02: AI_VerifyPrereq. Return value 2.
Action ended 03:12:02: INSTALL. Return value 2.
Installation in the same console directly via MSIEXEC works without any problems:
Code: Select all
msiexec.exe /i "<setup path>\Microsoft OLE DB Driver for SQL Server\msoledbsql.msi" IACCEPTMSOLEDBSQLLICENSETERMS=YES /qn /l*v install.txt
Please copy it to the folder “Prerequisites\SQL Server OLE DB Driver 18”.