[wix-users] Add a checkbox in "InstallDir" Dialog

snr gsnreddy1234 at gmail.com
Fri Oct 25 08:01:12 PDT 2019


Hi Vladimir,

Thanks a lot for pointing me to the Source location of WIX dialogs. I have
successfully added a checkbox by following the information provided by you
and the below link.

http://www.dizzymonkeydesign.com/blog/misc/adding-and-customizing-dlgs-in-wix-3/


I am providing an option to the users to keep/uninstall previous versions
using this checkbox in my installer.

Regards,
Satya

On Fri, Oct 25, 2019 at 1:00 PM Vladimir Kolobkov <vkolobkov at gmail.com>
wrote:

> Hi,
>
> I'm not sure that i understood you correctly, but here is how i did
> changes in predefined WIX dialogs:
> Get dialog which you need to modify from WIX sources.
> Change the name, in my case i was adding Custom as prefix
> (ExitDialog=>CustomExitDialog).
> Change the dialog to suit your needs.
> Add publish element to UI element of yours WIX project similar to this:
>       <Publish Dialog="CustomExitDialog" Control="Finish" Event="DoAction"
> Order="998"
> Value="LaunchApplication"><![CDATA[WIXUI_EXITDIALOGOPTIONALCHECKBOX =
> 1]]></Publish>
>       <Publish Dialog="CustomExitDialog" Control="Finish"
> Event="EndDialog" Order="999" Value="Return">1</Publish>
>
> Sources for dialogs you can find in WIX sources -
> https://github.com/wixtoolset/wix3/tree/develop/src/ext/UIExtension/wixlib
>
> Best regards,
> Vladimir Kolobkov
>
>
> On Fri, 25 Oct 2019 at 02:30, snr via wix-users <
> wix-users at lists.wixtoolset.org> wrote:
>
>> Could you please help me on how to add a checkbox in the default dialogs?
>> I
>> don't find InstallDirDlg.wxs to edit and incude it in my wix source code.
>>
>> On Wed, 23 Oct, 2019, 9:59 PM snr, <gsnreddy1234 at gmail.com> wrote:
>>
>> > Hi,
>> >
>> > I would like a checkbox in "InstallDir" dialog. I found some threads
>> where
>> > they mentioned that we need to update *WixUI_InstallDir.wxs* and
>> > *InstallDirDlg.wxs* files to add a checkbox. I also found a link where
>> we
>> > can add a checkbox by adding below code to display that checkbox in
>> > exitdialog. Is there any similar property to add a checkbox on
>> InstallDir
>> > Dialog? Can you please suggest a best way to add a check box or text on
>> the
>> > WiX default dialogs?
>> >
>> >
>> > <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch My
>> > Application Name" />
>> >
>> >
>> https://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html
>> >
>> >
>> > I would like to set a property based on user selection of a Checkbox in
>> my
>> > installer.
>> >
>> > Regards,
>> > Satya
>> >
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
>>
>



More information about the wix-users mailing list