I was recently working with NullSoft Installer System (NSIS), and I came across a peculiar issue. I was using the below code to run an prerequisite installer.
ExecWait "msiexec /i runtime.msi" $0
However upon printing out the value of $0 immediately after the ExecWait command, it read 1619. Under successful conditions, it would return 0. I did some googling, and came across the following post.
In it, they explain that it is most likely a permissions or access issue. However in my case, the file didn’t exist due to a previous error in my install script.
This lead to misdirection and a great deal of frustration. This may seem obvious, but install scripts have a special way of getting your head turned around.
I am sharing this to prevent others from getting burned by the same ambiguous error code.