PageRenderTime 28ms CodeModel.GetById 22ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/win32/wix/shell-register-overlays.wxi

https://bitbucket.org/tortoisehg/hgtk/
WiX include | 40 lines | 37 code | 3 blank | 0 comment | 0 complexity | a36ff67bed01474d201b7421b203d7a6 MD5 | raw file
 1<Include>
 2  <!-- overlay components -->
 3  <?foreach CLSID in $(var.OverlayCLSIDList) ?>
 4    <RegistryValue
 5      Root='HKCR' Key='CLSID\$(var.CLSID)'
 6      Type='string' Value='TortoiseHg'
 7    />
 8    <RegistryValue
 9      Root='HKCR' Key='CLSID\$(var.CLSID)\InProcServer32'
10      Type='string' Name='ThreadingModel' Value='Apartment'
11    />
12  <?endforeach?>
13
14  <!-- register overlay components with TortoiseOverlays -->
15  <RegistryValue
16    Root='HKLM' Key='$(var.TOverlaysRegistryKey)\Normal'
17    Type='string' Name='TortoiseHgMsi' Value='$(var.CLSID_TortoiseHgNormal)'
18  />
19  <RegistryValue
20    Root='HKLM' Key='$(var.TOverlaysRegistryKey)\Added'
21    Type='string' Name='TortoiseHgMsi' Value='$(var.CLSID_TortoiseHgAdded)'
22  />
23  <RegistryValue
24    Root='HKLM' Key='$(var.TOverlaysRegistryKey)\Modified'
25    Type='string' Name='TortoiseHgMsi' Value='$(var.CLSID_TortoiseHgModified)'
26  />
27  <RegistryValue
28    Root='HKLM' Key='$(var.TOverlaysRegistryKey)\Unversioned'
29    Type='string' Name='TortoiseHgMsi' Value='$(var.CLSID_TortoiseHgUnversioned)'
30  />
31
32  <!-- Mark all as approved -->
33  <?foreach CLSID in $(var.OverlayCLSIDList) ?>
34    <RegistryValue
35      Root='HKLM' Key='Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved'
36      Type='string' Name='$(var.CLSID)' Value='TortoiseHg'
37    />
38  <?endforeach?>
39
40</Include>