forked from asjimene/CMPackager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTortoiseSVN.xml
69 lines (69 loc) · 2.98 KB
/
TortoiseSVN.xml
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
<ApplicationDef>
<Application>
<Name>TortoiseSVN</Name>
<Description>TortoiseSVN is a really easy to use Revision control / version control / source control software for Windows. It is based on Apache Subversion (SVN); TortoiseSVN provides a nice and easy user interface for Subversion.</Description>
<Publisher>Tortoise</Publisher>
<AutoInstall>True</AutoInstall>
<UserDocumentation>https://tortoisesvn.net/support.html</UserDocumentation>
<Icon>TortoiseSVN.png</Icon>
</Application>
<Downloads>
<Download DeploymentType="DeploymentType1">
<PrefetchScript>$URL = 'https://osdn.net' + (((Invoke-WebRequest https://osdn.net/projects/tortoisesvn).Links) | where -Property InnerText -Like "*TortoiseSVN*x64*.msi").href | Sort-Object -Descending | Select-Object -First 1
$HTTPheaders = @{
'User-Agent' = '[Microsoft.PowerShell.Commands.PSUserAgent]::FireFox'
}</PrefetchScript>
<URL></URL>
<DownloadFileName>TortoiseSVN.msi</DownloadFileName>
<Version></Version>
<FullVersion></FullVersion>
<DownloadVersionCheck>[String]$Version = ([String](Get-MSIInfo -Path $DownloadFile -Property ProductVersion)).TrimStart().TrimEnd()
$Version = ($version.Split('.'))[0..1] -join "."</DownloadVersionCheck>
<ExtraCopyFunctions></ExtraCopyFunctions>
</Download>
</Downloads>
<DeploymentTypes>
<DeploymentType Name="DeploymentType1">
<DeploymentTypeName>TortoiseSVN Silent Install x64</DeploymentTypeName>
<InstallationType>MSI</InstallationType>
<Comments>Silent Installer for TortoiseSVN</Comments>
<Language>English</Language>
<CacheContent>False</CacheContent>
<BranchCache>True</BranchCache>
<ContentFallback>True</ContentFallback>
<OnSlowNetwork>Download</OnSlowNetwork>
<InstallationMSI>TortoiseSVN.msi</InstallationMSI>
<UninstallCmd></UninstallCmd>
<Force32bit>False</Force32bit>
<InstallationBehaviorType>InstallForSystem</InstallationBehaviorType>
<LogonReqType>WhetherOrNotUserLoggedOn</LogonReqType>
<UserInteractionMode>Hidden</UserInteractionMode>
<ReqUserInteraction>False</ReqUserInteraction>
<EstRuntimeMins>15</EstRuntimeMins>
<MaxRuntimeMins>30</MaxRuntimeMins>
<RebootBehavior>BasedOnExitCode</RebootBehavior>
<DetectionMethodType>MSI</DetectionMethodType>
<RequirementsRules>
<RequirementsRule>
<RequirementsRuleType>Existential</RequirementsRuleType>
<RequirementsRuleValue>
<RuleValue>True</RuleValue>
</RequirementsRuleValue>
<RequirementsRuleGlobalCondition>AutoPackage - OSArchitecture x64</RequirementsRuleGlobalCondition>
</RequirementsRule>
</RequirementsRules>
</DeploymentType>
</DeploymentTypes>
<Distribution>
<DistributeContent>True</DistributeContent>
</Distribution>
<Supersedence>
<Supersedence>True</Supersedence>
<Uninstall>False</Uninstall>
</Supersedence>
<Deployment>
<DeploySoftware>True</DeploySoftware>
<DeploymentCollection>Test Collection</DeploymentCollection>
<UpdateSuperseded>False</UpdateSuperseded>
</Deployment>
</ApplicationDef>