1 - <Show Dialog="ExtraConfigDlg" OnExit="success"><![CDATA[(REMOVE <>
"ALL") AND NOT Installed]]></Show>

2 -
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
and Condition the ExitDialog with "Installed" in the InstallUISequence
so they're mutually exclusive.

FYI an easier/proper way to do it would be to get the user information
out of the user before the InstallExecuteSequence not after (that is
sort of the whole point of the InstallUISequence). Then you wouldn't
have to care about modifying the ExitDialog sequencing, simply show your
dialog asking for input before the VerifyReadyDlg which is trivial to do
as Neil S's blog page shows.

Also how well does your app install or run after installation in
basic/quiet UI (run "msiexec /i <msiname> /qb" or "msiexec /i <msiname>
/qn") with this?

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: gapearce [mailto:mr_gapea...@yahoo.com] 
Sent: 14 June 2010 15:56
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Conditional dialog display when uninstalling


<WARNING>
Another NOOB alert...
</WARNING>

After all of my files get installed, I need to prompt for some
additional configuration information.

I created a custom dialog to do this.  It has a couple check boxes on
it.

I would like to NOT have this dialog run at all if the user is removing
the product via uninstall.

Note: InitializeSettings is a DLL function that sets some properties.

To get the dialog to display right after installing the files, I put
this code in my fragment:

<InstallUISequence>
  <Custom Action="InitializeSettings"
After="ExecuteAction"><![CDATA[(REMOVE
<> "ALL")]]>
</Custom>
      <Show Dialog="ExtraConfigDlg" OnExit="success"><![CDATA[(REMOVE <>
"ALL")]]></Show> </InstallUISequence>

But this dialog, (and "InitializeSettings") runs on uninstall, too.

I would like to have the last dialog in my stuff (the WixExitDlg dialog)
to show instead of this one, when the user is uninstalling.  

How can I accomplish this?

Thanks
Greg

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Conditiona
l-dialog-display-when-uninstalling-tp5177778p5177778.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's
Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit.  See the
prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to