CustomActionSchedule(Action=UninstallSBCRollback,ActionType=3398,Source='--------------------------------------------------------------------'
' 3CX Phone System 7.0
' Installation Script, 3CX Ltd Copyright 2008, All Rights Reserved
' Last Modified 6 October 2008
'Format, and display error message(s)
Function ShowErrorMessageBox(message)
MsgBox message, vbExclamation, "3CX Phone System" ' call windows API MsgBox
End Function
'Execute file using WScript Shell
Function ExecuteFile(FileName)
Dim objWShell 'declare windows shell
Set objWShell = CreateObject("WScript.Shell")
ExecuteFile = objWShell.Run(FileName, 0, true) ' Run the passed file name within windows shell
End Function
Function ExecuteFromInstaller() 'used
Dim FileName, custActData, Result
custActData = Session.Property("CustomActionData")
custActArray = Split(custActData, "|", -1)
FileName = custActArray(0)
Result = ExecuteFile(FileName)
ExecuteFromInstaller = Result
End Function
Function RemovePostgres
MSI (s) (64:CC) [10:25:57:869]: Executing op: ActionStart(Name=AI_RollbackTasks2,Description=Rolling back scheduled task on the local computer,Template=Task Name: [1])
MSI (s) (64:CC) [10:25:57:872]: Executing op: CustomActionSchedule(Action=AI_RollbackTasks2,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (64:CC) [10:25:57:874]: Executing op: ActionStart(Name=AI_ScheduleTasks2,Description=Scheduling task on the local computer,Template=Task Name: [1])
MSI (s) (64:CC) [10:25:57:876]: Executing op: CustomActionSchedule(Action=AI_ScheduleTasks2,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (64:40) [10:25:57:879]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIC79F.tmp, Entrypoint: ScheduleTasks
MSI (s) (64:CC) [10:25:57:915]: Executing op: ActionStart(Name=AI_AiRemoveFilesRollback,Description=Restoring removed files,Template=Restoring file: [1])
MSI (s) (64:CC) [10:25:57:919]: Executing op: CustomActionSchedule(Action=AI_AiRemoveFilesRollback,ActionType=11521,Source=BinaryData,Target=**********,)
MSI (s) (64:CC) [10:25:57:926]: Executing op: ActionStart(Name=AI_AiRemoveFilesDeferred_Undoable,Description=Preparing files for removal,Template=Preparing file: [1])
MSI (s) (64:CC) [10:25:57:927]: Executing op: CustomActionSchedule(Action=AI_AiRemoveFilesDeferred_Undoable,ActionType=11265,Source=BinaryData,Target=**********,)
MSI (s) (64:F4) [10:25:57:930]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIC7DF.tmp, Entrypoint: OnAiRemoveFilesUndoable
MSI (s) (64:CC) [10:25:58:296]: Executing op: ActionStart(Name=AI_AiRemoveFilesCommit,Description=Executing file removal operations,Template=Executing file removal: [1])
MSI (s) (64:CC) [10:25:58:298]: Executing op: CustomActionSchedule(Action=AI_AiRemoveFilesCommit,ActionType=11777,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (64:CC) [10:25:58:303]: Executing op: ActionStart(Name=CreateFolders,Description=Creating folders,Template=Folder: [1])
MSI (s) (64:CC) [10:25:58:305]: Executing op: FolderCreate(Folder=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\3CX SBC\,Foreign=0,,)
MSI (s) (64:CC) [10:25:58:307]: Executing op: ActionStart(Name=InstallFiles,Description=Copying new files,Template=File: [1], Directory: [9], Size: [6])
MSI (s) (64:CC) [10:25:58:308]: Executing op: ProgressTotal(Total=6227609,Type=0,ByteEquivalent=1)
MSI (s) (64:CC) [10:25:58:308]: Executing op: SetTargetFolder(Folder=C:\ProgramData\3CXSBC\)
MSI (s) (64:CC) [10:25:58:308]: Executing op: SetSourceFolder(Folder=1\COMMON~1\3CXSBC\x64\|CommonAppDataFolder\3CXSBC\x64\)
MSI (s) (64:CC) [10:25:58:308]: Executing op: ChangeMedia(,MediaPrompt=Please insert the disk: ,MediaCabinet=disk1.cab,BytesPerTick=65536,CopierType=2,ModuleFileName=C:\WINDOWS\Installer\72fba27.msi,,,,,IsFirstPhysicalMedia=1)
MSI (s) (64:CC) [10:25:58:308]: Executing op: FileCopy(SourceName=3cxsbc.exe,SourceCabKey=cxsbc.exe_1,DestName=3cxsbc.exe,Attributes=0,FileSize=3738992,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,Version=15.5.7436.0,Language=1033,InstallMode=58982400,,,,,,,)
MSI (s) (64:CC) [10:25:58:309]: File: C:\ProgramData\3CXSBC\3cxsbc.exe; To be installed; Won't patch; No existing file
MSI (s) (64:CC) [10:25:58:309]: Source for file 'cxsbc.exe_1' is compressed
MSI (s) (64:CC) [10:25:58:380]: Executing op: SetTargetFolder(Folder=C:\ProgramData\3CXSBC\Logs\)
MSI (s) (64:CC) [10:25:58:380]: Executing op: SetSourceFolder(Folder=1\COMMON~1\3CXSBC\Logs\|CommonAppDataFolder\3CXSBC\Logs\)
MSI (s) (64:CC) [10:25:58:380]: Executing op: FileCopy(SourceName=3cxsbc.log,SourceCabKey=cxsbc.log,DestName=3cxsbc.log,Attributes=0,FileSize=0,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,,,,,,,)
MSI (s) (64:CC) [10:25:58:380]: File: C:\ProgramData\3CXSBC\Logs\3cxsbc.log; To be installed; Won't patch; No existing file
MSI (s) (64:CC) [10:25:58:380]: Source for file 'cxsbc.log' is compressed
MSI (s) (64:CC) [10:25:58:382]: Executing op: SetTargetFolder(Folder=C:\ProgramData\3CXSBC\)
MSI (s) (64:CC) [10:25:58:382]: Executing op: SetSourceFolder(Folder=1\COMMON~1\3CXSBC\|CommonAppDataFolder\3CXSBC\)
MSI (s) (64:CC) [10:25:58:382]: Executing op: FileCopy(SourceName=sbcprov.bat,SourceCabKey=sbcprov.bat,DestName=sbcprov.bat,Attributes=0,FileSize=1609,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,,,,,,,)
MSI (s) (64:CC) [10:25:58:382]: File: C:\ProgramData\3CXSBC\sbcprov.bat; To be installed; Won't patch; No existing file
MSI (s) (64:CC) [10:25:58:383]: Source for file 'sbcprov.bat' is compressed
MSI (s) (64:CC) [10:25:58:465]: Executing op: FileCopy(SourceName=curl.exe,SourceCabKey=curl.exe,DestName=curl.exe,Attributes=0,FileSize=1942896,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,Version=7.45.0.0,Language=1033,InstallMode=58982400,,,,,,,)
MSI (s) (64:CC) [10:25:58:465]: File: C:\ProgramData\3CXSBC\curl.exe; To be installed; Won't patch; No existing file
MSI (s) (64:CC) [10:25:58:465]: Source for file 'curl.exe' is compressed
MSI (s) (64:CC) [10:25:58:525]: Executing op: SetTargetFolder(Folder=C:\ProgramData\3CXSBC\Updates\)
MSI (s) (64:CC) [10:25:58:526]: Executing op: SetSourceFolder(Folder=1\COMMON~1\3CXSBC\Updates\|CommonAppDataFolder\3CXSBC\Updates\)
MSI (s) (64:CC) [10:25:58:526]: Executing op: FileCopy(SourceName=updater.exe,SourceCabKey=updater.exe,DestName=updater.exe,Attributes=0,FileSize=544112,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,Version=65535.65535.65535.65535,Language=1033,InstallMode=58982400,,,,,,,)
MSI (s) (64:CC) [10:25:58:526]: File: C:\ProgramData\3CXSBC\Updates\updater.exe; To be installed; Won't patch; No existing file
MSI (s) (64:CC) [10:25:58:526]: Source for file 'updater.exe' is compressed
MSI (s) (64:CC) [10:25:58:573]: Executing op: CacheSizeFlush(,)
MSI (s) (64:CC) [10:25:58:573]: Executing op: ActionStart(Name=CreateShortcuts,Description=Creating shortcuts,Template=Shortcut: [1])
MSI (s) (64:CC) [10:25:58:575]: Executing op: IconCreate(Icon=controlPanelIcon.exe,Data=BinaryData)
MSI (s) (64:CC) [10:25:58:577]: Executing op: SetTargetFolder(Folder=23\3CX SBC\)
MSI (s) (64:CC) [10:25:58:579]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (s) (64:CC) [10:25:58:579]: Executing op: ShortcutCreate(Name=3CXSBC~1|3CXSBC Config and logs,,,FileName=C:\ProgramData\3CXSBC\,,,Icon=controlPanelIcon.exe,IconIndex=0,HotKey=0,ShowCmd=1,Description=Shortcut to Configuration file and Logs,,,,)
MSI (s) (64:CC) [10:25:58:608]: Executing op: SetTargetFolder(Folder=C:\ProgramData\3CXSBC\)
MSI (s) (64:CC) [10:25:58:608]: Executing op: ShortcutCreate(Name=updater,,,FileName=C:\ProgramData\3CXSBC\Updates\updater.exe,,WorkingDir=C:\ProgramData\3CXSBC\Updates\,,IconIndex=0,HotKey=0,ShowCmd=1,,,,,)
MSI (s) (64:CC) [10:25:58:613]: Executing op: ActionStart(Name=WriteRegistryValues,Description=Writing system registry values,Template=Key: [1], Name: [2], Value: [3])
MSI (s) (64:CC) [10:25:58:615]: Executing op: ProgressTotal(Total=9,Type=1,ByteEquivalent=13200)
MSI (s) (64:CC) [10:25:58:615]: Executing op: RegOpenKey(Root=-1,Key=Software\3CXSBC,,BinaryType=0,,)
MSI (s) (64:CC) [10:25:58:615]: Executing op: