File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,10 +210,10 @@ public void ConfigureMsi(Config config)
210210 UrlInfoAbout = config . Metadata ? . AboutUrl ,
211211 UrlUpdateInfo = config . Metadata ? . UpdateUrl ,
212212
213- NoModify = config . Metadata ? . ForbidModify ,
214- NoRepair = config . Metadata ? . ForbidRepair ,
215- NoRemove = config . Metadata ? . ForbidUninstall ,
216- SystemComponent = config . Metadata ? . HideProgramEntry ,
213+ NoModify = config . Metadata ? . ForbidModify == true ? true : null , // WiX seems to expect null and not false, which is... odd.
214+ NoRepair = config . Metadata ? . ForbidRepair == true ? true : null ,
215+ NoRemove = config . Metadata ? . ForbidUninstall == true ? true : null ,
216+ SystemComponent = config . Metadata ? . HideProgramEntry == true ? true : null ,
217217 } ;
218218
219219 if ( config . Metadata ? . ProductIconPath is var icon && icon is not null && ! Path . Exists ( icon ) )
You can’t perform that action at this time.
0 commit comments