AnsweredAssumed Answered

Problem installing PI AF 2016 R2 "return value 3"

Question asked by GabrieldaMata on Apr 11, 2017
Latest reply on Jan 17, 2018 by ITAlmat



I'm trying to install PI AF 2016 R2, with SQL Server in another VM, and I'm getting the error message below.


I'm using  the user afservice (AD user) to run the installation package as administrator.


The operational system is Windows Server 2012 R2 64 bits.


"The modify failed on step 1 of 6 (PI AF Server 2016 R2). Look for "return value 3" in the "Package Log" to determine the reason for the failure. Bundle Log Package Log"


Calling custom action OSIWixExtension!OSIWixExtension.CustomActions.CreateAFServersGrp


MSI (s) (20:68) [08:46:35:817]: Executing op: ActionStart(Name=CA_UpdateAFServersGrp_R,Description=Updating AFServers group on remote box,)

Group exists

MSI (s) (20:68) [08:46:35:820]: Executing op: CustomActionSchedule(Action=CA_UpdateAFServersGrp_R,ActionType=1025,Source=BinaryData,Target=UpdateAFServersGrp,CustomActionData=SERVICEDEFAULT=NT SERVICE\AFService;SERVICEACCOUNT=TSA\afservice;FD_REMOTEAPPS=;UPGRADE_1=;FDSQLDBSERVER=TSABHZAVM0004;INSTALLUILEVEL=2;APPSERVERINSTALLED=1)

MSI (s) (20:C0) [08:46:35:822]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7B65.tmp, Entrypoint: UpdateAFServersGrp

SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI7B65.tmp-\

SFXCA: Binding to CLR version v4.0.30319

Calling custom action OSIWixExtension!OSIWixExtension.CustomActions.UpdateAFServersGrp

Acesso negado.


CustomAction CA_UpdateAFServersGrp_R returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

MSI (s) (20:68) [08:46:36:115]: Note: 1: 2265 2:  3: -2147287035

MSI (s) (20:68) [08:46:36:115]: User policy value 'DisableRollback' is 0

MSI (s) (20:68) [08:46:36:115]: Machine policy value 'DisableRollback' is 0

Action ended 08:46:36: InstallExecute. Return value 3.

MSI (s) (20:68) [08:46:36:118]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1250182609,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)

MSI (s) (20:68) [08:46:36:118]: Executing op: DialogInfo(Type=0,Argument=1033)

MSI (s) (20:68) [08:46:36:119]: Executing op: DialogInfo(Type=1,Argument=PI AF Server 2016 R2)


MSI (s) (20:68) [08:46:36:380]: Executing op: ActionStart(Name=CA_UpdateFolderSecurity,Description=Updating AF folder security privileges,)

MSI (s) (20:68) [08:46:36:380]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=0)

MSI (s) (20:68) [08:46:36:380]: Error in rollback skipped. Return: 5

MSI (s) (20:68) [08:46:36:384]: Note: 1: 2318 2: 

MSI (s) (20:68) [08:46:36:384]: No System Restore sequence number for this installation.

MSI (s) (20:68) [08:46:36:384]: Unlocking Server

MSI (s) (20:68) [08:46:36:386]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'.

MSI (s) (20:68) [08:46:36:386]: Skipping action: CA_RestartPIWebAPI_onerror (condition is false)

Action ended 08:46:36: INSTALL. Return value 3.

Property(S): UpgradeCode = {87E07204-934B-4CD4-90BF-02D32E7E896A}


Property(S): CA_UpdateFolderSecurity = APPAFSERVERFOLDERPATH=D:\Program Files\PIPC\AF\;INSTALLUILEVEL=2

Property(S): CA_VerifyAccntPriv = SERVICEACCOUNT=TSA\afservice


I have already made several different attempts, but without success. Any help is appreciated.


Best regards!