http://bugs.winehq.org/show_bug.cgi?id=10085
Summary: Adobe Bridge CS2 complains that it can't start due to licensing restrictions Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: mikolaj.zalewski@gmail.com
I'm testing the Adobe Bridge that comes with the Photoshop CS2 trial. On Windows during the 30 days or trial this application works. It shows the same message when these 30 days passes.
http://bugs.winehq.org/show_bug.cgi?id=10085
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Summary|Adobe Bridge CS2 complains |Adobe Bridge CS2 complains |that it can't start due to |that it can't start due to |licensing restrictions |licensing restrictions | |(affects photoshop)
http://bugs.winehq.org/show_bug.cgi?id=10085
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Priority|P2 |P1
--- Comment #1 from Dan Kegel dank@kegel.com 2007-11-19 10:37:06 --- This also keeps File/Browse from working in Photoshop CS2; when you try it, you get a dialog saying "Adobe Bridge cannot be used at this time because of licensing restrictions. You must have installed and launched at least one other Adobe application to use Adobe bridge."
Raising priority since it blocks a commonly used feature of Photoshop CS2.
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #2 from Dan Kegel dank@kegel.com 2008-01-21 22:53:14 --- This is not an uncommon error on Windows. It happens if you move Bridge to a different directory, or install one of several Adobe apps.
Here are a few related pages:
http://www.appdeploy.com/packages/detail.asp?id=529 mentions that if the msi action RegisterForAum40 of the installer fails, you get the same symptom.
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402799&slice... "Solution 2: Install your Adobe CS2 application on a different computer, then copy the Licenses folder to the original computer. 1. Install your Adobe CS2 application (ex., Photoshop CS2 or Creative Suite 2) on a different computer. 2. Navigate to the C:\Program Files\Common Files\Adobe folder. 3. Copy the Licenses folder from this computer to the computer that is experiencing the problem. (Via a network, a flash drive, floppy disk, burned CD, or any other method that is convenient.) 4. On the computer that is experiencing the problem, place the Licenses folder in the same location: the C:\Program Files\Common Files\Adobe folder. ... [Why it happens:] During the Premiere Elements 4 installation, the C:\Program Files\Common Files\Adobe\Licenses folder is incorrectly removed. Bridge CS2 uses that folder to validate whether a host application (ex., Adobe Photoshop CS2 or Adobe Creative Suite 2) has been installed."
Oddly, I don't see the Licenses folder being referenced...? Does copying that Licenses folder work around the problem? I bet not.
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2008-01-22 00:01:56 --- Copying "C:\Program Files\Common Files\Adobe\Licenses" to ~/.wine didn't help (I renamed old Licenses directory to Licenses.old first), Bridge still complains about licensing.
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2008-01-22 00:02:29 --- I mean copying from my XP machine.
http://bugs.winehq.org/show_bug.cgi?id=10085
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #5 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-06 02:27:20 --- just for the info, starting Adobe Bridge CS3 (installed along with Photoshop CS3) works just fine. Maybe the install of CS2 went wrong?
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #6 from Dan Kegel dank@kegel.com 2008-03-06 10:02:08 --- Does File / Browse work for you in photoshop cs3?
How did you install photoshop cs3?
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #7 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-06 10:19:35 ---
Does File / Browse work for you in photoshop cs3?
CS3 doesn't start for me, crashes just before the menus come up
How did you install photoshop cs3?
With native shdocvw and friends.
Just Bridge (wine Bridge.exe) starts fine for me stand alone Regards
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #8 from Dan Kegel dank@kegel.com 2008-03-06 11:52:56 --- Fascinating. Does native shdocvw etc. also let cs2's bridge install and work?
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #9 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-06 12:56:56 ---
Does native shdocvw etc. also let cs2's bridge install and work?
I only used the native shdocvw etc for installing CS3. Not while running Bridge or Photoshop.
I'll give CS2 a shot later this week. Regards
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #10 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-03-13 09:35:03 --- Maybe you could check if the install is really complete by comparing it to an installation on windows ( that the installer says the installations finished fine doesn't mean anything really)
I did some testing with Adobe apps last days and found that Indesign CS3 fails due to licensing error too; it looks as if it's searching for a directory called "AMT", that is not present. In Photoshop CS3 this directory _is_ present and that one starts fine (as does Flash CS3). Currently testing Premiere CS3, and here too it looks as if parts of the app have not been installed (get an error messagebox that no editing modes are present)
From a trace:
0032:Call KERNEL32.GetFileAttributesW(0073cee0 L"\\?\C:\Program Files\Adobe\Adobe Premiere Pro CS3\Plug-ins\en_US\Editing Modes") ret=77e97c88 0032:Ret KERNEL32.GetFileAttributesW() retval=ffffffff ret=77e97c88
and that directory/file is just not present. I'm gonna install Premiere on windows now, and see in what way it differs from wine-installation
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #11 from Dan Kegel dank@kegel.com 2008-05-14 06:20:18 --- A user reports that copying from windows *does* enable Bridge, so maybe that Adobe tip was right. This might let us narrow down the failure better. See
http://appdb.winehq.org/objectManager.php?sClass=version&iId=2631#Commen...
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #12 from James Hawkins truiken@gmail.com 2008-05-17 00:30:14 --- Created an attachment (id=13109) --> (http://bugs.winehq.org/attachment.cgi?id=13109) diff of bridge install directory between wine and windows
Attached is a diff of the bridge directories with the binary file differences deleted. Of all the missing files (Only in...), none of these files is supposed to be installed by msi; they are supposed to be generated in a custom action(s). You can also see that there's a problem with text encoding, e.g.
--- operadef6.ini 2005-03-24 12:54:16.000000000 -0600 +++ operadef6.ini 2005-03-24 12:54:16.000000000 -0600 @@ -1 +1,6 @@ -^BË<8b>^<98>mQ]bx2<96>O+P ]8mr=0<8f><8b>_6a^Whaù<86><96>ÒR<8b><80>ÜQÌd=1^\z¾} \ No newline at end of file +[System]^M +Multi user=0^M +^M +[Java]^M +Enabled=1^M +^M
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #13 from Dan Kegel dank@kegel.com 2008-05-17 04:42:25 --- oooh. sounds like you've found something.
http://bugs.winehq.org/show_bug.cgi?id=10085
Julian W. Speedator@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Speedator@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=10085
John Stansfield john@todnet.demon.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |john@todnet.demon.co.uk
--- Comment #14 from John Stansfield john@todnet.demon.co.uk 2008-09-11 07:49:21 --- Bridge will start up and work properly if the file 'install.adb' is present in 'Program Files/Adobe/Adobe Photoshop CS2' This file is an XML file containing Photoshop serial number information, install dates etc. and seems to be what Bridge is looking for to determine whether there is another CS2 application installed. The Wine installer does not create/install this file, but it can be copied across from a Windows installation if one is available.
Once this is done, Bridge works flawlessly. It's a pity this problem cannot be rectified as Bridge adds so much functionality to Photoshop - to me Bridge is a vital component of Photoshop.
In Windows, Bridge itself has an install.adb file in its program directory (as I suspect does every other CS2 application) and this also does not get created by Wine; however, this seems to be of no consequence here, but may cause problems elsewhere perhaps?
http://bugs.winehq.org/show_bug.cgi?id=10085
Kathleen Murtagh kathleen@ceardach.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kathleen@ceardach.com
--- Comment #15 from Kathleen Murtagh kathleen@ceardach.com 2008-10-11 08:55:10 --- I have tested and confirmed that copying the install.arb file from the Photoshop directory on a windows installation does allow Bridge to work in Wine.
I have also discovered that you do need to copy the install.arb file from the Bridge directory in order to get Camera RAW working from within Bridge.
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #16 from Dan Kegel dank@kegel.com 2008-10-11 08:59:11 --- And I just verified that Photoshop CS2's File / Browse menu, which uses Bridge, still doesn't work on wine-1.1.6 (without copying install.arb). Time to fix this one.
http://bugs.winehq.org/show_bug.cgi?id=10085
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #17 from Austin English austinenglish@gmail.com 2009-01-18 03:46:00 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
--- Comment #18 from Austin English austinenglish@gmail.com 2009-01-18 03:46:10 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=10085
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://download.adobe.com/p | |ub/adobe/photoshop/win/cs2/ | |Photoshop_CS2.exe CC| |kennybobs@o2.co.uk Version|unspecified |1.1.6
--- Comment #19 from Ken Sharp kennybobs@o2.co.uk 2009-05-23 21:07:26 --- Is this still an issue?
No response from bug report in 18 months.
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #20 from Kathleen Murtagh kathleen@ceardach.com 2009-05-24 00:29:42 --- (In reply to comment #19)
Is this still an issue?
No response from bug report in 18 months.
The last time I tried this about two months ago, I still referred to this ticket for solving this problem.
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #21 from Ken Sharp kennybobs@o2.co.uk 2009-05-26 21:09:26 --- Looks like this affects the new Photoshop Elements too. Very similar message when trying to use the trial.
http://bugs.winehq.org/show_bug.cgi?id=10085
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l-e.englund@bredband.net
--- Comment #22 from Ken Sharp kennybobs@o2.co.uk 2009-05-27 15:12:52 --- *** Bug 18634 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=10085
Dimitar Zlatkov d.zlatkov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |d.zlatkov@gmail.com
--- Comment #23 from Dimitar Zlatkov d.zlatkov@gmail.com 2010-08-06 00:14:06 --- (In reply to comment #19)
Is this still an issue?
No response from bug report in 18 months.
This is still an issue with today's version of wine 1.2.
http://bugs.winehq.org/show_bug.cgi?id=10085
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #24 from butraxz@gmail.com 2012-05-17 15:02:40 CDT --- This bug has not been updated for two years. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
http://bugs.winehq.org/show_bug.cgi?id=10085
Dylan Taylor aliendude5300@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aliendude5300@gmail.com
--- Comment #25 from Dylan Taylor aliendude5300@gmail.com 2013-01-10 23:40:35 CST --- I can confirm that this is an issue still with the current version of wine (1.5.21).
http://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #26 from Ken Sharp kennybobs@o2.co.uk 2013-07-16 10:13:14 CDT --- Still present in wine-1.6-rc4.
http://bugs.winehq.org/show_bug.cgi?id=10085
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |15111
http://bugs.winehq.org/show_bug.cgi?id=10085
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |19344
https://bugs.winehq.org/show_bug.cgi?id=10085
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer CC| |focht@gmx.net Component|-unknown |msi Hardware|Other |x86 OS|other |Linux
--- Comment #27 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
The file in question is created during a custom action in a temp location 'C:\users\focht\Temp\install.adb'.
The same action inserts an entry into 'MoveFile' table to have the file moved to its final location.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+msi wine msiexec -i Adobe\ Bridge\ 1.0.msi
log.txt 2>&1
... 0023:trace:msi:ACTION_PerformUIAction Performing action (L"AMT_WriteInstallationMetadata") ... 0023:trace:msi:ACTION_CustomAction Handling custom action L"AMT_WriteInstallationMetadata" (1 L"AppManagementCALib.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6" L"AMT_WriteInstallationMetadata") ... 0023:trace:msi:HANDLE_CustomType1 Calling function L"AMT_WriteInstallationMetadata" from L"C:\users\focht\Temp\msi44ef.tmp" ... 0025:trace:msi:ACTION_CallDllFunction calling L"AMT_WriteInstallationMetadata" ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1058 "(Adobe) BEGIN - AMT_WriteInstallationMetadata ") ret=00590d5c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b0fa0 "(Adobe) Requesting property: INSTALLDIR ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b10c8 "(Adobe) Value: C:\Program Files\Adobe\Adobe Bridge\ ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b10b0 "(Adobe) Writing XML to filepath: C:\users\focht\Temp\install.adb ") ret=0059110c ... 0025:Call KERNEL32.CreateFileA(017b0cf0 "C:\users\focht\Temp\install.adb",40000000,00000003,019be5dc,00000002,00000080,00000000) ret=005a12b5 0025:Ret KERNEL32.CreateFileA() retval=00000094 ret=005a12b5 ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1110 "(Adobe) Requesting property: ProductName ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b11a8 "(Adobe) Value: Adobe Bridge 1.0 ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1110 "(Adobe) Requesting property: ProductCode ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1210 "(Adobe) Value: {B74D4E10-1033-0000-0000-000000000001} ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1110 "(Adobe) Requesting property: UpgradeCode ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1210 "(Adobe) Value: {B74D4E10-1033-0000-0000-8747ADE00001} ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1110 "(Adobe) Requesting property: PackageCode ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1210 "(Adobe) Value: {FF104279-7BA2-4C5D-A6AB-49ADA9CE25F1} ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1110 "(Adobe) Requesting property: SIFFullPath ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1210 "(Adobe) Value: C:\Program Files\Adobe\Adobe Bridge\0 ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1110 "(Adobe) Requesting property: CSAFullPath ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1210 "(Adobe) Value: C:\Program Files\Adobe\Adobe Bridge\0 ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b11c0 "(Adobe) Setting property: AMTMetadataXmlSrc.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6 ") ret=0059110c ... 0025:Call msi.MsiSetPropertyA(00000002,017b0a88 "AMTMetadataXmlSrc.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6",017b1008 "C:\users\focht\Temp\install.adb") ret=005926b9 ... 0025:Call msi.MsiRecordSetStringA(00000003,00000000,017b1188 "(Adobe) New value: C:\users\focht\Temp\install.adb ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000005,00000001,017b3500 "MoveXML.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6") ret=0058ed54 ... 0025:Call msi.MsiRecordSetStringA(00000005,00000002,017b3510 "AppMetadata.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6") ret=0058ed54 ... 0025:Call msi.MsiRecordSetStringA(00000005,00000005,017b3510 "AMTMetadataXmlSrc.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6") ret=0058ed54 ... 0025:Call msi.MsiRecordSetStringA(00000005,00000006,017b3500 "INSTALLDIR.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6") ret=0058ed54 ... 0025:trace:msi:MSI_DatabaseOpenViewW L"select * from `_Columns` where `Table` = 'MoveFile'" 0x19be178 ... 0025:Call msi.MsiDatabaseOpenViewA(00000004,017b3660 "Select * FROM `MoveFile`",019be58c) ret=0058ef25 0025:trace:msi:MsiDatabaseOpenViewA 4 "Select * FROM `MoveFile`" 0x19be58c ... 0025:trace:msi:MSI_ParseSQL Parse returned 0 0025:trace:msi:alloc_msihandle 0x6c8260 -> 6 ... 0025:Ret msi.MsiDatabaseOpenViewA() retval=00000000 ret=0058ef25 0025:Call msi.MsiViewModify(00000006,00000007,00000005) ret=0058ef40 0025:trace:msi:MsiViewModify 6 7 5 ... 0025:Ret msi.MsiViewModify() retval=00000000 ret=0058ef40 ... 0025:Call msi.MsiRecordSetStringA(00000005,00000000,017b3640 "(Adobe) Made MoveFile Table entry ") ret=0059110c ... 0025:Call msi.MsiRecordSetStringA(00000004,00000000,017b36b0 "(Adobe) END - AMT_WriteInstallationMetadata ") ret=00590d5c ... 0025:trace:msi:DllThread custom action (25) returned 0 --- snip ---
The temp file 'C:\users\focht\Temp\install.adb' content:
--- snip --- <?xml version="1.0" encoding="UTF-8" ?> <ApplicationInfo> <ProductName>Adobe Bridge 1.0</ProductName><ProductCode>{B74D4E10-1033-0000-0000-000000000001}</ProductCode><UpgradeCode>{B74D4E10-1033-0000-0000-8747ADE00001}</UpgradeCode><PackageCode>{FF104279-7BA2-4C5D-A6AB-49ADA9CE25F1}</PackageCode><SIFPath>C:\Program Files\Adobe\Adobe Bridge\0</SIFPath><CSAPath>C:\Program Files\Adobe\Adobe Bridge\0</CSAPath><ProductLanguage>1033</ProductLanguage><ProductVersion>001.000.000</ProductVersion><ALLUSERS>1</ALLUSERS><InstallDate>6/9/2014</InstallDate><InstallTime>10:45:58</InstallTime><InstallSourceDir>Z:\home\focht\Downloads</InstallSourceDir><MSIDatabaseVersion>400</MSIDatabaseVersion><MSIRuntimeVersion>4.5</MSIRuntimeVersion></ApplicationInfo> --- snip ---
MSI 'MoveFile' table is initially empty and gets filled at runtime during custom actions.
ORCA dump:
--- snip --- FileKey Component_ SourceName DestName SourceFolder DestFolder Options s72 s72 L255 L255 S72 s72 i2 --- snip ---
Entries are inserted with columns 5,6,7 set to sane values.
Now the culprit ... Wine's handling of 'MoveFiles'
--- snip --- ... 0023:trace:msi:ACTION_PerformUIAction Performing action (L"MoveFiles") ... 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"Action start 12:46:02: MoveFiles." ... 0023:trace:msi:msi_get_property returning L"C:\users\focht\Temp\install.adb" for property L"AMTMetadataXmlSrc.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6" ... 0023:trace:msi:msi_get_property returning L"C:\Program Files\Adobe\Adobe Bridge\" for property L"INSTALLDIR.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6" ... 0023:Call KERNEL32.GetFileAttributesW(006c7ef0 L"C:\users\focht\Temp\install.adb") ret=7ecfbfc1 0023:Ret KERNEL32.GetFileAttributesW() retval=00000020 ret=7ecfbfc1 ... 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 200 L"File: MoveXML.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6, Directory: C:\Program Files\Adobe\Adobe Bridge\, Size: 1" ... 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"Action ended 12:46:02: MoveFiles. Return value 0." --- snip ---
No actual 'move' happened here.
Debugger session:
--- snip --- Wine-dbg>bt
Backtrace: =>0 0x7ecfbfa5 ITERATE_MoveFiles+0x17c(rec=0xa36d08, param=0x142390) [/home/focht/projects/wine/wine.repo/src/dlls/msi/files.c:815] in msi (0x0033f7c8) 1 0x7ed16917 MSI_IterateRecords+0x8a(view=0xa34e60, count=0x0(nil), func=0x7ecfbe29, param=0x142390) [/home/focht/projects/wine/wine.repo/src/dlls/msi/msiquery.c:188] in msi (0x0033f7f8) 2 0x7ecfc3ea ACTION_MoveFiles+0x64(package=0x142390) [/home/focht/projects/wine/wine.repo/src/dlls/msi/files.c:916] in msi (0x0033f828) 3 0x7eccfece ACTION_HandleStandardAction+0xc3(package=0x142390, action="MoveFiles", rc=0x33f8a8) [/home/focht/projects/wine/wine.repo/src/dlls/msi/action.c:7619] in msi (0x0033f878)
Wine-dbg>info locals
0x7ecfbfa5 ITERATE_MoveFiles+0x17c: (0033f7c8) MSIRECORD* rec=0xa36d08 (parameter [EBP+8]) LPVOID param=0x142390 (parameter [EBP+12]) MSIPACKAGE* package=0x142390 (local [EBP-32]) MSIRECORD* uirow=(nil) (local [EBP-76]) MSICOMPONENT* comp=0x1cdb40 (local [EBP-40]) LPCWSTR sourcename=0x0(nil) (local [EBP-52]) LPCWSTR component="AppMetadata.63EDEF4F_3240_49D0_A302_3AE1D1DA43F6" (local [EBP-36]) LPWSTR sourcedir="C:\users\focht\Temp\install.adb" (local [EBP-60]) LPWSTR destname=0x0(nil) (local [EBP-12]) LPWSTR destdir="C:\Program Files\Adobe\Adobe Bridge" (local [EBP-16]) LPWSTR source=0x0(nil) (local [EBP-20]) LPWSTR dest=0x0(nil) (local [EBP-24]) int options=0x1 (local [EBP-56]) DWORD size=0 (local [EBP-28]) BOOL wildcards=0x33f7c8 (local [EBP-64]) --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/7974b12ab1d452a4ae6b7488be25ab93f...
--- snip --- 784 static UINT ITERATE_MoveFiles( MSIRECORD *rec, LPVOID param ) 785 { 786 MSIPACKAGE *package = param; 787 MSIRECORD *uirow; 788 MSICOMPONENT *comp; 789 LPCWSTR sourcename, component; 790 LPWSTR sourcedir, destname = NULL, destdir = NULL, source = NULL, dest = NULL; 791 int options; 792 DWORD size; 793 BOOL wildcards; ... 807 sourcename = MSI_RecordGetString(rec, 3); 808 options = MSI_RecordGetInteger(rec, 7); 809 810 sourcedir = msi_dup_property(package->db, MSI_RecordGetString(rec, 5)); 811 if (!sourcedir) 812 goto done; 813 814 destdir = msi_dup_property(package->db, MSI_RecordGetString(rec, 6)); 815 if (!destdir) 816 goto done; 817 818 if (!sourcename) 819 { 820 if (GetFileAttributesW(sourcedir) == INVALID_FILE_ATTRIBUTES) 821 goto done; 822 823 source = strdupW(sourcedir); 824 if (!source) 825 goto done; 826 } ... 840 wildcards = strchrW(source, '*') || strchrW(source, '?'); 841 842 if (MSI_RecordIsNull(rec, 4)) 843 { 844 if (!wildcards) 845 { 846 destname = strdupW(sourcename); 847 if (!destname) 848 goto done; 849 } 850 } ... --- snip ---
The custom action didn't set 'SourceName' and 'DestName' for the entry (both are nullable, see http://msdn.microsoft.com/en-us/library/aa370055%28v=vs.85%29.aspx).
'SourceFolder' and 'DestFolder' are the important ones, everything missing (nullable columns) must be derived in this case.
If you fix that the trial works (already tested).
$ sha1sum Photoshop_CS2.exe 88ee09b7a2030d82c9154dd3419252cd6e2db165 Photoshop_CS2.exe
$ du -sh Photoshop_CS2.exe 330M Photoshop_CS2.exe
$ wine --version wine-1.7.19-70-gd6a59f7
Regards
https://bugs.winehq.org/show_bug.cgi?id=10085
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #28 from Sebastian Lackner sebastian@fds-team.de --- @Anastasius: Thanks for the nice analysis (as usual) ;)
This patch seems to fix it for me, can someone confirm?
https://github.com/compholio/wine-compholio/blob/master/patches/msi-MoveFile...
https://bugs.winehq.org/show_bug.cgi?id=10085
--- Comment #29 from Hans Leidekker hans@meelstraat.net --- Is this fixed by 582f2640d2828da6d010d27715a30e13d0dc8adf?
https://bugs.winehq.org/show_bug.cgi?id=10085
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |582f2640d2828da6d010d27715a | |30e13d0dc8adf Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #30 from Anastasius Focht focht@gmx.net --- Hello Hans,
thanks for reminder, yes it was fixed by commit http://source.winehq.org/git/wine.git/commitdiff/582f2640d2828da6d010d27715a...
Thanks Sebastian
--- snip --- $ pwd /home/focht/.wine/drive_c
$ find . -name install.adb -exec file {} ; ./Program Files/Adobe/Adobe Photoshop CS2/install.adb: XML document text ./Program Files/Adobe/Adobe Bridge/install.adb: XML document text ./Program Files/Adobe/Adobe Help Center/install.adb: XML document text --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=10085
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #31 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.31.