I can't seem to find this in my version of WiX 2.0.4820.0

 

________________________________

From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 16, 2007 2:57 PM
To: Don Tasanasanta; wix-users@lists.sourceforge.net
Subject: RE: Re: [WiX-users] Intercepting SQL errors and displaying
custom error

 

Take a look at wix\src\ext\SqlExtension\wixlib\en-us.wxl.  You'll see
everything there is overridable.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don
Tasanasanta
Sent: Friday, March 16, 2007 2:13 PM
To: Don Tasanasanta; Rob Mensching; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Intercepting SQL errors and displaying custom
error

 

I'm searching the wixlib's for the sql error strings and only found them
in the sca.wixlib

 

None of the tuple's defined in the sql section has localization
variables and I haven't found associating fields in the wixui.wixlib

 

Does that mean that the sql errors have not been localized? In which
case, does that mean that a wxl file won't do the trick in intercepting
sql errors and substituting my own custom errors? 

 

________________________________

From: Don Tasanasanta 
Sent: Friday, March 16, 2007 1:06 PM
To: Don Tasanasanta; Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Intercepting SQL errors and displaying custom
error

 

Ok maybe I don't understand .wxl files that well... 

 

I found the identifier in the error table, created a .wxl file and used
light with a -loc to my wxl file and a reference to my rsp file. 

 

When all was said and done I checked the error table but the error
identifier I tried to replace wasn't changed. 

 

Here is my wxl file:

 

<?xml version='1.0'?> 

<WixLocalization
xmlns='http://schemas.microsoft.com/wix/2003/01/localization'
Codepage='1252'>

   <String Id='LANG'>1033</String>

   <String Id='26201'>la la la la la</String>

</WixLocalization>

 

I'm trying to replace the string 26201 in the error table.

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don
Tasanasanta
Sent: Thursday, March 15, 2007 5:35 PM
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Intercepting SQL errors and displaying custom
error

 

I think I understand the use of .wxl files and I've found the sql errors
within the sca.wixlib.

 

How do I identify the sql errors within my personal .wxl? Do I simply
copy from <section type=fragment> to </section> of the sql errors into
my own .wxl, substitute my own error msgs, and then link it?

 

Is it that easy?

 

________________________________

From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 14, 2007 4:46 PM
To: Don Tasanasanta; wix-users@lists.sourceforge.net
Subject: RE: Intercepting SQL errors and displaying custom error

 

Yes.  Provide a .wxl file for the localization identifiers defined the
.wixlib.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don
Tasanasanta
Sent: Wednesday, March 14, 2007 3:34 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Intercepting SQL errors and displaying custom error

 

Is there a way to intercept SQL install errors and display my own custom
error(s)? 

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to