Skip to content

Commit 3945733

Browse files
author
Joachim Marder
committed
Added support for the Windows 8 SDK
1 parent 8a1078a commit 3945733

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Designer/Classes/Settings.pas

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,20 @@ procedure TSettings.DetectTools();
114114
FRibbonCompilerPath := '';
115115
end;
116116

117+
if (FRibbonCompilerPath = '') then
118+
begin
119+
FRibbonCompilerPath := GetEnvironmentVariable('ProgramW6432') + '\Microsoft SDKs\Windows\v7.1\Bin\UICC.exe';
120+
if (not TFile.Exists(FRibbonCompilerPath)) then
121+
FRibbonCompilerPath := '';
122+
end;
123+
124+
if (FRibbonCompilerPath = '') then
125+
begin
126+
FRibbonCompilerPath := GetEnvironmentVariable('ProgramW6432') + '\Windows Kits\8.1\bin\x86\uicc.exe';
127+
if (not TFile.Exists(FRibbonCompilerPath)) then
128+
FRibbonCompilerPath := '';
129+
end;
130+
117131
if (FRibbonCompilerPath = '') then
118132
begin
119133
FRibbonCompilerPath := ExtractFilePath(ParamStr(0)) + 'UICC.exe';

0 commit comments

Comments
 (0)