http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Jacob Moonen [mailto:jacob.moo...@prognosis.com] 
Sent: 27 April 2010 07:03
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Replacing welcome dialog with custom dialog

Hi,

 

I am using the WixUI_InstallDir sequence and refer to the WixUIExtension
dll in my project. I want to replace the WelcomeDlg dialog with my own,
so that I can control the text displayed.  I want to show a different
text when upgrading (as compared to a fresh install).  I also want to
replace the VerifyReadyDlg and ExitDlg with my own for the same reason.
I have seen some posts describing what to do for the welcome dialog.  I
can add my own welcome dialog,   but I cannot get rid of the original
welcome dialog.  I want to override it so that it only shows when not
upgrading, but I cannot.  

 

If I specify something like    

 

<InstallUISequence>

 

      <FindRelatedProducts Before="LaunchConditions"/>

      <Show Dialog="WelcomeDlg" Before="ProgressDlg">NOT
PREVIOUSFOUND</Show>

      

</InstallUISequence>

 

I get the compile error

 

Error      2              

The InstallUISequence table contains an action 'WelcomeDlg' that is
declared in two different locations.  Please remove one of the actions
or set the Overridable='yes' attribute on one of their elements.


 

If I set the Overridable attribute in the code above, it compiles, but I
get the original behaviour. In Orca, I can see that the condition for
the WelcomeDlg is 'NOT Installed'.  If I edit the .msi with Orca and
change the condition to 'NOT PREVIOUSFOUND', it works, but of course I
don't want to do that.

 

I assume that the default WelcomeDlg is defined in the compiled
WixUIExtension.  So is the solution not to use WixUIExtension and define
my own sequence entirely?

 

Any tips?

 

Jaco


_____________________________________________________________________ 

This email is intended only for the use of the individual or entity
named above and may contain information that is confidential and/or
privileged. If you are not the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this Email
is strictly prohibited. If you have received this Email in error, please
notify us immediately by return email or telephone +61 2 9966 1066 and
destroy the original message. Thank You
_______________________________________________________________________
------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to