If using WiX v2, link with wixui.wixlib and WixUI_en-us.wxl:

 

light -out mypackage.msi wixobj-files path-to-wix\wixui.wixlib -loc
path-to-wix\WixUI_en-us.wxl

 

If you want one of the other translations, specify de-de, es-es or nl-nl in
place of en-us.

 

If using WiX v3, call the WixUIExtension and specify the cultures switch:

 

light -out mypackage.msi wixobj-files -ext WixUIExtension -cultures:en-us

 

-- 

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ralf Lammel
Sent: 18 November 2006 16:23
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to get off the ground with WixUI_Minimal?

 

I was trying to use <UIRef Id="WixUI_Minimal"/> in an installer.

When I place such an UIRef in the wix file, then build fails because
"WixUI_Minimal" is not defined.

So I tried to add libraries from C:\Program Files\Windows Installer XML
v3\bin\

(Just guessing that this would be necessary.)

Indeed, the reference to WixUI_Minimal is gone, but there are 200 error
messages in turn.

They are all of this form:

 

Error     1          The localization variable !(loc.ErrorDlgErrorText) is
unknown.  Please ensure the variable is defined.
E:\delivery\Dev\wix_public\src\ext\uiextension\wixlib\ErrorDlg.wxs  17
1          WixProject1

 

 

Simple WIX project follows below.

So my question is this one: From where to get al the localization info?

 

Thanks,

Ralf

 

 

<?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>

           <Product Id="bc80a650-f375-48b6-822c-90062a7f4dee"
Name="PUT-PRODUCT-NAME-HERE" Language="1033" Version="1.0.0.0"
Manufacturer="PUT-COMPANY-NAME-HERE"
UpgradeCode="1aaf9c0c-4332-4c81-a497-2b9e3c3bb48a">

           <Package InstallerVersion="200" Compressed="yes" />

 

           <Media Id="1" Cabinet="WixProject1.cab" EmbedCab="yes" />

 

           <Directory Id="TARGETDIR" Name="SourceDir">

                <Directory Id="ProgramFilesFolder">

                     <Directory Id="INSTALLLOCATION" Name="Foo"
FileSource=".">

 

                           <Component Id="ProductComponent"
Guid="9bdf4c7f-51c5-4406-8af3-d14c8085eab5">

                                <!-- TODO: Insert your files, registry keys,
and other resources here. -->

            <File Id="xx" Name="TextFile1.txt"/>

                           </Component>

 

                     </Directory>

                </Directory>

           </Directory>

 

           <Feature Id="ProductFeature" Title="PUT-FEATURE-TITLE-HERE"
Level="1">

                <ComponentRef Id="ProductComponent" />

           </Feature>

 

      <UIRef Id="WixUI_Minimal"/>

      

     </Product>

</Wix>

 

-------------------------------------------------------------------------
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