Skip to content

Commit dd2d169

Browse files
authored
Merge pull request #2444 from nickanderson/ENT-9046/master
Added cf-support for Windows to the MSI
2 parents 3868140 + 417b1e5 commit dd2d169

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎packaging/cfengine-nova/cfengine-nova.wxs‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,16 @@
143143
<Component Id='lmdb_migrate.cmd' Guid='F8165F21-E92A-5276-B6DA-E96F3A5D8503' Win64='$(var.isWin64)'>
144144
<File Id='lmdb_migrate.cmd' Name='lmdb-migrate.cmd' KeyPath='yes' DiskId='1' Source='$(var.CfSourceDir)/bin/lmdb-migrate.cmd' />
145145
</Component>
146+
<!-- Support data collection. cf-support.cmd is the entry point a
147+
customer is told to run; it launches the .ps1 with
148+
-ExecutionPolicy Bypass so the default machine policy does
149+
not block an unsigned script. -->
150+
<Component Id='cf_support.ps1' Guid='6FD91F99-35BE-4DD3-890B-B1902300F647' Win64='$(var.isWin64)'>
151+
<File Id='cf_support.ps1' Name='cf-support.ps1' KeyPath='yes' DiskId='1' Source='$(var.CfSourceDir)/bin/cf-support.ps1' />
152+
</Component>
153+
<Component Id='cf_support.cmd' Guid='ADEF2A32-F2B3-4F72-A245-FC5913F37A07' Win64='$(var.isWin64)'>
154+
<File Id='cf_support.cmd' Name='cf-support.cmd' KeyPath='yes' DiskId='1' Source='$(var.CfSourceDir)/bin/cf-support.cmd' />
155+
</Component>
146156
<Component Id='lmmgr.exe' Guid='DBF87C39-43FA-4DFE-A442-D2AB5B8985F0' Win64='$(var.isWin64)'>
147157
<File Id='lmmgr.exe' Name='lmmgr.exe' KeyPath='yes' DiskId='1' Source='$(var.CfSourceDir)/bin/lmmgr.exe' />
148158
</Component>
@@ -240,6 +250,8 @@
240250
<ComponentRef Id='mdb_copy.exe' />
241251
<ComponentRef Id='mdb_stat.exe' />
242252
<ComponentRef Id='lmmgr.exe' />
253+
<ComponentRef Id='cf_support.ps1' />
254+
<ComponentRef Id='cf_support.cmd' />
243255
<ComponentRef Id='lmdump.exe' />
244256
<ComponentRef Id='diff.exe' />
245257
<ComponentRef Id='diff3.exe' />

0 commit comments

Comments
 (0)