Ok, I did a lot of web-crawling and found what looks like an answer on  
the platformsdk.msi forums.

<http://groups.google.com/group/microsoft.public.platformsdk.msi/browse_thread/thread/96a285f3e12e15d0/4e1782623b8e6d33?lnk=gst&q=2229#4e1782623b8e6d33
 
 >

Eitan: the transforms are encoded into each language's code page  
specifically.
 From the thread above, it appears that when doing a minor upgrade,  
the transform from the upgrade-ee is used - while the msi is recached  
(due to the /fv switch i presume). This would essentially cause a  
mismatch. The same error will pop up if i use the msi file from the  
minor upgrade and try and transform it using the old mst file.

So essentially, one can't depend on localizable fields being populated  
via a transform in the case of a minor upgrade.

Two solutions come to mind:
in the case of the structure of the localizable fields changing;
  - perform a major upgrade - though it would be a bit weird to do  
this absolutely 'properly' since a version upgrade might not really be  
warranted if the binaries have not changed too much. I have noticed  
however, that a major upgrade can be performed pretty cleanly just by  
changing the product GUID.
  - perform a minor upgrade, and run the installer in basic ui mode  
(for me, this is possible since the decision is made by the  
boostrapper).

regards,
./Ali

On Dec 5, 2008, at 9:52 PM, [EMAIL PROTECTED]  
wrote:

> Message: 1
> Date: Fri, 05 Dec 2008 15:20:14 +0200
> From: Eitan Behar <[EMAIL PROTECTED]>
> Subject: Re: [WiX-users] Error 2229 when initiating a minor   upgrade
>       (when   upgrading an installation based on a transform).
> To: "'General discussion for Windows Installer XML toolset.'"
>       <wix-users@lists.sourceforge.net>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=utf-8
>
> Just a thought, are the sql strings/scripts plain ASCII/UTF-8, or  
> you have special encoding there?
>
>
> -----Original Message-----
> From: Rob Mensching [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 05, 2008 3:10 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Error 2229 when initiating a minor upgrade  
> (when upgrading an installation based on a transform).
>
> The following is very bad:
>
> MSI (c) (08:7C) [22:13:14:100]: Database string pool is corrupted.
>
> Nothing will work correctly if the strings in the MSI are  
> corrupted.  I have no idea what corrupted them.
>
> -----Original Message-----
> From: Ali-Akber Saifee [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 05, 2008 04:49
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Error 2229 when initiating a minor upgrade  
> (when upgrading an installation based on a transform).
>
> Hi,
>
> There's a whole bunch of statements with "Database string pool is
> corrupted.".
> Finally there's :
>
> "Er is een onverwachte fout opgetreden tijdens de installatie van dit
> pakket. Dit kan wijzen op een probleem met dit pakket. De foutcode  
> is 2229.
> De argumenten zijn: , Control,
> SELECT `Control`, `Type`, `X`, `Y`, `Width`, `Height`, `Attributes`,
> `Property`, `Text`, `Control_Next`, `Help` FROM `Control` WHERE  
> `Dialog_`=?
> MSI (c) (08:7C) [22:13:23:512]: Transforming table Error.
> MSI (c) (08:7C) [22:13:23:513]: Product: muvee Reveal -- Er is een
> onverwachte fout opgetreden tijdens de installatie van dit pakket.  
> Dit kan
> wijzen op een probleem met dit pakket. De foutcode is 2229. De  
> argumenten
> zijn: , Control, SELECT `Control`, `Type`, `X`, `Y`, `Width`,  
> `Height`,
> `Attributes`, `Property`, `Text`, `Control_Next`, `Help` FROM  
> `Control`
> WHERE `Dialog_`=?
> Actie be?indigd 22:13:23: FatalError. Retourwaarde 3."
>
> But that's in dutch :)
>
> I'm not sure if i can attach the entire log.. but I can send that  
> privately.
>
>
> another observations, running the upgrade with basic ui (/qb) works  
> fine.
>
> rgrds,
> ./Ali

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to