File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 20
20
<WixVariable Id =" WixUIExclamationIco" Value =" Installer_Icon_32x32.ico" />
21
21
<WixVariable Id =" WixUINewIco" Value =" Installer_Icon_16x16.ico" />
22
22
<WixVariable Id =" WixUIUpIco" Value =" Installer_Icon_16x16.ico" />
23
- <WixVariable Id =" WixUILicenseRtf" Value =" $(var.SourceBase)\$(var. License)" />
23
+ <WixVariable Id =" WixUILicenseRtf" Value =" $(var.License)" />
24
24
25
25
<Directory Id =" TARGETDIR" Name =" SourceDir" >
26
26
<Directory Id =" ProgramFilesFolder" >
63
63
64
64
<DirectoryRef Id =" INSTALLDIR" >
65
65
<Component Id =" c_License" Guid =" *" >
66
- <File Id =" f_License" Name =" License.rtf" Source =" $(var.SourceBase)\$(var. License)"
66
+ <File Id =" f_License" Name =" License.rtf" Source =" $(var.License)"
67
67
DiskId =" 1" KeyPath =" yes" />
68
68
</Component >
69
69
<Component Id =" c_ReleaseNotes" Guid =" *" >
70
- <File Id =" f_ReleaseNotes" Name =" Release Notes.txt" Source =" $(var.SourceBase)\$(var. ReleaseNotes)"
70
+ <File Id =" f_ReleaseNotes" Name =" Release Notes.txt" Source =" $(var.ReleaseNotes)"
71
71
DiskId =" 1" KeyPath =" yes" />
72
72
</Component >
73
73
<Component Id =" c_Help" Guid =" *" >
74
- <File Id =" f_Help" Name =" CSharpDriverDocs.chm" Source =" $(var.SourceBase)\$(var. Documentation)"
74
+ <File Id =" f_Help" Name =" CSharpDriverDocs.chm" Source =" $(var.Documentation)"
75
75
DiskId =" 1" KeyPath =" yes" />
76
76
</Component >
77
77
</DirectoryRef >
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ Properties {
49
49
$nuspec_file = " $build_dir \mongocsharpdriver.nuspec"
50
50
$nuspec_build_file = " $build_dir \mongocsharpdriverbuild.nuspec"
51
51
$license_file = " $base_dir \License.txt"
52
+ $license_file_rtf = " $base_dir \License.rtf"
52
53
$version_file = " $artifacts_dir \version.txt"
53
54
$chm_file = " $artifacts_dir \CSharpDriverDocs-$sem_version .chm"
54
55
$release_notes_file = " $base_dir \Release Notes\Release Notes v$base_version .md"
@@ -193,7 +194,7 @@ Task Installer -precondition { (BuildHasBeenRun) -and (DocsHasBeenRun) } {
193
194
$release_notes_relative_path = Get-Item $release_notes_file | Resolve-Path - Relative
194
195
$doc_relative_path = Get-Item $chm_file | Resolve-Path - Relative
195
196
196
- Exec { msbuild " $installer_file " / t:Rebuild / p:Configuration= $config / p:Version= $version / p:SemVersion= $sem_version / p:ProductId= $installer_product_id / p:UpgradeCode= $installer_upgrade_code / p:ReleaseNotes= $release_notes_relative_path / p:License= " License.rtf " / p:Documentation= $doc_relative_path / p:OutputPath= $artifacts_dir / p:BinDir= $bin_dir }
197
+ Exec { msbuild " $installer_file " / t:Rebuild / p:Configuration= $config / p:Version= $version / p:SemVersion= $sem_version / p:ProductId= $installer_product_id / p:UpgradeCode= $installer_upgrade_code / p:ReleaseNotes= $release_notes_file / p:License= $license_file_rtf / p:Documentation= $chm_file / p:OutputPath= $artifacts_dir / p:BinDir= $bin_dir }
197
198
198
199
rm - force $artifacts_dir \* .wixpdb
199
200
}
You can’t perform that action at this time.
0 commit comments