Skip to content

Commit 7535fdf

Browse files
authored
Fix windows installer package (#54)
1 parent 5e13895 commit 7535fdf

File tree

7 files changed

+22
-11
lines changed

7 files changed

+22
-11
lines changed

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
_obj
88
_test
99
bin
10+
obj
1011

1112
# Architecture specific extensions/prefixes
1213
*.[568vq]
@@ -24,7 +25,10 @@ _testmain.go
2425
*.test
2526
*.prof
2627
*.DS_STORE
28+
*.syso
29+
*.wxs
2730

31+
versioninfo.json
2832
/integrations/*/bin/
2933
coverage.xml
3034
target/
@@ -38,5 +42,8 @@ Session.vim
3842
# VSCode
3943
.vscode
4044
debug
45+
conf.yaml
46+
Makefile-deploy.mk
47+
4148
#GoLand
4249
.idea

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## 4.1.1 - 2019-10-16
9+
### Fixed
10+
- Windows installer GUIDs
11+
812
## 4.1.0 - 2019-06-19
913
### Added
1014
- Windows build

pkg/windows/nri-386-installer/Product.wxs.template

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
33
<?define Version = "{IntegrationVersion}" ?>
44
<?define ProductId = "*" ?>
5-
<?define UpgradeCode = "{f42aa489-e590-429d-a1c2-4ebd97cf8c3e}" ?>
5+
<?define UpgradeCode = "{59bf8deb-66d6-4a6f-a520-6cd60de9c399}" ?>
66

77
<Product Id="$(var.ProductId)"
88
Name="New Relic Infrastructure Integration, nri-{IntegrationName}"
@@ -67,14 +67,14 @@
6767

6868
<Fragment>
6969
<ComponentGroup Id="CustomPluginsBinComponent" Directory="CustomPluginsBinFolder">
70-
<Component Id="CMP_NRI_{IntegrationName}_EXE" Guid="c57aeed1-f045-4202-8daa-d806db2e29e4" Win64="no">
70+
<Component Id="CMP_NRI_{IntegrationName}_EXE" Guid="832ef605-2ed2-4a58-a2d0-d32652b2c326" Win64="no">
7171
<File Id="FILE_NRI_{IntegrationName}_EXE"
7272
Source="$(var.BinariesPath){IntegrationExe}"
7373
KeyPath="yes"/>
7474
</Component>
7575
</ComponentGroup>
7676
<ComponentGroup Id="CustomPluginsComponent" Directory="CustomPluginsFolder">
77-
<Component Id="CMP_NRI_{IntegrationName}_DEFINITION_YML" Guid="35c84fd9-7b1a-4871-a706-390ea19252b1" Win64="no"
77+
<Component Id="CMP_NRI_{IntegrationName}_DEFINITION_YML" Guid="710063f8-0ea1-469c-8dde-a1130de9b1fd" Win64="no"
7878
NeverOverwrite="yes" Permanent="yes">
7979
<File Id="FILE_NRI_{IntegrationName}_DEFINITION_YML"
8080
Name="{IntegrationName}-definition.yml"
@@ -83,7 +83,7 @@
8383
</Component>
8484
</ComponentGroup>
8585
<ComponentGroup Id="PluginConfigsComponent" Directory="PluginConfigsFolder">
86-
<Component Id="CMP_NRI_{IntegrationName}_CONFIG_YML" Guid="ae131e4c-7ec5-42c5-b21b-b454979f28ee" Win64="no"
86+
<Component Id="CMP_NRI_{IntegrationName}_CONFIG_YML" Guid="0851305b-d012-418d-b977-a9a2a1c508cc" Win64="no"
8787
NeverOverwrite="yes" Permanent="yes">
8888
<File Id="FILE_NRI_{IntegrationName}_CONFIG_YML"
8989
Name="{IntegrationName}-config.yml.sample"

pkg/windows/nri-386-installer/nri-installer.wixproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
55
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
66
<ProductVersion>3.10</ProductVersion>
7-
<ProjectGuid>89a5d3bd-73d7-4ebb-8f3c-75a7c09e67a4</ProjectGuid>
7+
<ProjectGuid>cf4185cc-55ff-40f3-91d8-3147c69530ef</ProjectGuid>
88
<SchemaVersion>2.0</SchemaVersion>
99
<OutputName>$(integration)-386</OutputName>
1010
<OutputType>Package</OutputType>

pkg/windows/nri-amd64-installer/Product.wxs.template

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
33
<?define Version = "{IntegrationVersion}" ?>
44
<?define ProductId = "*" ?>
5-
<?define UpgradeCode = "{f42aa489-e590-429d-a1c2-4ebd97cf8c3e}" ?>
5+
<?define UpgradeCode = "{59bf8deb-66d6-4a6f-a520-6cd60de9c399}" ?>
66

77
<Product Id="$(var.ProductId)"
88
Name="New Relic Infrastructure Integration, nri-{IntegrationName}"
@@ -67,14 +67,14 @@
6767

6868
<Fragment>
6969
<ComponentGroup Id="CustomPluginsBinComponent" Directory="CustomPluginsBinFolder">
70-
<Component Id="CMP_NRI_{IntegrationName}_EXE" Guid="eea30c6e-7a14-4cc5-97c5-88a742041643" Win64="yes">
70+
<Component Id="CMP_NRI_{IntegrationName}_EXE" Guid="832ef605-2ed2-4a58-a2d0-d32652b2c326" Win64="yes">
7171
<File Id="FILE_NRI_{IntegrationName}_EXE"
7272
Source="$(var.BinariesPath){IntegrationExe}"
7373
KeyPath="yes"/>
7474
</Component>
7575
</ComponentGroup>
7676
<ComponentGroup Id="CustomPluginsComponent" Directory="CustomPluginsFolder">
77-
<Component Id="CMP_NRI_{IntegrationName}_DEFINITION_YML" Guid="35c84fd9-7b1a-4871-a706-390ea19252b1" Win64="yes"
77+
<Component Id="CMP_NRI_{IntegrationName}_DEFINITION_YML" Guid="710063f8-0ea1-469c-8dde-a1130de9b1fd" Win64="yes"
7878
NeverOverwrite="yes" Permanent="yes">
7979
<File Id="FILE_NRI_{IntegrationName}_DEFINITION_YML"
8080
Name="{IntegrationName}-definition.yml"
@@ -83,7 +83,7 @@
8383
</Component>
8484
</ComponentGroup>
8585
<ComponentGroup Id="PluginConfigsComponent" Directory="PluginConfigsFolder">
86-
<Component Id="CMP_NRI_{IntegrationName}_CONFIG_YML" Guid="ae131e4c-7ec5-42c5-b21b-b454979f28ee" Win64="yes"
86+
<Component Id="CMP_NRI_{IntegrationName}_CONFIG_YML" Guid="0851305b-d012-418d-b977-a9a2a1c508cc" Win64="yes"
8787
NeverOverwrite="yes" Permanent="yes">
8888
<File Id="FILE_NRI_{IntegrationName}_CONFIG_YML"
8989
Name="{IntegrationName}-config.yml.sample"

pkg/windows/nri-amd64-installer/nri-installer.wixproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
55
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
66
<ProductVersion>3.10</ProductVersion>
7-
<ProjectGuid>89a5d3bd-73d7-4ebb-8f3c-75a7c09e67a4</ProjectGuid>
7+
<ProjectGuid>cf4185cc-55ff-40f3-91d8-3147c69530ef</ProjectGuid>
88
<SchemaVersion>2.0</SchemaVersion>
99
<OutputName>$(integration)-amd64</OutputName>
1010
<OutputType>Package</OutputType>

src/elasticsearch.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type argumentList struct {
2929

3030
const (
3131
integrationName = "com.newrelic.elasticsearch"
32-
integrationVersion = "4.1.0"
32+
integrationVersion = "4.1.1"
3333
)
3434

3535
var (

0 commit comments

Comments
 (0)