Cristian Baiu wrote:
For my UI I started to extend the WIX-Mondo UI. I have created a
project for the PrintEula custom action, one Wix Library project for
the mondo-UI wxs files and one project for the WIXUIExtension and
started to add my own stuff to the UI library.
In WiX v3, it's not necessary to "start over." You can add fragments to
your own projects that refer to the stock dialogs in WixUIExtension and
not need to create a new extension. Or, you can create your own .wixlib
of customizations and share that among multiple projects.
I have also created localized License.rtf files, one for each
localization I need (11 so far). But when going to WelcomeEulaDlg.wxs
I found no way to specify these localized files as the SourceFile of
the LicenseText control. I have tried some workarounds:
The SourceFile attribute in WixUIExtension is controllable via a
bind-time WixVariable. You can pass it on the command line just like
your -cultures switch to choose a localization. From the doc:
Specifying a license file
WixUIExtension.dll includes a default, placeholder license agreement. To
specify your product's license, override the default by specifying a WiX
variable named WixUILicenseRtf with the value of an RTF file that
contains your license text. You can define the variable in your WiX
authoring:
<WixVariable Id="WixUILicenseRtf" Value="bobpl.rtf" />
or at the *light* command line:
light -ext WixUIExtension -cultures:en-us -dWixUILicenseRtf=bobpl.rtf
Product.wixobj -out Product.msi
The file you specify must be in a directory *light* is looking in for
files. Use the *-b* switch to add directories.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users