简体   繁体   中英

How to enable 'Browse' option for msi installer using WIX

I am trying to create a msi installer for my system application using wix. Now we have given an option for 'Browse' to user where they can chose a directory for their installation. But by default it is appearing disabled.

Can someone help me, how can I enable this 'Browse' option?

MSI 安装程序映像

I assume you are using the "WixUI_Mondo"

<UIRef Id="WixUI_Mondo" />

In this case, you could go on your main feature, and set the "ConfigurableDirectory" as follows

<Feature Id="ProductFeature" Title="MyApp" Level="1" ConfigurableDirectory="INSTALLFOLDER">
        ...
</Feature>

Below is what you should see:

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM