03-23-2023 03:58 PM
I created a package in NI Package Builder for installing Microsoft SQL Local Database using the MSI file from Microsoft. I have the MSI install in the temp directory and I run an "Custom executes":
When I run this package it returns error -125432 An error occurred while creating a process to run command '"C:\Users\Admin\AppData\Local\Temp\NIPackageManager\971848db-479d-4bc8-a20f-304d965c9dc9\SqlLocalDB.msi" "IACCEPTMSODBCSQLLICENSETERMS=YES /qn"'
Solved! Go to Solution.
03-23-2023 05:31 PM
The below page in the NI Package Builder help documents how to run an MSI using a custom execute. The topic says to call msiexec.exe and you do not appear to be doing that.
Running Non-Package MSI Distributions
03-24-2023 09:36 AM
Thanks for the reply. I followed the help document and I'm still not getting the MSI to install. I now have the custom execute setup as follows:
The error log has the following entry:
Additional error information:
-125440: An error occurred while running the custom execute queue 'postall'.
File: C:\dev\_r\23\nipkg\source\shared_agents\Base/ErrorHandler/ErrorInfo.h
Line number: 320
-125409: A file does not exist at the path 'C:\Users\Admin\AppData\Local\Temp\NIPackageManager\9db107ac-fbb1-472e-a067-4795e456edd6\msiexec.exe'.
File: source\shared_agents\File\CustomExecuteHandler\CustomExecuteHandler.cpp
Line number: 84
-125411: An error occurred in OnTransactionEnd.
File: C:\dev\_r\23\nipkg\source\shared_agents\Base/ErrorHandler/ErrorInfo.h
Line number: 171
I am able to run msiexec.exe from a cmd window in the temp directory.
03-27-2023 02:47 PM
I had some issues posting to this topic causing duplications. I requested that my duplicate post be removed which they were. Unfortunately it looks like the post from CL_eisenwr was also removed. His post contained the solution to my problem which was to run the installer from the [System (32-bit)] directory.
Thank you CL_eisenwr.