Hi Bob.
I am at a lost here.....
This is what I am trying.... I need to change the UI of the WIXUI_ADvance
sequence.
In particular the issue I have is that I am adding a launch to the release
notes after the package instalation, I followed the WIX help files to do this,
and it worked great, but the problem I am having is the one in the attached
picture. Basically the position of teh check box and the color.
Trying to make some sense of what you state below, I know I have to modify the
UserExit dialog of the Advance UI. So I did this:
Copy from the sources the WixUI_Advanced.wxs and renamed it to
MyWixUI_Advanced.wxs
I replaced:
<UI Id="WixUI_Advanced"> by
<UI Id="MyWixUI_Advanced">
In my product.wxs file I also changed the UIref to <UIRef Id="MyWixUI_Advanced"
/>
Before I even try to do anythign else, I wanted to kow if this works just out
of the box, with no changes. Notice I think this is what you mentioned below to
do, but instead to copu and paste the whole UI_Advance code unde fragment, I
prefer to put it in a file.
When I build with the below lines, I get a buchn of errors, that seems to refer
to the original WIXUI_Advance.
What I am missing?
> c:\XYZ\public\ext\wix\wixv3\candle.exe -nologo -ext "WixUIExtension" -ext
> "WixUtilExtension" -ext "WixVSExtension" -ext WiXNetFxExtension
> -dCommandLine=true -out c:\XYZ\target\retail\i386\bananas.wixobj
> .\bananas.wxs & if errorlevel 1 echo NMAKE : CANDLE: error compiling
> .\bananas.wxs
1>bananas.wxs
1> set BUILDVERSION=0.16.21.0
1> set OBJDIR=c:\XYZ\target\retail\i386
1> set TARGETPATH=c:\XYZ\target\retail
1> echo Build_Status Compiling - Candle .\MyWixUI_Advanced.wxs
MyWixUI_Advanced.wixobj
1>Build_Status Compiling - Candle .\MyWixUI_Advanced.wxs MyWixUI_Advanced.wixobj
1> c:\XYZ\public\ext\wix\wixv3\candle.exe -nologo -ext "WixUIExtension" -ext
"WixUtilExtension" -ext "WixVSExtension" -ext WiXNetFxExtension
-dCommandLine=true -out c:\XYZ\target\retail\i386\MyWixUI_Advanced.wixobj
.\MyWixUI_Advanced.wxs & if errorlevel 1 echo NMAKE : CANDLE: error compiling
.\MyWixUI_Advanced.wxs
1>MyWixUI_Advanced.wxs
1> echo Build_Status Building - c:\XYZ\target\retail\i386\bananas.msi ...
1>Build_Status Building - c:\XYZ\target\retail\i386\bananas.msi ...
1> c:\XYZ\public\ext\wix\wixv3\light.exe -nologo -ext "WixUIExtension"
-cultures:en-us -ext "WixUtilExtension" -ext "WixVSExtension" -ext
WiXNetFxExtension -dCommandLine=true -sice:ICE47
c:\XYZ\target\retail\i386\bananas.wixobj
c:\XYZ\target\retail\i386\MyWixUI_Advanced.wixobj -out
c:\XYZ\target\retail\i386\bananas.msi
1>C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\WixUI_Advanced.wxs(40)
: error LGHT0091 : Duplicate symbol 'CustomAction:WixSetDefaultPerUserFolder'
found.
1>c:\XYZ\private\source\XYZ\SDK\Setup\WiXSetup\Product\MyWixUI_Advanced.wxs(38)
: error LGHT0092 : Location of symbol related to previous error.
1>c:\XYZ\private\source\XYZ\SDK\Setup\WiXSetup\Product\MyWixUI_Advanced.wxs(39)
: error LGHT0091 : Duplicate symbol
'CustomAction:WixSetDefaultPerMachineFolder' found.
1>C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\WixUI_Advanced.wxs(41)
: error LGHT0092 : Location of symbol related to previous error.
1>C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\WixUI_Advanced.wxs(40)
: error LGHT0091 : Duplicate symbol 'CustomAction:WixSetDefaultPerUserFolder'
found.
Thanks
Andres
> Date: Tue, 2 Jun 2009 08:15:30 -0400
> From: b...@joyofsetup.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Question about "Customizing Built-in WixUI Dialog
> Sets" topic
>
> Andres Juarez wrote:
> > So in my case, if I want to chage the PrepareDlg in the
> > WixUI_InstallDir.wxs. I have to copy the whole PrepareDlg fragment into my
> > project, rename it to <Dialog Id="MyPrepareDlg" change what I want to
> > change, then edit the WixUI_InstallDir.wxs from
>
> You don't want to edit the WiX copy of anything. Think of it as a "copy
> on write" operation: Anything you want to edit, you need to copy into
> your own project. By renaming all the symbols, you can keep referring to
> the WixUI copy of other dialogs, strings, etc. and you never need to
> rebuild WixUIExtension.dll. If it's a simple change, just copy the files
> and add them to your .wixproj. Also, see
> http://www.joyofsetup.com/2008/01/02/wixui-extensibility/.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users