forked from dotnetinstaller/dotnetinstaller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dni.proj
326 lines (326 loc) · 20.6 KB
/
dni.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
<Project DefaultTargets="all" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<MSBuildCommunityTasksPath>..\..\ThirdParty\MSBuildCommunityTasks</MSBuildCommunityTasksPath>
</PropertyGroup>
<Import Project="ThirdParty\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/>
<Import Project="Version.proj"/>
<PropertyGroup Condition="'$(Configuration)'==''">
<Configuration>Debug</Configuration>
</PropertyGroup>
<PropertyGroup>
<ProductName>dotNetInstaller</ProductName>
<CompanyName>DevAge, Vestris Inc. & Contributors</CompanyName>
<Copyright>Copyright (c) $(CompanyName)</Copyright>
<Trademark>All Rights Reserved</Trademark>
<ReleaseDir>target\$(Configuration)</ReleaseDir>
<MajorVersion>3</MajorVersion>
<MinorVersion>0</MinorVersion>
<RevisionVersion>0</RevisionVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuild_4_0_ExeFilePath>%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe</MSBuild_4_0_ExeFilePath>
<NUnitToolPath>ThirdParty\NUnit\bin\net-2.0</NUnitToolPath>
</PropertyGroup>
<ItemGroup>
<StandaloneSetupSample Include="Samples/StandaloneSetup/**/*.txt" />
<StandaloneSetupSample Include="Samples/StandaloneSetup/**/*.xml" />
<StandaloneSetupSample Include="Samples/StandaloneSetup/**/*.bmp" />
<StandaloneSetupSample Include="Samples/StandaloneSetup/**/*.ico" />
</ItemGroup>
<ItemGroup>
<PackagedSetupSample Include="Samples/PackagedSetup/**/*.txt" />
<PackagedSetupSample Include="Samples/PackagedSetup/**/*.xml" />
<PackagedSetupSample Include="Samples/PackagedSetup/**/*.bmp" />
<PackagedSetupSample Include="Samples/PackagedSetup/**/*.ico" />
<PackagedSetupSample Include="Samples/PackagedSetup/**/*.msi" />
<PackagedSetupSample Include="Samples/PackagedSetup/**/*.manifest" />
</ItemGroup>
<ItemGroup>
<CustomInputSetupSample Include="Samples/CustomInputSetup/**/*.xml" />
</ItemGroup>
<ItemGroup>
<InstallCheckOperatorsSample Include="Samples/InstallCheckOperators/**/*.txt" />
<InstallCheckOperatorsSample Include="Samples/InstallCheckOperators/**/*.xml" />
<InstallCheckOperatorsSample Include="Samples/InstallCheckOperators/**/*.bmp" />
<InstallCheckOperatorsSample Include="Samples/InstallCheckOperators/**/*.ico" />
</ItemGroup>
<ItemGroup>
<LicenseAgreementSample Include="Samples/LicenseAgreement/**/*.xml" />
<LicenseAgreementSample Include="Samples/LicenseAgreement/**/*.txt" />
</ItemGroup>
<ItemGroup>
<MultilingualSetupSample Include="Samples/MultilingualSetup/**/*.xml" />
</ItemGroup>
<ItemGroup>
<DownloadSetupSample Include="Samples/DownloadSetup/**/*.xml" />
</ItemGroup>
<ItemGroup>
<ReferenceSetupSample Include="Samples/ReferenceSetup/**/*.xml" />
</ItemGroup>
<ItemGroup>
<InstallCheckProductSample Include="Samples/InstallCheckProduct/**/*.xml" />
</ItemGroup>
<ItemGroup>
<PatchSetupSample Include="Samples/PatchSetup/**/*.xml" />
</ItemGroup>
<ItemGroup>
<Documentation Include="Documentation/$(Configuration)/dotNetInstaller.chm" />
</ItemGroup>
<ItemGroup>
<SupportFiles Include="Samples/SupportFiles/**/*.txt" />
</ItemGroup>
<ItemGroup>
<ExeSetupSample Include="Samples/ExeSetup/**/*.xml" />
</ItemGroup>
<ItemGroup>
<ReferenceSetupSample Include="Samples/ReferenceSetup/**/*.xml" />
</ItemGroup>
<ItemGroup>
<OsFiltersSetupSample Include="Samples/OsFilters/**/*.xml" />
</ItemGroup>
<ItemGroup>
<PAFilterSetupSample Include="Samples/PAFilter/**/*.xml" />
</ItemGroup>
<ItemGroup>
<OptionalComponentsSetupSample Include="Samples/OptionalComponents/**/*.xml" />
</ItemGroup>
<ItemGroup>
<Binaries Include="dotNetInstaller\$(Configuration)\dotNetInstaller.exe" />
<Binaries Include="dotNetInstaller\$(Configuration)\dotNetInstaller.pdb" />
<Binaries Include="htmlInstaller\$(Configuration)\htmlInstaller.exe" />
<Binaries Include="htmlInstaller\$(Configuration)\htmlInstaller.pdb" />
<Binaries Include="InstallerEditor\bin\$(Configuration)\InstallerEditor.exe" />
<Binaries Include="InstallerEditor\bin\$(Configuration)\SourceLibrary.dll" />
<Binaries Include="InstallerEditor\bin\$(Configuration)\SourceGrid2.dll" />
<Binaries Include="ThirdParty\CabLib\$(Configuration)\CabLib.dll" />
<Binaries Include="packages\Vestris.ResourceLib.1.6.422\lib\Vestris.ResourceLib.dll" />
<Binaries Include="InstallerLinker\bin\$(Configuration)\InstallerLinker.exe" />
<Binaries Include="InstallerLib\bin\$(Configuration)\InstallerLib.dll" />
</ItemGroup>
<ItemGroup>
<NUnitFiles Include="$(NUnitToolPath)/**/*" />
</ItemGroup>
<Target Name="all">
<Message Importance="high" Text="Building project ..." />
<CallTarget Targets="clean" />
<CallTarget Targets="version" />
<CallTarget Targets="build" />
<CallTarget Targets="doc" />
<CallTarget Targets="rewritesamples" />
<CallTarget Targets="rewritewizardxmls" />
<CallTarget Targets="release" />
<CallTarget Targets="zip" />
<CallTarget Targets="installer" />
<CallTarget Targets="unittests" />
<CallTarget Targets="built" />
</Target>
<Target Name="built" DependsOnTargets="version">
<Message Text="Built version: $(Major).$(Minor).$(Build).$(Revision)"/>
</Target>
<Target Name="clean">
<MSBuild Projects="Dni.sln" Targets="Clean" />
<MSBuild Projects="InstallerMsi\InstallerMsi.wixproj" Targets="Clean" />
<DeleteTree Directories="Documentation\Content\Generated" />
<DeleteTree Directories="$(ReleaseDir)" />
<DeleteTree Directories=".\**\obj" Recursive="true" ContinueOnError="true" />
<DeleteTree Directories=".\*Installer*\$(Configuration)" Recursive="true" ContinueOnError="true" />
<Delete Files="Version\Version.h;Version\Version.wxi;Version\GlobalAssemblyInfo.cs" />
</Target>
<Target Name="restore">
<Exec Command="ThirdParty\NuGet\NuGet.exe restore Dni.sln" />
</Target>
<Target Name="build" DependsOnTargets="version;restore">
<MSBuild Projects="Dni.sln" Targets="Build" />
</Target>
<Target Name="release" DependsOnTargets="version">
<Message Importance="high" Text="Collecting release files ..." />
<MakeDir Directories="$(ReleaseDir)" />
<!-- Binaries -->
<Copy SourceFiles="@(Binaries)" DestinationFolder="$(ReleaseDir)\Bin" />
<!-- Documentation -->
<Copy SourceFiles="@(Documentation)" DestinationFolder="$(ReleaseDir)\Doc" />
<!-- Samples -->
<MakeDir Directories="$(ReleaseDir)\Samples" />
<!-- Sample: StandaloneSetup -->
<Copy SourceFiles="@(StandaloneSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\StandaloneSetup\%(RecursiveDir)" />
<Copy SourceFiles="@(SupportFiles)" DestinationFolder="$(ReleaseDir)\Samples\StandaloneSetup\SupportFiles\%(RecursiveDir)" />
<Copy SourceFiles="dotNetInstaller\$(Configuration)\dotNetInstaller.exe" DestinationFolder="$(ReleaseDir)\Samples\StandaloneSetup" />
<!-- Sample: PackagedSetup -->
<CallTarget Targets="packagedsetupsample" />
<!-- Sample: InstallCheckOperators -->
<MakeDir Directories="$(ReleaseDir)\Samples\InstallCheckOperators" />
<Copy SourceFiles="@(InstallCheckOperatorsSample)" DestinationFolder="$(ReleaseDir)\Samples\InstallCheckOperators\%(RecursiveDir)" />
<Copy SourceFiles="dotNetInstaller\$(Configuration)\dotNetInstaller.exe" DestinationFolder="$(ReleaseDir)\Samples\InstallCheckOperators" />
<!-- Sample: DownloadSetup -->
<MakeDir Directories="$(ReleaseDir)\Samples\DownloadSetup" />
<Copy SourceFiles="@(DownloadSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\DownloadSetup\%(RecursiveDir)" />
<!-- Sample: MultilingualSetup -->
<MakeDir Directories="$(ReleaseDir)\Samples\MultilingualSetup" />
<Copy SourceFiles="@(MultilingualSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\MultilingualSetup\%(RecursiveDir)" />
<!-- Sample: LicenseAgreement -->
<CallTarget Targets="licenseagreementsetupsample" />
<!-- Sample: CustomInputSetup -->
<MakeDir Directories="$(ReleaseDir)\Samples\CustomInputSetup" />
<Copy SourceFiles="@(CustomInputSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\CustomInputSetup\%(RecursiveDir)" />
<!-- Sample: InstallCheckProduct -->
<MakeDir Directories="$(ReleaseDir)\Samples\InstallCheckProduct" />
<Copy SourceFiles="@(InstallCheckProductSample)" DestinationFolder="$(ReleaseDir)\Samples\InstallCheckProduct\%(RecursiveDir)" />
<!-- Sample: OsFiltersSetup -->
<MakeDir Directories="$(ReleaseDir)\Samples\OsFiltersSetup" />
<Copy SourceFiles="@(OsFiltersSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\OsFiltersSetup\%(RecursiveDir)" />
<!-- Sample: OptionalComponentsSetup -->
<MakeDir Directories="$(ReleaseDir)\Samples\PAFilterSetup" />
<Copy SourceFiles="@(PAFilterSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\PAFilterSetup\%(RecursiveDir)" />
<!-- Sample: OptionalComponentsSetup -->
<MakeDir Directories="$(ReleaseDir)\Samples\OptionalComponentsSetup" />
<Copy SourceFiles="@(OptionalComponentsSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\OptionalComponentsSetup\%(RecursiveDir)" />
<!-- Sample: PatchSetup -->
<MakeDir Directories="$(ReleaseDir)\Samples\PatchSetup" />
<Copy SourceFiles="@(PatchSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\PatchSetup\%(RecursiveDir)" />
<!-- Sample: ExeSetup -->
<MakeDir Directories="$(ReleaseDir)\Samples\ExeSetup" />
<Copy SourceFiles="@(ExeSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\ExeSetup\%(RecursiveDir)" />
<!-- Sample: ReferenceSetup -->
<MakeDir Directories="$(ReleaseDir)\Samples\ReferenceSetup" />
<Copy SourceFiles="@(ReferenceSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\ReferenceSetup\%(RecursiveDir)" />
</Target>
<Target Name="doclib" DependsOnTargets="version">
<Exec Command="InstallerDocLib\bin\$(Configuration)\InstallerDocLib.exe /Output:"Documentation\Content\Generated""/>
</Target>
<Target Name="doc" DependsOnTargets="version">
<CallTarget Targets="doclib" />
<Delete Files="Documentation\$(Configuration)\dotNetInstaller.chm" />
<Exec
Command="(set SHFBROOT=) & $(MSBuild_4_0_ExeFilePath) Documentation\Dni.shfbproj /p:Configuration=$(Configuration)"
ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ExitCode"/>
</Exec>
<ReadLinesFromFile
File="Documentation\$(Configuration)\LastBuild.log"
Condition="$(ExitCode)!=0 And Exists('Documentation\$(Configuration)\LastBuild.log')">
<Output
TaskParameter="Lines"
ItemName="LastBuildLogFileContents" />
</ReadLinesFromFile>
<Message Condition="$(ExitCode)!=0 And '@(LastBuildLogFileContents)' != ''" Importance="high" Text="'Documentation\$(Configuration)\LastBuild.log' file contents:" />
<Message Condition="$(ExitCode)!=0 And '@(LastBuildLogFileContents)' != ''" Importance="high" Text="%(LastBuildLogFileContents.Identity)" />
<Error Condition="$(ExitCode)!=0" Text="Documentation build failed" />
</Target>
<ItemGroup>
<CppUnitTests Include="UnitTests\dotNetInstallerLibUnitTests\$(Configuration)\dotNetInstallerLibUnitTests.dll" />
<CppUnitTests Include="UnitTests\dotNetInstallerToolsLibUnitTests\$(Configuration)\dotNetInstallerToolsLibUnitTests.dll" />
</ItemGroup>
<ItemGroup>
<UIDrivers Include="htmlInstaller\$(Configuration)\htmlInstaller.exe" />
<UIDrivers Include="dotNetInstaller\$(Configuration)\dotNetInstaller.exe" />
</ItemGroup>
<Target Name="uitests" Inputs="@(UIDrivers)" Outputs="%(UIDrivers.Identity).out">
<Message Text="Testing %(UIDrivers.Identity)" />
<MakeDir Directories="$(ReleaseDir)" />
<CreateItem Include="TestExecutable" AdditionalMetadata="ReplacementValue=$(MSBuildProjectDirectory)\%(UIDrivers.Identity)">
<Output TaskParameter="Include" ItemName="UITestExecutables"/>
</CreateItem>
<TemplateFile Template="UnitTests\dotNetInstallerUnitTests\App.config"
OutputFilename="bin\$(Configuration)\dotNetInstallerUnitTests.dll.config"
Tokens="@(UITestExecutables)" />
<NUnit ToolPath="$(NUnitToolPath)" Assemblies="UnitTests\dotNetInstallerUnitTests\bin\$(Configuration)\dotNetInstallerUnitTests.dll"
Force32Bit="true" OutputXmlFile="$(ReleaseDir)\UnitTests-%(UIDrivers.FileName).xml" />
</Target>
<Target Name="editortests">
<CreateItem Include="EditorTestExecutable" AdditionalMetadata="ReplacementValue=$(MSBuildProjectDirectory)\dotNetInstaller\$(Configuration)\dotNetInstaller.exe">
<Output TaskParameter="Include" ItemName="EditorTestExecutables"/>
</CreateItem>
<TemplateFile Template="UnitTests\InstallerEditorUnitTests\App.config"
OutputFilename="bin\$(Configuration)\InstallerEditorUnitTests.dll.config"
Tokens="@(EditorTestExecutables)" />
<NUnit ToolPath="$(NUnitToolPath)" Assemblies="UnitTests\InstallerEditorUnitTests\bin\$(Configuration)\InstallerEditorUnitTests.dll"
Force32Bit="true" OutputXmlFile="$(ReleaseDir)\UnitTests.xml" />
</Target>
<PropertyGroup>
<GenerateGuid>
<![CDATA[
public static string ScriptMain() {
return System.Guid.NewGuid().ToString().ToUpper();
}
]]>
</GenerateGuid>
</PropertyGroup>
<Target Name="libtests" Inputs="@(UIDrivers)" Outputs="%(UIDrivers.Identity).out">
<Message Text="Testing %(UIDrivers.Identity)" />
<MakeDir Directories="$(ReleaseDir)" />
<CreateItem Include="TestExecutable" AdditionalMetadata="ReplacementValue=$(MSBuildProjectDirectory)\%(UIDrivers.Identity)">
<Output TaskParameter="Include" ItemName="LibTestExecutables"/>
</CreateItem>
<TemplateFile Template="UnitTests\InstallerLibUnitTests\App.config"
OutputFilename="bin\$(Configuration)\InstallerLibUnitTests.dll.config"
Tokens="@(LibTestExecutables)" />
<!-- make a copy of nunit assemblies so that we can embed our custom manifest file in it so that it can successfully load the Microsoft VC++ runtime assemblies -->
<Script Language="C#" Code="$(GenerateGuid)">
<Output TaskParameter="ReturnValue" PropertyName="NewGuid" />
</Script>
<Message Text="Guid: $(NewGuid)" />
<MakeDir Directories="$(TEMP)\$(NewGuid)" />
<Copy SourceFiles="@(NUnitFiles)" DestinationFolder="$(TEMP)\$(NewGuid)/%(NUnitFiles.RecursiveDir)" />
<!-- the manifest file must be a relative path -->
<Exec Command=""$(ProjectDir)ThirdParty\Microsoft\Visual Studio 8\VC\bin\mt.exe" -manifest UnitTests\InstallerLibUnitTests\nunit-console-x86.exe.$(Configuration).manifest -outputresource:"$(TEMP)\$(NewGuid)\nunit-console-x86.exe";#1" />
<NUnit ToolPath="$(TEMP)\$(NewGuid)" Assemblies="UnitTests\InstallerLibUnitTests\bin\$(Configuration)\InstallerLibUnitTests.dll"
Force32Bit="true" OutputXmlFile="$(ReleaseDir)\UnitTests-%(UIDrivers.FileName).xml" />
<DeleteTree Directories="$(TEMP)\$(NewGuid)" />
</Target>
<Target Name="unittests" DependsOnTargets="version">
<Message Text="Running %(CppUnitTests.Identity) ..." />
<Exec Command=""C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" "%(CppUnitTests.Identity)" /Platform:x86" />
<MakeDir Directories="$(ReleaseDir)" />
<CallTarget Targets="libtests" />
<CallTarget Targets="uitests" />
<CallTarget Targets="editortests" />
</Target>
<Target Name="zip" DependsOnTargets="version">
<CreateItem Include="$(ReleaseDir)\**\*" Exclude="$(ReleaseDir)\*.zip;$(ReleaseDir)\UnitTests.xml;$(ReleaseDir)\*.msi">
<Output TaskParameter="Include" ItemName="PackageFiles" />
</CreateItem>
<Zip WorkingDirectory="target\$(Configuration)" ZipFileName="$(ReleaseDir)\dotNetInstaller.$(Major).$(Minor).$(Build).$(Revision).zip" Files="@(PackageFiles)" />
</Target>
<Target Name="installer" DependsOnTargets="version">
<MSBuild Projects="InstallerMsi\InstallerMsi.wixproj" Targets="Build" />
<Copy SourceFiles="InstallerMsi\bin\$(Configuration)\en-us\dotNetInstaller.msi" DestinationFiles="$(ReleaseDir)\dotNetInstaller.$(Major).$(Minor).$(Build).$(Revision).msi" />
</Target>
<!-- rewrite configuration samples to the current configuration format -->
<ItemGroup>
<SampleXmls Include="Samples/**/*.xml" />
</ItemGroup>
<Target Name="rewritesamples" Inputs="@(SampleXmls)" Outputs="%(SampleXmls.Identity).output">
<Message Text="%(SampleXmls.Identity)" />
<Attrib Files="%(SampleXmls.Identity)" ReadOnly="False" />
<Exec Command="InstallerConfig\bin\$(Configuration)\InstallerConfig.exe /ConfigFile:%(SampleXmls.Identity)" />
</Target>
<!-- rewrite the InstallerEditor/wizardcomponents.xml to current configuration format -->
<ItemGroup>
<WizardXmls Include="InstallerEditor/*.xml" />
</ItemGroup>
<Target Name="rewritewizardxmls" Inputs="@(WizardXmls)" Outputs="%(WizardXmls.Identity).output">
<Message Text="%(WizardXmls.Identity)" />
<XslTransform ToolPath="$(ProjectDir)ThirdParty\Sandcastle 2.6.1062.1\ProductionTools" XmlFile="%(WizardXmls.Identity)" XsltFiles="InstallerEditor\xsl\wizard2config.xsl" OutputFile="%(WizardXmls.Identity).config" />
<Exec Command="InstallerConfig\bin\$(Configuration)\InstallerConfig.exe /ConfigFile:%(WizardXmls.Identity).config" />
<XslTransform ToolPath="$(ProjectDir)ThirdParty\Sandcastle 2.6.1062.1\ProductionTools" XmlFile="%(WizardXmls.Identity).config" XsltFiles="InstallerEditor\xsl\config2wizard.xsl" OutputFile="%(WizardXmls.Identity)" />
<Delete Files="%(WizardXmls.Identity).config" />
</Target>
<Target Name="packagedsetupsample" DependsOnTargets="version">
<MakeDir Directories="Samples\PackagedSetup\bin\$(Configuration)" />
<Exec Command="InstallerLinker\bin\$(Configuration)\InstallerLinker.exe /Verbose /Output:"Samples\PackagedSetup\bin\$(Configuration)\Setup.exe" /Banner:Samples\PackagedSetup\banner.bmp /Splash:Samples\PackagedSetup\splash.bmp /Icon:Samples\PackagedSetup\icon.ico /Template:dotNetInstaller\$(Configuration)\dotNetInstaller.exe /Configuration:Samples\PackagedSetup\Configuration.xml /AppPath:Samples\PackagedSetup /EmbedFile:Readme.txt /Manifest:Samples\PackagedSetup\PackagedSetup.manifest"/>
<Exec Command="InstallerLinker\bin\$(Configuration)\InstallerLinker.exe /Verbose /Output:"Samples\PackagedSetup\bin\$(Configuration)\HtmlSetup.exe" /Banner:Samples\PackagedSetup\banner.bmp /Splash:Samples\PackagedSetup\splash.bmp /Icon:Samples\PackagedSetup\icon.ico /Template:htmlInstaller\$(Configuration)\htmlInstaller.exe /Configuration:Samples\PackagedSetup\Configuration.xml /AppPath:Samples\PackagedSetup /EmbedFile:Readme.txt /Manifest:Samples\PackagedSetup\PackagedSetup.manifest /EmbedHtml:htmlInstaller\html\index.html /EmbedHtml:htmlInstaller\html\style.css"/>
<MakeDir Directories="$(ReleaseDir)\Samples\PackagedSetup\Package" />
<Copy SourceFiles="Samples\PackagedSetup\bin\$(Configuration)\Setup.exe" DestinationFolder="$(ReleaseDir)\Samples\PackagedSetup\Package" />
<Copy SourceFiles="Samples\PackagedSetup\bin\$(Configuration)\HtmlSetup.exe" DestinationFolder="$(ReleaseDir)\Samples\PackagedSetup\Package" />
<Copy SourceFiles="@(PackagedSetupSample)" DestinationFolder="$(ReleaseDir)\Samples\PackagedSetup\Source\%(RecursiveDir)" />
</Target>
<Target Name="licenseagreementsetupsample" DependsOnTargets="version">
<MakeDir Directories="Samples\LicenseAgreement\bin\$(Configuration)" />
<Exec Command="InstallerLinker\bin\$(Configuration)\InstallerLinker.exe /Verbose /Output:"Samples\LicenseAgreement\bin\$(Configuration)\Setup.exe" /Template:dotNetInstaller\$(Configuration)\dotNetInstaller.exe /Configuration:Samples\LicenseAgreement\Configuration.xml /AppPath:Samples\LicenseAgreement"/>
<Exec Command="InstallerLinker\bin\$(Configuration)\InstallerLinker.exe /Verbose /Output:"Samples\LicenseAgreement\bin\$(Configuration)\HtmlSetup.exe" /Template:htmlInstaller\$(Configuration)\htmlInstaller.exe /Configuration:Samples\LicenseAgreement\Configuration.xml /AppPath:Samples\LicenseAgreement"/>
<MakeDir Directories="$(ReleaseDir)\Samples\LicenseAgreement" />
<Copy SourceFiles="Samples\LicenseAgreement\bin\$(Configuration)\Setup.exe" DestinationFolder="$(ReleaseDir)\Samples\LicenseAgreement" />
<Copy SourceFiles="Samples\LicenseAgreement\bin\$(Configuration)\HtmlSetup.exe" DestinationFolder="$(ReleaseDir)\Samples\LicenseAgreement" />
<Copy SourceFiles="@(LicenseAgreementSample)" DestinationFolder="$(ReleaseDir)\Samples\LicenseAgreement\%(RecursiveDir)" />
</Target>
</Project>