IIRC Microsoft Update only truly supports one MSP per "Product" which is
defined as a ProductCode/ProductLanguage/ProductVersion combo when using the
MSP-based rules. If you are willing to completely "free-form" your
publishing XML (not base it on the MSP file itself) you can get around that.

The problem is that you will have to resort to your build creating/tweaking
your publishing XML if you are publishing to your test pubsuite from your
build or your test automation since you must update your IsInstalled and
other applicability rules in that XML.

You will get more success working with your liaison from the WUS team than
from this list, since they know about MSI and most on this list can't make
use of Microsoft Update.

-----Original Message-----
From: Lian Jiang [mailto:lji...@microsoft.com] 
Sent: Sunday, August 30, 2009 6:53 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Microsoft Update and MUI-based MSI/MSP

Hi,

My installer is MUI-based MSI file. In other words, the user can use this
MSI file to install the product on machines having different locales and the
installer wizard will show localed text. For example, the installer shows
english string for a machine having en-US locale and shows japanese string
for a machine having ja-JP locale.

Here is how we make this MUI-based MSI file:

Step 1: Build en-US (1033) loc locale msi

Step 2: Build ja-JP (1041) locale msi

Step 3: Generate MSI Transform files which transform en-us locale to other
locales (using torch.exe).

Step 4: Create MUI-based MSI using the transform files.



The process of building the MSP file is standard which builds PCP file first
and then generates the MSP file using msimsp.exe. Since the MSI file is
MUI-based, I think the MSP file is not also MUI-based. It means this MSP
contains multiple language IDs.



We created a software update in Microsoft Update author client using this
MSP file, But when submitting it to our pubsuite server of Microsoft Update,
I got below xml validation error.
Microsoft.UpdateServices.Publishing.PublishingXmlException: Invalid schema
error in Publishing XML. ---> The
'http://www.microsoft.com/msi/patch_applicability.xsd:TargetLanguage'
element is invalid - The value '1033,1041' is invalid according to its
datatype
'http://www.microsoft.com/msi/patch_applicability.xsd:ValidateLanguage' -
The string '1033,1041' is not a valid Int32 value.
Server stack trace:
   at
Microsoft.UpdateServices.Publishing.PublishUpdate.LoadXmlWithSchemaCheck(Str
ing xmlUpdates, XmlSchemaSet xsc, String errorSyntax, String errorSchema)
   at
Microsoft.UpdateServices.Publishing.PublishUpdate.StartSubmission(String
updatesXml)
   at
Microsoft.UpdateServices.Publishing.Server.PublishingServer.StartSubmission(
String updatesXml)
   at
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(In
tPtr md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
   at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(Run
timeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
   at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessa
ge msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
   at
Microsoft.UpdateServices.Publishing.AuthoringClient.AuthoringBackend.SubmitU
pdate()
   at
Microsoft.UpdateServices.Publishing.AuthoringClient.WorkingArea.SubmitButton
_Click(Object sender, EventArgs e)


I don't know whether Microsoft Update supports this kind of MUI-based
MSI/MSP? Does anybody have experience on making Microsoft Update work with a
MUI-based MSP?

Appreciate so much!

Thanks
Lian

----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to