diff options
author | Ingo Bauersachs <ingo@jitsi.org> | 2013-12-08 20:53:19 +0100 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2013-12-08 20:54:15 +0100 |
commit | 62b6d94bc4a7270857ef2178d72a4ff4766296c8 (patch) | |
tree | c8a93003993ecdeef2716e8927fbed34fd6e0390 /resources/install/windows | |
parent | dea5dd7cf8ae1e800695b6866b669115b0a7686b (diff) | |
download | jitsi-62b6d94bc4a7270857ef2178d72a4ff4766296c8.zip jitsi-62b6d94bc4a7270857ef2178d72a4ff4766296c8.tar.gz jitsi-62b6d94bc4a7270857ef2178d72a4ff4766296c8.tar.bz2 |
MSI props [M]PROV_URL and [M]PROV_METHOD to set provisioning via params
Diffstat (limited to 'resources/install/windows')
-rw-r--r-- | resources/install/windows/DefaultOverridesProps.wxi | 95 | ||||
-rw-r--r-- | resources/install/windows/installer-windows.wxs | 2 |
2 files changed, 97 insertions, 0 deletions
diff --git a/resources/install/windows/DefaultOverridesProps.wxi b/resources/install/windows/DefaultOverridesProps.wxi new file mode 100644 index 0000000..500f743 --- /dev/null +++ b/resources/install/windows/DefaultOverridesProps.wxi @@ -0,0 +1,95 @@ +<?xml version="1.0" ?>
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
+<!--
+ Jitsi, the OpenSource Java VoIP and Instant Messaging client.
+
+ Distributable under LGPL license.
+ See terms of license at gnu.org.
+-->
+ <Fragment>
+ <ComponentGroup Id="ComponentGroup_DefaultOverrides">
+ <Component
+ Id="ComponentGroup_DefaultOverrides_Provisioning_Method"
+ Directory="lib"
+ Guid="A1D53A23-11C6-4886-BB34-E70B68CF8CF4">
+ <Condition><![CDATA[PROV_METHOD]]></Condition>
+ <IniFile
+ Id="DefaultOverrides_ProvisioningMethodOnly"
+ Action="addLine"
+ Directory="lib"
+ Name="jitsi-default-overrides.properties"
+ Section="#dummy"
+ Key="net.java.sip.communicator.plugin.provisioning.METHOD"
+ Value="[PROV_METHOD]"
+ />
+ <CreateFolder/>
+ </Component>
+ <Component
+ Id="ComponentGroup_DefaultOverrides_Provisioning_URL"
+ Directory="lib"
+ Guid="36516208-617E-4901-B52C-E35D25FDC2C8">
+ <Condition><![CDATA[PROV_URL]]></Condition>
+ <IniFile
+ Id="DefaultOverrides_ProvisioningManualMethodForUrl"
+ Action="addLine"
+ Directory="lib"
+ Name="jitsi-default-overrides.properties"
+ Section="#dummy"
+ Key="net.java.sip.communicator.plugin.provisioning.METHOD"
+ Value="Manual"
+ />
+ <IniFile
+ Id="DefaultOverrides_ProvisioningUrl"
+ Action="addLine"
+ Directory="lib"
+ Name="jitsi-default-overrides.properties"
+ Section="#dummy"
+ Key="net.java.sip.communicator.plugin.provisioning.URL"
+ Value="[PROV_URL]"
+ />
+ <CreateFolder/>
+ </Component>
+ <Component
+ Id="ComponentGroup_DefaultOverrides_MandatoryProvisioning_Method"
+ Directory="lib"
+ Guid="A1D53A23-11C6-4886-BB34-E70B68CF8CF4">
+ <Condition><![CDATA[MPROV_METHOD]]></Condition>
+ <IniFile
+ Id="DefaultOverrides_MandatoryProvisioningMethodOnly"
+ Action="addLine"
+ Directory="lib"
+ Name="jitsi-default-overrides.properties"
+ Section="#dummy"
+ Key="*net.java.sip.communicator.plugin.provisioning.METHOD"
+ Value="[MPROV_METHOD]"
+ />
+ <CreateFolder/>
+ </Component>
+ <Component
+ Id="ComponentGroup_DefaultOverrides_MandatoryProvisioning_URL"
+ Directory="lib"
+ Guid="36516208-617E-4901-B52C-E35D25FDC2C8">
+ <Condition><![CDATA[MPROV_URL]]></Condition>
+ <IniFile
+ Id="DefaultOverrides_MandatoryProvisioningManualMethodForUrl"
+ Action="addLine"
+ Directory="lib"
+ Name="jitsi-default-overrides.properties"
+ Section="#dummy"
+ Key="*net.java.sip.communicator.plugin.provisioning.METHOD"
+ Value="Manual"
+ />
+ <IniFile
+ Id="DefaultOverrides_MandatoryProvisioningUrl"
+ Action="addLine"
+ Directory="lib"
+ Name="jitsi-default-overrides.properties"
+ Section="#dummy"
+ Key="*net.java.sip.communicator.plugin.provisioning.URL"
+ Value="[MPROV_URL]"
+ />
+ <CreateFolder/>
+ </Component>
+ </ComponentGroup>
+ </Fragment>
+</Include>
diff --git a/resources/install/windows/installer-windows.wxs b/resources/install/windows/installer-windows.wxs index 95c1082..c70623d 100644 --- a/resources/install/windows/installer-windows.wxs +++ b/resources/install/windows/installer-windows.wxs @@ -132,6 +132,7 @@ <ComponentRef Id="Component_StartupShortcut" />
<ComponentGroupRef Id="ComponentGroup_RegistryEntries" />
+ <ComponentGroupRef Id="ComponentGroup_DefaultOverrides" />
</Feature>
<!--
@@ -671,5 +672,6 @@ </Fragment>
<?include SCRegistrySpec.wxi ?>
+<?include DefaultOverridesProps.wxi ?>
</Wix>
|