This Link might help:

http://stackoverflow.com/questions/9669207/how-can-i-allow-msi-features-to-be-selected-in-a-wix-burn-bootstrapper

But let's be practical for a moment:  Why allow the user to select  
feature(s) in the Feature Tree, if there is only one feature?  If the  
Application can run with or without the feature, I see where you're  
going here.  If that is the case, consider adding a checkbox  
underneath the Directory Path Box.  Save the Checkstate as a PROPERTY  
Id, i.e., if the checkbox is checked, the PROPERTY = True and the  
Feature gets installed, else PROPERTY = False, and the component is  
left out.

Example:
http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/check_the_version_number.html

Carter

Quoting Adam Kadzban <mightyshorta...@gmail.com>:

> I've got an installer that is just one feature, and the user can select
> where to install the application. I decided to use the WixUI_InstallDir
> template for this, because it's 90% of what I need. However, the user needs
> to be able to "modify" the install and change the install location. I've
> updated the template WixUI_InstallDir code to both all modify (got rid of
> <Property Id="ARPNOMODIFY" Value="1" />), and set the InstallDirDlg to come
> up when the "Change" button is selected. I can run maintenance mode and
> change the install location, but the changes don't actually take place when
> the install executes. Looking in the log, it seems that the client is
> calling the server with "_MSI_FEATURE_SELECTION=_NONE_".
>
>
>
> I've tried manually setting REMOVE=ALL and ADDLOCAL=ProductFeature, but it
> didn't seem to work. Also I only see "ADDLOCAL=ProductFeature" being passed
> to the server in the logs. Is there a better way to do this? Or am I
> missing another piece? I was digging around the source of the other UI
> templates and didn't see anything.
>
> Thanks,
> Adam Kadzban
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>




------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to