[wix-users] How to get rid of the Welcome dialog in WixUI_InstallDir mode.

Ronny Eriksson ronny.eriksson at optimity.se
Fri Feb 26 04:56:00 PST 2016


Have you tried doing this

In your product.wxs file in the Product node add this:

<UI>
            <InstallUISequence>
                <Show Dialog="InstallDirDlg" Before="ProgressDlg" Overridable="yes">NOT Installed OR PATCH</Show>
            </InstallUISequence>
</UI>

Maybe that will set that InstallDirDlg as the first dialog to show up instead of the WelcomeDlg.

I have not tried it so it's just a quess.


Ronny Eriksson

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of shashank khadse
Sent: den 26 februari 2016 03:02
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How to get rid of the Welcome dialog in WixUI_InstallDir mode.

Hey Sampat,
Thanks for the quick reply.
But the welcomedlg is a part of std toolset library, so even if I download the dialog source code and use it by disabling the UI sequence, I was getting error regarding the duplicate ID "WelcomeDlg"

Other thing I have already tried is to override the behaviour of the standard wlcm dlg in my own CustomWixUI_InstallDir.wxs, the dialog still pops up bcoz of the standard becoz of the standard sequence.

I need to disable it so that it wont pop up anywhere during the installation sequence.

Pls let me know if you have any idea abt this.

Thanks
-Shanky



On Thu, Feb 25, 2016 at 5:52 PM, sampat magi <ssmcs060 at gmail.com> wrote:

> It's defined at the end of the welcomedlg in the wix source.
>
> Sam
> On Feb 26, 2016 7:21 AM, "sampat magi" <ssmcs060 at gmail.com> wrote:
>
> > I think you have to look at the
> > installuisequence of the welcomedlg.wxs
> >
> > Regards
> > Sampat
> > On Feb 26, 2016 7:09 AM, "shashank khadse" 
> > <shashank.s.khadse at gmail.com>
> > wrote:
> >
> >> Hello,
> >> I am new to wix toolset. I have started using the toolset like 7-8 days.
> >>
> >> Currently as per my requirements, I have been using the 
> >> WixUI_InstallDir standard dialogs. I needed some customizations so 
> >> I have downloaded the WixUI_InstallDir.wxs and InstallDirDlg.wxs. I 
> >> have made some changes to dialogs and also introduced some custom actions for those added dialogs.
> >>
> >> Thanks to the simplicity of the standard dialogs, I am able to 
> >> create
> msi
> >> setup.
> >>
> >> For creating the setup executable and adding prerequisites , I used 
> >> the bootstrap application where in I bundles the created msi. Now 
> >> the issue
> is
> >> the bootstrap comes with its own Welcome dialog and the embedded 
> >> msi
> also
> >> shows its own dialog box. In order to get rid of the msi welcome
> dialog, I
> >> have removed the Publish statemnts related to Welcome dlg from the 
> >> custom WixUI_InstallDir.wxs. But I am not able to get rid of
> the
> >> welcome dialog.
> >>
> >> Is there any way to get rid of the msi welcome dialog ?
> >>
> >> If not then, is there any possibility to get rid of the Welcome dlg 
> >> of
> the
> >> bootstrap ?
> >>
> >> Anyhow I want to get rid of the either of the dlg. ( Removing msi 
> >> dlg would be most welcome :) )
> >>
> >> Could you please help me to resolve this issue.
> >>
> >> Let me know if you need some more input from me.
> >>
> >> Thanks in advance.
> >> Shanky
> >>
> >> ___________________________________________________________________
> >> _ WiX Toolset Users Mailing List provided by FireGiant 
> >> http://www.firegiant.com/
> >>
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list