I am developing an installation package and I have an issues with canceling installation.
After I click on the "Install" and the installation process begins, I want to interrupt it.
I click on the "Cancel" and "Yes".
As a result, I get 3 options, depends on installation stage:
1. All is fine and rollback starts.
Code: Select all
Action 15:21:41: CancelDlg. Dialog created
MSI (s) (E0:EC) [15:21:42:866]: I/O on thread 15048 could not be cancelled. Error: 1168
MSI (s) (E0:EC) [15:21:42:866]: I/O on thread 15148 could not be cancelled. Error: 1168
MSI (s) (E0:EC) [15:21:42:866]: I/O on thread 12508 could not be cancelled. Error: 1168
MSI (s) (E0:EC) [15:21:42:866]: I/O on thread 4632 could not be cancelled. Error: 1168
MSI (s) (E0:EC) [15:21:42:866]: I/O on thread 14424 could not be cancelled. Error: 1168
MSI (s) (E0:EC) [15:21:42:866]: I/O on thread 13732 could not be cancelled. Error: 1168
MSI (s) (E0:EC) [15:21:42:866]: I/O on thread 10548 could not be cancelled. Error: 1168
MSI (s) (E0:EC) [15:21:42:866]: I/O on thread 9000 could not be cancelled. Error: 1168
MSI (s) (E0:EC) [15:21:42:866]: I/O on thread 5124 could not be cancelled. Error: 1168
MSI (s) (E0:EC) [15:21:42:866]: I/O on thread 932 could not be cancelled. Error: 1168
MSI (s) (E0:28) [15:21:42:867]: Machine policy value 'DisableRollback' is 0
MSI (s) (E0:28) [15:21:42:867]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (E0:28) [15:21:42:869]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (E0:28) [15:21:42:869]: No System Restore sequence number for this installation.
MSI (s) (E0:28) [15:21:42:870]: Unlocking Server
Action ended 15:21:42: INSTALL. Return value 2.Code: Select all
Action 15:24:43: CancelDlg. Dialog created
MSI (s) (E0:88) [15:24:44:423]: I/O on thread 15048 could not be cancelled. Error: 1168
MSI (s) (E0:88) [15:24:44:423]: I/O on thread 15148 could not be cancelled. Error: 1168
MSI (s) (E0:88) [15:24:44:423]: I/O on thread 12508 could not be cancelled. Error: 1168
MSI (s) (E0:88) [15:24:44:423]: I/O on thread 13732 could not be cancelled. Error: 1168
MSI (s) (E0:88) [15:24:44:423]: I/O on thread 9196 could not be cancelled. Error: 1168
MSI (s) (E0:88) [15:24:44:423]: I/O on thread 10548 could not be cancelled. Error: 1168
MSI (s) (E0:88) [15:24:44:424]: I/O on thread 9912 could not be cancelled. Error: 1168
MSI (s) (E0:88) [15:24:44:424]: I/O on thread 4628 could not be cancelled. Error: 1168
MSI (s) (E0:88) [15:24:44:424]: I/O on thread 14132 could not be cancelled. Error: 1168
MSI (s) (E0:88) [15:24:44:424]: I/O on thread 5096 could not be cancelled. Error: 1168
MSI (s) (E0:88) [15:24:44:424]: I/O on thread 9292 could not be cancelled. Error: 1168
Action ended 15:24:44: InstallExecute. Return value 2.
MSI (s) (E0:14) [15:24:44:437]: User policy value 'DisableRollback' is 0
MSI (s) (E0:14) [15:24:44:437]: Machine policy value 'DisableRollback' is 0
MSI (s) (E0:14) [15:24:44:465]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1144093458,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0)
MSI (s) (E0:14) [15:24:44:465]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (E0:14) [15:24:44:466]: Executing op: DialogInfo(Type=1,Argument=ASF Web Services)
MSI (s) (E0:14) [15:24:44:466]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,,CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (s) (E0:14) [15:24:44:466]: Executing op: RegisterBackupFile(File=C:\Config.Msi\8eff8402.rbf)
Action 15:24:44: Rollback. Rolling back action:Code: Select all
Action 15:07:42: AI_XmlConfig. Executing XML file configurations
MSI (s) (CC:A0) [15:07:42:999]: Executing op: CustomActionSchedule(Action=AI_XmlConfig,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (CC:04) [15:07:43:007]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI1ACC.tmp, Entrypoint: OnXmlConfig
AI_XmlConfig: Configuring XML file: "[...path...]standalone.xml"
[...cut some xml-files...]
Action 15:07:45: CancelDlg. Dialog created
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 2200 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 3100 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 436 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 4852 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 6584 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 3196 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 6560 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 6344 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 5320 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 6404 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 3812 could not be cancelled. Error: 1168
MSI (s) (CC:50) [15:07:47:027]: I/O on thread 6916 could not be cancelled. Error: 1168
[...cut some xml-files...]
AI_XmlConfig: Configuring XML file: "[...path...]standalone.xml"
MSI (s) (CC:A0) [15:07:50:014]: Executing op: ActionStart(Name=WriteEnvironmentStrings,Description=Updating environment strings,Template=Name: [1], Value: [2], Action [3])
Action 15:07:50: WriteEnvironmentStrings. Updating environment strings
Code: Select all
Action start 14:57:24: AI_XmlUninstall.
Action 14:57:25: CancelDlg. Dialog created
MSI (s) (CC:D4) [14:57:24:620]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIAAE1.tmp, Entrypoint: OnXmlUninstall
MSI (s) (CC!A8) [14:57:26:017]: PROPERTY CHANGE: Adding AI_XmlRemove property. Its value is 'ProductName[...cut...]ProductCode{[...cut...]}REMOVEf_download,f_setupAI_TEST_XML_FILE_DIRECTORYAI_TEST_XML_FILE_NAMEAI_XML_MODULE_IDConfigConfig030drivers_8datasources_8drivers014datasources_8subsystem_82datasources014driversdatasourcesdrivers014inetaddress_10interface_10inet-address014interface_10interfaces_5interface114invmconnector_2connectors_14in-vm-connector314connectors_14hornetqserver_3connectors414jmsdestinations_8hornetqserver_8jms-destinations014hornetqserver_8subsystem_88hornetq-server014module_1dependenciesmodule012dependenciesmoduledependencies112modulemodule030nettyacceptor_2acceptors_1netty-acceptor114acceptors_1hornetqserver_2acceptors514param_33nettyacceptor_22param014nettyacceptor_22acceptors_11netty-acceptor114paramnettyacceptorparam014acceptors_3hornetqserver_5acceptors514hornetqserver_5subsystem_22hornetq-server
MSI (s) (CC!A8) [14:57:26:018]: Doing action: AI_XmlRemove
Action 14:57:26: AI_XmlRemove. Executing XML file configurations
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 2200 could not be cancelled. Error: 1168
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 3100 could not be cancelled. Error: 1168
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 436 could not be cancelled. Error: 1168
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 5288 could not be cancelled. Error: 1168
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 6880 could not be cancelled. Error: 1168
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 3568 could not be cancelled. Error: 1168
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 5348 could not be cancelled. Error: 1168
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 6844 could not be cancelled. Error: 1168
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 6708 could not be cancelled. Error: 1168
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 4052 could not be cancelled. Error: 1168
MSI (s) (CC:CC) [14:57:26:440]: I/O on thread 7044 could not be cancelled. Error: 1168
CustomAction AI_XmlUninstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 14:57:26: AI_XmlUninstall. Return value 3.
MSI (s) (CC:E4) [14:57:26:449]: Machine policy value 'DisableRollback' is 0
MSI (s) (CC:E4) [14:57:26:449]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (CC:E4) [14:57:26:450]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (CC:E4) [14:57:26:451]: No System Restore sequence number for this installation.
MSI (s) (CC:E4) [14:57:26:451]: Unlocking Server
Action ended 14:57:26: INSTALL. Return value 3.
FOLLOW US
Get the latest news in Application Packaging