When running an InstallScript MSI project on some machines, the installation appears to run normally through the user interface (UI) sequence and most of the execute sequence. Toward the end of the execute sequence, the installation aborts unexpectedly. Creating a verbose log file of the installation results in entries such as the following:
MSI (s) (04:98): Executing op: ActionStart(Name=OnMoved,,)
MSI (s) (04:98): Executing op: CustomActionSchedule(Action=OnMoved,ActionType=3073,Source=BinaryData,Target=Moved,)
MSI (s) (04:64): Invoking remote custom action. DLL: C:\WIN2003\Installer\MSIBC.tmp, Entrypoint: Moved
Action ended 12:07:07: InstallFinalize. Return value 2.
The return value of 2 from InstallFinalize seems to indicate that the user aborted the installation. The issue only seems to occur on Windows 2000 SP4, Windows XP SP2, and Windows 2003 machines, even when the user is an administrator.