The WixExtensions extend the compiler/linker and provide embedded .wixlibs
to do provide functionality that is not built-in. For example, the
WixUtilExtension adds custom elements so you can do things like manipulate
XML files (aka: XmlFile and XmlConfig). When you use one of those custom
elements WixUtilExtension, also brings in the necessary setup code (as part
of a .wixlib) to ensure the custom action (because MSI does not support
modifying XML files natively) is correctly configured.

The WixUIExtension is basically the container for a very large .wixlib that
provides all sorts of different UI functionality (becuase MSI dos not
provide full UI by default). You reference one thing in the WixUIExtension
using a <UIRef/> and the extension provides the .wixlib that implements all
the UI.

Basically, the WixExtensions encapsulate the complex code and makes it look
really easy.


On Wed, Jun 20, 2012 at 6:46 AM, eddie burkowich
<eddieburkow...@gmail.com>wrote:

> Hi,
>
> I would like to know the utility/need of the - ext WixUtilExtension and
> -ext WixUIExtension while using the candle.exe and light.exe , i am higly
> confused with it .
>
> as earlier i was trying to build the msi as follows:
>
> candle.exe main.wxs -dPlatform=x86 -ext WixUtilExtension
> candle.exe MyInstallDirDlg.wxs -dPlatform=x86 -ext WixUtilExtension-I have
> modified the dialog InstallDirDlg
> candle.exe MyInstallPref.wxs -dPlatform=x86 -ext WixUtilExtension-i have
> modified the InstallDirDlg
> candle.exe MyWixUI_InstallDir.wxs -dPlatform=x86 -ext WixUtilExtension
>
>  light.exe impression.wixobj -dWixUILicenseRtf=License.rtf -ext
> WixUIExtension -ext WixUtilExtension -ext WixUtilextension
> MyInstallPref.wixobj MyInstallDirDlg.wixobj MyWixUI_InstallDir.wixobj -loc
> localization.wsl -o myproject.msi
>
> and there was no extra dialog MyInstallPref
>
> However now i build as follows
> candle.exe main.wxs -dPlatform=x86 -ext WixUtilExtension
> candle.exe MyInstallDirDlg.wxs
> candle.exe MyInstallPref.wxs
> candle.exe MyWixUI_InstallDir.wxs
>  light.exe impression.wixobj -dWixUILicenseRtf=License.rtf -ext
> WixUIExtension -ext WixUtilextension  MyInstallDirDlg.wixobj
> MyWixUI_InstallDir.wixobj MyInstallPref.wixobj -loc localization.wsl -o
> myproject.msi
>
> and the dialog is here , good news for me however i am still unknown for
> the cause
>
> Please help me guys !!!
> Thanks
> 'Eddie
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to