|
89 | 89 | NOT Installed and CREATESCHEDULEDTASK = 1
|
90 | 90 | </Custom>
|
91 | 91 | <?if $(var.HasWDK)="true" ?>
|
92 |
| - <Custom Action="SetCertifyVirtualCameraDriverParam" After="RegisterPowerToysSchTask"/> |
| 92 | + <Custom Action="SetCertifyVirtualCameraDriverParam" After="RegisterPowerToysSchTask" > |
| 93 | + WINDOWSBUILDNUMBER >= 18362 |
| 94 | + </Custom> |
93 | 95 | <Custom Action="CertifyVirtualCameraDriver" After="SetCertifyVirtualCameraDriverParam" >
|
94 |
| - NOT Installed |
| 96 | + NOT Installed and WINDOWSBUILDNUMBER >= 18362 |
| 97 | + </Custom> |
| 98 | + <Custom Action="SetInstallVirtualCameraDriverParam" After="CertifyVirtualCameraDriver" > |
| 99 | + WINDOWSBUILDNUMBER >= 18362 |
95 | 100 | </Custom>
|
96 |
| - <Custom Action="SetInstallVirtualCameraDriverParam" After="CertifyVirtualCameraDriver" /> |
97 | 101 | <Custom Action="InstallVirtualCameraDriver" After="SetInstallVirtualCameraDriverParam" >
|
98 |
| - NOT Installed |
| 102 | + NOT Installed and WINDOWSBUILDNUMBER >= 18362 |
99 | 103 | </Custom>
|
100 |
| - <Custom Action="SetUninstallVirtualCameraDriverParam" Before="UninstallVirtualCameraDriver" /> |
| 104 | + <Custom Action="SetUninstallVirtualCameraDriverParam" Before="UninstallVirtualCameraDriver" > |
| 105 | + WINDOWSBUILDNUMBER >= 18362 |
| 106 | + </Custom> |
101 | 107 | <Custom Action="UninstallVirtualCameraDriver" Before="RemoveFiles">
|
102 |
| - Installed |
| 108 | + Installed and WINDOWSBUILDNUMBER >= 18362 |
103 | 109 | </Custom>
|
104 | 110 | <?endif?>
|
105 | 111 | <Custom Action="WixCloseApplications" Before="RemoveFiles" />
|
|
674 | 680 | <?if $(var.HasWDK)="true" ?>
|
675 | 681 | <DirectoryRef Id="VideoConferenceInstallFolder" FileSource="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\">
|
676 | 682 | <Component Id="Module_VideoConference" Guid="5996527a-40fc-432e-b3ac-abc0b4bd3887" Win64="yes">
|
| 683 | + <Condition>WINDOWSBUILDNUMBER >= 18362</Condition> |
677 | 684 | <File Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\VideoConferenceModule.dll" KeyPath="yes" />
|
678 | 685 | <File Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\black.bmp" />
|
679 | 686 | <File Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\VideoConferenceVirtualDriver\videoconferencevirtualdriver.cat" />
|
|
685 | 692 | </DirectoryRef>
|
686 | 693 | <DirectoryRef Id="VideoConferenceIconsFolder" FileSource="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\Icons">
|
687 | 694 | <Component Id="Module_VideoConferenceIcons" Guid="5996527a-40fc-432e-b34c-abc0b4bd3887" Win64="yes">
|
| 695 | + <Condition>WINDOWSBUILDNUMBER >= 18362</Condition> |
688 | 696 | <File Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\Icons\Off-NotInUse Dark.png" />
|
689 | 697 | <File Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\Icons\Off-NotInUse Light.png" />
|
690 | 698 | <File Source="$(var.BinX64Dir)modules\$(var.VideoConferenceProjectName)\Icons\Off-Off Dark.png" />
|
|
881 | 889 | <ComponentRef Id="vcredist_dlls" />
|
882 | 890 | <ComponentRef Id="PowerToysSvgs" />
|
883 | 891 | <ComponentRef Id="Module_ShortcutGuide" />
|
884 |
| -<?if $(var.HasWDK)="true" ?> |
885 | 892 | <ComponentRef Id="Module_VideoConference" />
|
886 | 893 | <ComponentRef Id="Module_VideoConferenceIcons" />
|
887 |
| -<?endif?> |
888 | 894 | <ComponentRef Id="Module_FancyZones" />
|
889 | 895 | <ComponentRef Id="DesktopShortcut" />
|
890 | 896 | <ComponentRef Id="Module_PowerRename" />
|
|
0 commit comments