Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlueBlock <danb@pobox.com>2019-09-06 20:54:30 +0300
committerBlueBlock <danb@pobox.com>2019-09-06 20:54:30 +0300
commitc14c4a8009af2bc65d4227bb4d8732cafa85c75d (patch)
tree99b461bfbe8ee28aa13384a6f6a0e8d4f9f2834b /Installer
parent2bac2126b774a71594f9a4fc754f6da6de89e8b0 (diff)
add FORSERVICE option to installer
FORSERVICE will only install DuplicatiCore
Diffstat (limited to 'Installer')
-rw-r--r--Installer/Windows/Duplicati.wxs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Installer/Windows/Duplicati.wxs b/Installer/Windows/Duplicati.wxs
index 5a74a0736..0fff03271 100644
--- a/Installer/Windows/Duplicati.wxs
+++ b/Installer/Windows/Duplicati.wxs
@@ -42,10 +42,11 @@
Control="Finish"
Event="DoAction"
Value="LaunchApplication">
- <![CDATA[WIXUI_EXITDIALOGOPTIONALCHECKBOX and NOT Installed]]>
+ <![CDATA[WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and FORSERVICE = "false" and NOT Installed]]>
</Publish>
</UI>
+ <Property Id="FORSERVICE" Value="false" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramMenuFolder" Name="Programs"/>
@@ -62,16 +63,19 @@
<Feature Id="DuplicatiCore" Title="Duplicati core files" Level="1" Description="Installs the required files for Duplicati." AllowAdvertise="no" TypicalDefault="install" InstallDefault="local" Absent="disallow" ConfigurableDirectory="INSTALLLOCATION" >
<Feature Id="DuplicatiDesktopShortCutFeature" Title="Desktop Shortcut" Level="1" Description ="Installs a shortcut to Duplicati on the desktop" Absent="allow" AllowAdvertise="no" TypicalDefault="install" InstallDefault="local">
<ComponentRef Id="DuplicatiDesktopShortcutComponent"/>
+ <Condition Level="0">FORSERVICE = "true"</Condition>
</Feature>
<Feature Id="DuplicatiProgramMenuShortCutFeature" Title="Program Menu Shortcut" Level="1" Description ="Installs a shortcut to Duplicati in the Program menu" Absent="allow" AllowAdvertise="no" TypicalDefault="install" InstallDefault="local">
<ComponentRef Id="DuplicatiProgramMenuShortcutComponent"/>
+ <Condition Level="0">FORSERVICE = "true"</Condition>
</Feature>
<ComponentGroupRef Id="DUPLICATIBIN" />
</Feature>
<Feature Id="DuplicatiStartupShortCutFeature" Title="Launch Duplicati at startup" Level="1" Description ="Automatically launches Duplicati when you log on to the computer" Absent="allow" AllowAdvertise="no" TypicalDefault="install" InstallDefault="local">
<ComponentRef Id="StartupMenuItem"/>
+ <Condition Level="0">FORSERVICE = "true"</Condition>
</Feature>
<!-- Launch duplicati setup -->