Thanks for the suggestions Calin,
Preferably, I'd like to have the condition in the modified ExitDlg - I've
made a copy of it and using that instead. The existingproducts condition
did not seem to make any difference, the control code is as follows:
<Control Id="PostText" Type="ScrollableText" X="20" Y="70"
Width="330" Height="151" Sunken="yes" TabSkip="no">
<Text
SourceFile="!(wix.WixUIPostRtf=$(var.postRtf))">
</Text>
<Condition
Action="show">EXISTINGPRODUCTS</Condition>
</Control>
Is there anything jumping out there that can be tweaked?
Troy
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:wix-users-
> [EMAIL PROTECTED] On Behalf Of Calin Iaru
> Sent: Friday, 20 June 2008 5:49 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Separate ExitDialog for Uninstall
>
> Or you can use the same ExitDlg and customize the elements inside it
> like bitmaps, static text, position of elements based on conditions.
> <Control Id="Description1" Type="Text" X="135" Y="130" Width="220"
> Height="40" Text="For new users, we recommend that you read the quick
> guide located on the web. Click on the Finish button to exit the Setup
> Wizard." Transparent="yes">
> <Condition Action="show">Not EXISTINGPRODUCTS</Condition>
> <Condition Action="hide">1</Condition>
> </Control>
> <Control Id="Description2" Type="Text" X="135" Y="130" Width="220"
> Height="40" Text="The Upgrade process completed." Transparent="yes">
> <Condition Action="show">EXISTINGPRODUCTS</Condition>
> <Condition Action="hide">1</Condition>
> </Control>
>
>
> Calin Iaru wrote:
> > If I were you, I would play with <InstallUISequence> where some
> > variations could yield the expected results. This is how I display a
> > Firewall Dialog which adds some applications to the Windows Firewall
> > after installation. Normally, the ExitDlg would be displayed when
> > finishing the installation, but I needed it customized.
> >
> > <Show Dialog="FirewallDlg" Sequence="7999">
> > <![CDATA[
> > ((VersionNT = 501 And ServicePackLevel >= 2) Or
> (VersionNT =
> > 502 And ServicePackLevel >= 1) Or (VersionNT = 600))
> > And SomeLongCondition And Not EXISTINGPRODUCTS
> > ]]>
> > </Show>
> > <Show Dialog="ExitDlg" OnExit="success">
> > <![CDATA[
> > Not (
> > ((VersionNT = 501 And ServicePackLevel >= 2) Or
> (VersionNT =
> > 502 And ServicePackLevel >= 1) Or (VersionNT = 600))
> > And SomeLongCondition And Not EXISTINGPRODUCTS
> > )
> > ]]>
> > </Show>
> >
> > As long as you have Sequence and Conditions, there should be a way.
> >
> > Troy Simpson wrote:
> >
> >> Hi,
> >>
> >> I'm building the new win32 installer for Subversion with WiX but
> I've struck
> >> one snag. I would like to display a different dialog for install,
> >> uninstall, and possibly repair.
> >>
> >> I have customised the ExitDialog to show a nice post-install message
> for
> >> users, but obviously upon uninstall it wouldn't be logical to show
> the same
> >> post-install message. I have tried all kinds of combinations of
> conditions
> >> but cannot get this dialog to change.
> >>
> >> There has been very positive feedback from the Subversion community
> for the
> >> switch over to WiX and having an MSI installer instead of an exe
> installer.
> >> I am using SharpDevelop 3 as the WiX installer build tool.
> >>
> >> Can anyone assist?
> >>
> >>
> >> Regards,
> >>
> >> Troy Simpson
> >> Subversion Win32 Installer Maintainer ( SWIM?? ;) )
> >>
> >>
> >>
> >>
> >> --------------------------------------------------------------------
> -----
> >> Check out the new SourceForge.net Marketplace.
> >> It's the best place to buy or sell services for
> >> just about anything Open Source.
> >> http://sourceforge.net/services/buy/index.php
> >> _______________________________________________
> >> WiX-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> ----
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > WiX-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
>
> -----------------------------------------------------------------------
> --
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users