<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/Conditional-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

Reply via email to