[Bug 6042] Adobe Photoshop Elements 4 trial installer requires serial number from ini file

Wine Bugs wine-bugs at winehq.org
Tue Oct 10 15:49:34 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=6042





------- Additional Comments From truiken at gmail.com  2006-10-10 15:49 -------
I've sent in a patch to fix the first problem.  The installer looks for the
SOURCEDIR property to find the Abcpy.ini file that contains the serial, but  the
SOURCEDIR property was not set correctly.  My patch correctly set SOURCEDIR in
the ResolveSource action, but we run into another problem now.  The
CA_GetUserInfo custom action occurrs in both the InstallExecuteSequence and
InstallUISequence tables.  Here are the values compared with the ResolveSource
action:

InstallExecuteSequence  InstallUISequence
------------------------------------------
ResolveSource  850      CA_GetUserInfo 925
CA_GetuserInfo 862      ResolveSource  960

The way Wine's msi works right now, if an install is a UI install, we run
through the InstallUISequence, and then the InstallExecuteSequence.  This means
CA_GetUserInfo runs before ResolveSource and SOURCEDIR won't be set.  I have a
log of the install run in Windows, and it shows that native actually joins the
two tables together when doing a UI install and runs the new table, in order. 
In this case, ResolveSource gets called before CA_GetUserInfo and SOURCEDIR is
set.  I'm in the process of writing a test case for this and I have a patch for
the fix on the way too.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list