You're going to end up with an InstallDir overlayed with your Publish 
changes--this is not a recipe for success.  The way that works is to take the 
InstallDir UI from source, modify it to your liking, and that put a <UIRef> in 
your product.wxs to a unique Id for your customized version of the InstallDir 
UI.  This is the approach I use on the majority of my installers.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com 




-----Original Message-----
From: Tony White [mailto:twh...@ent.com] 
Sent: Wednesday, July 31, 2013 3:11 PM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Having trouble modifying a Built-in WixUI dialog set

I posted this on stackoverflow 
http://stackoverflow.com/questions/17952469/having-trouble-modifying-a-built-in-wixui-dialog-set
 with no answers yet, so I thought I would try here.

I am trying to hide the license agreement from the built-in WixUI_InstallDir 
dialog set. I found some helpful instruction 
http://www.howdoicode.net/2011/09/wix-how-to-hide-license-agreement.html

I've added this to the Product.wxs:

<UI Id="InstallDir">
  <UIRef Id="WixUI_InstallDir" />
  <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" 
Value="InstallDirDlg">NOT Installed</Publish>
  <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" 
Value="WelcomeDlg">1</Publish> </UI>

The next button on the welcome dialog happily goes to the install directory 
dialog, but the back button of InstallDirDlg goes to the license agreement.
Any ideas would be appreciated.

Thanks,

Tony




This Email is covered by the Electronic Communication Privacy Act, 18 U.S.C 
2510-2521 and may be legally privileged. The information contained in this 
Email is intended only for the use of the individual or entity named above. If 
the reader of this message is not the intended recipient, or the employee or 
agent responsible to deliver it to the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this communication in error please 
immediately notify us by telephone and destroy the original message.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent caught 
up. So what steps can you take to put your SQL databases under version control? 
Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to