http://bugs.winehq.org/show_bug.cgi?id=27987
Summary: vc2005trial install failed: err:msi:ITERATE_Actions Execution halted Product: Wine Version: 1.3.25 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com
Created an attachment (id=35823) --> (http://bugs.winehq.org/attachment.cgi?id=35823) Log: install vc2005 trial
$ wine --version wine-1.3.25-406-g89dcf22
$ winetricks -q vc2005trial
At the end of the installation, a message box says: """ Microsoft Visual Studio 2005 Team Suite - ENU has encountered a problem during setup. Setuo did not complete correctly. """
Below is some of the log: --- err:msi:ITERATE_Actions Execution halted, action L"CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8" returned 1603 --- vc2005trial install completed, but installed file /home/fracting/.local/share/wineprefixes/vc2005trial/dosdevices/c:/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.exe not found ---
full log is attached.
http://bugs.winehq.org/show_bug.cgi?id=27987
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #1 from fracting fracting@gmail.com 2011-08-07 10:53:44 CDT --- Hello, I'm going to run a regression test, however I found the installer failed at both wine1.2.3 and wine1.3.15, could someone point out what version of wine makes the installation success ? Thanks ;-)
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #2 from Vincent Povirk madewokherd@gmail.com 2011-08-08 10:39:00 CDT --- Well, the bugs mentioned in the log were filed against 1.3.8 and 1.3.13, so presumably those work with winetricks's work-around.
http://bugs.winehq.org/show_bug.cgi?id=27987
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|vc2005trial install failed: |vc2005trial install failed: |err:msi:ITERATE_Actions |trigger a rollback while |Execution halted |installing
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #3 from fracting fracting@gmail.com 2011-08-12 05:05:03 CDT --- (In reply to comment #2)
Well, the bugs mentioned in the log were filed against 1.3.8 and 1.3.13, so presumably those work with winetricks's work-around.
Thanks Vincent ;-) By running a regression test, I found that it is not a real regression. The installation trigger a rollback action while installing, since rollback action is not implement until wine-1.3.20, that is why the installation success with older versions of Wine.
Dan's winetricks script recommends users to upgrade to wine-1.3.15 or later to avoid bug 26162 and bug 25331, I found that the rollback action is triggered in wine-1.3.15 too.
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #4 from fracting fracting@gmail.com 2011-08-12 05:08:22 CDT --- (In reply to comment #1)
Hello, I'm going to run a regression test, however I found the installer failed at both wine1.2.3 and wine1.3.15, could someone point out what version of wine makes the installation success ? Thanks ;-)
Please forget my commnet #1 :( I made some mistake last time, I haven't set the $WINE environment to $HOME/wine-git/wine when I try to run winetricks with wine1.3.15 in the build directory.
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #5 from Dan Kegel dank@kegel.com 2011-10-28 09:10:40 CDT --- Created attachment 37168 --> http://bugs.winehq.org/attachment.cgi?id=37168 Log file error reporter wanted to upload
http://bugs.winehq.org/show_bug.cgi?id=27987
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |http://www.microsoft.com/do | |wnload/en/details.aspx?disp | |laylang=en&id=19988 Keywords| |Installer Component|-unknown |msi CC| |focht@gmx.net Ever Confirmed|0 |1 Summary|vc2005trial install failed: |Microsoft Visual Studio |trigger a rollback while |2005 and .NET 2.0 Framework |installing |SDK installers fail on | |CA_RollbackHelpTransaction. | |3643236F_FC70_11D3_A536_009 | |0278A1BB8 (error 1603)
--- Comment #6 from Anastasius Focht focht@gmx.net 2011-12-28 05:10:51 CST --- Hello,
confirming, still present. Came across this while trying to install .NET Framework 2.0 SDK.
--- snip --- 0030:trace:msi:ACTION_CustomAction Handling custom action L"CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8" (d01 L"BIN_File_46001" L"RollbackTransaction") ... 0034:trace:msi:ACTION_CallDllFunction calling L"RollbackTransaction" ... 0034:Call msi.MsiRecordSetStringW(00000006,00000000,0414d62c L"12/27/11 21:17:55 DDSet_Entry: RollbackTransaction started") ret=5048776b ... 0034:Call msi.MsiRecordSetStringW(00000003,00000000,5049ee78 L"12/27/11 21:17:55 DDSet_Entry: CMsHelpObject constructor") ret=5048776b ... 0034:Call msi.MsiRecordSetStringW(00000003,00000000,5049ee78 L"12/27/11 21:17:55 DDSet_Entry: CHelpCrypto constructor") ret=5048776b ... 0034:Call msi.MsiRecordSetStringW(00000003,00000000,5049ee78 L"12/27/11 21:17:56 DDSet_Exit: CHelpCrypto destructor") ret=5048776b ... 0034:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Temp\Hxab47.tmp" at 0x51bc0000: native ... 0034:CALL hxds.HxGetObjectCA(<unknown, check return>) ret=50487e73 ... 0034:RET hxds.HxGetObjectCA(50482ec8,0414d60c) retval=00000000 ret=50487e73 0034:Call ole32.GetErrorInfo(00000000,0414d598) ret=51c1da9b 0034:Ret ole32.GetErrorInfo() retval=00000001 ret=51c1da9b ... 0034:Call KERNEL32.FindFirstFileW(0414d368 L"C:\users\Public\Application Data\Microsoft Help\{*}",0414d118) ret=51bd8107 0034:Ret KERNEL32.FindFirstFileW() retval=ffffffff ret=51bd8107 0034:Call KERNEL32.GetModuleFileNameA(51bc0000,0414c148,00000104) ret=51c27488 0034:Ret KERNEL32.GetModuleFileNameA() retval=0000001e ret=51c27488 0034:Call KERNEL32.GetLastError() ret=51bc7b4b 0034:Ret KERNEL32.GetLastError() retval=00000000 ret=51bc7b4b ... 0034:Call KERNEL32.GetFileAttributesA(0414c44c "C:\users\focht\Temp\0000\Hxab47ui.dll") ret=51c24ed0 0034:Ret KERNEL32.GetFileAttributesA() retval=ffffffff ret=51c24ed0 ... 0034:Call KERNEL32.FindResourceA(51bc0000,00000f37,00000006) ret=51c33b22 0034:Ret KERNEL32.FindResourceA() retval=00000000 ret=51c33b22 ... 0034:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0414c530) ret=51c2957b 0034:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b838b5b ip=7b838b5b tid=0034 0034:trace:seh:raise_exception info[0]=19930520 0034:trace:seh:raise_exception info[1]=0414c54c 0034:trace:seh:raise_exception info[2]=51c3373c 0034:trace:seh:raise_exception eax=7b826171 ebx=7b8a97a8 ecx=19930520 edx=0414c434 esi=0414c51c edi=0414c490 0034:trace:seh:raise_exception ebp=0414c478 esp=0414c414 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000203 ... 0034:Call KERNEL32.FormatMessageA(00001100,00000000,80004005,00000400,0414ad18,00000000,00000000) ret=51c27046 0034:Ret KERNEL32.FormatMessageA() retval=00000000 ret=51c27046 0034:Call ole32.CreateErrorInfo(04149d24) ret=51c27115 ... 0034:Call msi.MsiRecordSetStringW(00000006,00000000,0414d62c L"12/27/11 21:17:56 DDSet_Status: RollbackTransaction()->IHxRegisterSession::ContinueTransaction() returned 80004005.") ret=5048776b ... 0034:Call msi.MsiRecordSetStringW(00000003,00000000,5049ee78 L"12/27/11 21:17:56 DDSet_Exit: CMsHelpObject destructor") ret=5048776b ... 0034:Call msi.MsiRecordSetStringW(00000006,00000000,0414d62c L"12/27/11 21:17:56 DDSet_Exit: RollbackTransaction ended") ret=5048776b ... 0030:err:msi:ITERATE_Actions Execution halted, action L"CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8" returned 1603 --- snip ---
Googling a bit turns up similar looking trace logs/problem reports:
http://social.msdn.microsoft.com/Forums/da-DK/vbpowerpacks/thread/34cb0545-b...
--- snip --- ... 03/14/08 15:47:05 DDSet_Entry: CHelpCrypto constructor 03/14/08 15:47:05 DDSet_Exit: CHelpCrypto destructor 03/14/08 15:47:06 DDSet_Status: BeginTransaction()->IHxRegisterSession::CreateTransaction() returned 8004036e. 03/14/08 15:47:06 DDSet_Error: BeginTransaction()->Attempt failed because another transaction was running. 03/14/08 15:47:06 DDSet_Error: BeginTransaction()->Could not restart current transaction; IHxRegisterSession::ContinueTransaction() returned error code 80004005. 03/14/08 15:47:06 DDSet_Status: BeginTransaction()->Registration session {7B4D193B-D76D-308B-8B12-5D9BB1CBCE6C} was *not* created. 03/14/08 15:47:06 DDSet_Exit: CMsHelpObject destructor 03/14/08 15:47:06 DDSet_Exit: BeginTransaction ended ... --- snip ---
or http://blogs.msdn.com/b/astebner/archive/2007/12/10/6725685.aspx
But the problem here seems not the "leftover" lock file "Rgstrtn.lck" which is mentioned there.
This rollback custom action seems really done on purpose without any previous error condition (install execute sequence).
Example verbose msi log:
http://www.okcomputer.ru/files/Bugs/verbose-install.log
--- snip --- ... Action 13:11:26: GenerateScript. Generating script operations for action: GenerateScript: CA_RollbackTempHxDs.3643236F_FC70_11D3_A536_0090278A1BB8 Action ended 13:11:26: CA_RollbackTempHxDs.3643236F_FC70_11D3_A536_0090278A1BB8. Return value 1. Action ended 13:11:26: CA_ExportTempHxDs.3643236F_FC70_11D3_A536_0090278A1BB8. Return value 1. MSI (s) (44:34) [13:11:26:451]: Doing action: ProcessComponents Action 13:11:26: ProcessComponents. Updating component registration Action start 13:11:26: ProcessComponents. ProcessComponents: Action ended 13:11:26: ProcessComponents. Return value 1. MSI (s) (44:34) [13:11:26:607]: Doing action: CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8 Action 13:11:26: CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8. Action start 13:11:26: CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8. CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8: Action ended 13:11:26: CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8. Return value 1. MSI (s) (44:34) [13:11:26:779]: Doing action: MsiUnpublishAssemblies Action 13:11:26: MsiUnpublishAssemblies. Unpublishing assembly information Action start 13:11:26: MsiUnpublishAssemblies. Action ended 13:11:26: MsiUnpublishAssemblies. Return value 1. MSI (s) (44:34) [13:11:26:841]: Skipping action: _E9BBC3B4_F310_4532_B9B8_D7A65862AE60 (condition is false) MSI (s) (44:34) [13:11:26:857]: Doing action: UnpublishComponents Action 13:11:26: UnpublishComponents. Unpublishing Qualified Components Action start 13:11:26: UnpublishComponents. MSI (s) (44:34) [13:11:26:904]: Note: 1: 2262 2: PublishComponent 3: -2147287038 Action ended 13:11:26: UnpublishComponents. Return value 1. MSI (s) (44:34) [13:11:26:920]: Doing action: CA_BeginHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8 Action 13:11:26: CA_BeginHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8. Action start 13:11:26: CA_BeginHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8. CA_BeginHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8: Action ended 13:11:26: CA_BeginHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8. Return value 1. ... --- snip ---
The failure seems to result from not finding anything using "C:\users\Public\Application Data\Microsoft Help\{*}" filter.
If something is found the installer compares the result to "{639159C2-B27B-4208-8965-D8A0AEDBDED2}" and fails too without match.
This is the Product code for the installer:
{639159C2-B27B-4208-8965-D8A0AEDBDED2}," ""Microsoft .NET Framework 2.0 SDK - ENU""", ENU, SDK, 2C951936B72B802498568D0AEABDED2D
Creating a folder named:
"C:\users\Public\Application Data\Microsoft Help\{639159C2-B27B-4208-8965-D8A0AEDBDED2}"
allows the installer to succeed.
I looked for any missing msi action/CA that creates the folder before but no success.
Adding .NET SDK as download because 300 MiB considerable smaller than this 3.3 GiB VC2005 trial from winetricks. Only clean WINEPREFIX required to reproduce (no previous .NET 2.0 install)
$ sha1sum setup.exe 4e4b1072b5e65e855358e2028403f2dc52a62ab4 setup.exe
$ wine --version wine-1.3.35-194-gedd5ca7
Regards
http://bugs.winehq.org/show_bug.cgi?id=27987
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #7 from Dan Kegel dank@kegel.com 2012-01-01 22:55:58 CST --- I verified just now that, with wine-1.3.15 and "winetricks mfc42 dotnet20", Visual Studio 2005 Trial installs fine; with current git, it runs into this problem. One of the subinstallers seems to offer a quick way to reproduce:
$ sudo mount -o ro,loop En_vs_2005_vsts_180_Trial.img /mnt $ cd /mnt/vs/wcu/DExplore/DExplore.exe $ wine DExplore.exe
This subinstaller finishes with wine-1.3.15, but not with current wine, and the log shows
err:msi:ITERATE_Actions Execution halted, action L"CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8" returned 1603
in the bad case.
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #8 from Dan Kegel dank@kegel.com 2012-01-02 09:39:32 CST --- I can see trace:file:FindFirstFileExW L"C:\users\Public\Application Data\Microsoft Help\{*}" 0 0x10cd128 0 (nil) 0 in the log for DExplore.exe, but can't figure out which magic directory to create. I tried creating either "$WINEPREFIX/drive_c/users/Public/Application Data/Microsoft Help/{639159C2-B27B-4208-8965-D8A0AEDBDED2}" or "$WINEPREFIX/drive_c/users/Public/Application Data/Microsoft Help/{4A79114D-19E4-11d3-B86B-00C04F79F802}" but no joy.
To reproduce without any gui:
sudo mount -o ro,loop En_vs_2005_vsts_180_Trial.img /mnt cd /mnt/vs/wcu/DExplore rm -rf ~/.wine wine DExplore.exe /T:c:\foo /C cd ~/.wine/drive_c/foo wine install.exe /Q
This takes 15 seconds and succeeds in wine-1.3.15, but takes 30 seconds and fails in wine-1.3.36.
http://bugs.winehq.org/show_bug.cgi?id=27987
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #9 from Austin English austinenglish@gmail.com 2012-01-02 11:59:54 CST --- (In reply to comment #8)
This takes 15 seconds and succeeds in wine-1.3.15, but takes 30 seconds and fails in wine-1.3.36.
Regression test?
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #10 from Dan Kegel dank@kegel.com 2012-01-02 12:22:38 CST --- See comment #3. The installer probably stopped working when rollbacks were implemented. This is an "app regression", but probably not a "wine regression", much as I'd like to call it a regression.
http://bugs.winehq.org/show_bug.cgi?id=27987
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression |
--- Comment #11 from Austin English austinenglish@gmail.com 2012-01-02 12:38:58 CST --- (In reply to comment #10)
See comment #3. The installer probably stopped working when rollbacks were implemented. This is an "app regression", but probably not a "wine regression", much as I'd like to call it a regression.
Missed that comment, thanks.
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #12 from Anastasius Focht focht@gmx.net 2012-01-02 15:49:47 CST --- Hello,
--- quote --- but can't figure out which magic directory to create. I tried creating either "$WINEPREFIX/drive_c/users/Public/Application Data/Microsoft Help/{639159C2-B27B-4208-8965-D8A0AEDBDED2}" or "$WINEPREFIX/drive_c/users/Public/Application Data/Microsoft Help/{4A79114D-19E4-11d3-B86B-00C04F79F802}" but no joy. --- quote ---
As I already wrote earlier: it's the product code of the failing (sub)installer. In case of Visual Studio 2005 you need the product code for "Microsoft Document Explorer 2005".
A list of MS product codes can be found here:
http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-componen...
--- snip --- {44D4AF75-6870-41F5-9181-662EA05507E1}," ""Microsoft Document Explorer 2005""", ENU, DEX, 57FA4D4407865F14191866E20A55701E --- snip ---
So the folder name needed is:
"$WINEPREFIX/drive_c/users/Public/Application Data/Microsoft Help/{44D4AF75-6870-41F5-9181-662EA05507E1}"
Regards
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #13 from Hans Leidekker hans@meelstraat.net 2012-01-05 03:34:40 CST --- A trace from wine 1.3.20 (last release before the introduction of rollback support) shows that custom action CA_BeginHelpTransaction creates that guid directory.
CA_BeginHelpTransaction is sequenced after CA_RollbackHelpTransaction though, so my quess is that we're not scheduling the actions correctly.
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #14 from Anastasius Focht focht@gmx.net 2012-01-05 15:45:16 CST --- Hello,
CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8 -> ActionType=3329
msidbCustomActionTypeBinaryData (1) msidbCustomActionTypeRollback (256) msidbCustomActionTypeInScript (1024) msidbCustomActionTypeNoImpersonate (2048)
"Rollback Custom Actions"
http://msdn.microsoft.com/en-us/site/aa371369
--- quote --- A rollback custom action is an action that the installer executes only during an installation rollback, and its purpose is to reverse a custom action that has made changes to the system.
A rollback custom action is a type of deferred execution custom action, because its execution is deferred when it is invoked during the installation sequence. It differs from a regular deferred custom action in that it is only executed during a rollback. A rollback custom action must always precede the deferred custom action it rolls back in the action sequence. A rollback custom action should also handle the case where the deferred custom action is interrupted in the middle of execution. For example, if the user were to press the Cancel button while the custom action was executing. ... --- quote ---
"Deferred Execution Custom Actions"
http://msdn.microsoft.com/en-us/site/aa368268
"Installation Phases and In-Script Execution Options for Custom Actions in Windows Installer"
http://www.installsite.org/pages/en/isnews/200108/index.htm
--- quote --- If the installation is cancelled by the user or aborted because of an error during script execution, the rollback script is executed to undo any changes that have been made to the target system. This is when the rollback custom actions are executed.
The rollback script is processed from bottom up, i.e. most recent actions are undone first.
When the installer has finished to process the installation script without interruption, the rollback script and all backup files are deleted, and any commit custom actions are executed.
If Rollback has been disabled on the target computer, no rollback script is created, and no backup copies of replaced files are made. --- quote ---
As I understand it, this special type of (deferred) custom action should not be executed at all in normal use case (no error -> no execution of rollback script).
Regards
http://bugs.winehq.org/show_bug.cgi?id=27987
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b00e7039c5fcaa613b9776a38fe | |60bb697146b42 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #15 from Anastasius Focht focht@gmx.net 2012-01-06 18:16:02 CST --- Hello,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/b00e7039c5fcaa613b9776a38fe...
The Microsoft Document Explorer sub-installer no longer calls CA_RollbackHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8 during install. The installation of Microsoft Visual Studio 2005 and .NET 2.0 Framework SDK finishes successfully.
Thanks Hans.
$ wine --version wine-1.3.36-172-gb00e703
Regards
http://bugs.winehq.org/show_bug.cgi?id=27987
--- Comment #16 from Dan Kegel dank@kegel.com 2012-01-06 19:31:46 CST --- Works here too, thanks!
http://bugs.winehq.org/show_bug.cgi?id=27987
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org 2012-01-13 13:51:34 CST --- Closing bugs fixed in 1.3.37.
https://bugs.winehq.org/show_bug.cgi?id=27987
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.microsoft.com/do |https://web.archive.org/web |wnload/en/details.aspx?disp |/20111026224703/http://down |laylang=en&id=19988 |load.microsoft.com/download | |/c/4/b/c4b15d7d-6f37-4d5a-b | |9c6-8f07e7d46635/setup.exe