Update Safe Exam Browser Patch to 3.10.0.826
This commit is contained in:
6
Setup/Components/Application.wxs
Normal file
6
Setup/Components/Application.wxs
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Fragment>
|
||||
<!-- These components will be auto-generated! -->
|
||||
</Fragment>
|
||||
</Wix>
|
36
Setup/Components/Application.xslt
Normal file
36
Setup/Components/Application.xslt
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<xsl:output method="xml" indent="yes"/>
|
||||
<xsl:template match="@*|node()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()" />
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
<xsl:template match="wix:File[substring(@Source, string-length(@Source) - string-length('SafeExamBrowser.exe') + 1) = 'SafeExamBrowser.exe']">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()" />
|
||||
<xsl:attribute name="Id">
|
||||
<xsl:text>MainExecutable</xsl:text>
|
||||
</xsl:attribute>
|
||||
</xsl:copy>
|
||||
<wix:File Id="ApplicationIconFile" Source="Resources\Application.ico" />
|
||||
<wix:File Id="ConfigurationIconFile" Source="Resources\ConfigurationFile.ico" />
|
||||
<wix:ProgId Id="ConfigurationFileExtension" Description="SEB Configuration File" Icon="ConfigurationIconFile" Advertise="no">
|
||||
<wix:Extension Id="seb" ContentType="application/seb" Advertise="no">
|
||||
<wix:Verb Id="open" Command="Open" Argument=""%1"" TargetFile="MainExecutable" />
|
||||
</wix:Extension>
|
||||
</wix:ProgId>
|
||||
<wix:RegistryKey Root="HKCR" Key="seb">
|
||||
<wix:RegistryValue Value="URL:Safe Exam Browser Protocol" Type="string" />
|
||||
<wix:RegistryValue Name="URL Protocol" Value="" Type="string" />
|
||||
<wix:RegistryValue Key="DefaultIcon" Value="[#ApplicationIconFile]" Type="string" />
|
||||
<wix:RegistryValue Key="shell\open\command" Value=""[ApplicationDirectory]$(var.SafeExamBrowser.Runtime.TargetFileName)" "%1"" Type="string" />
|
||||
</wix:RegistryKey>
|
||||
<wix:RegistryKey Root="HKCR" Key="sebs">
|
||||
<wix:RegistryValue Value="URL:Safe Exam Browser Secure Protocol" Type="string" />
|
||||
<wix:RegistryValue Name="URL Protocol" Value="" Type="string" />
|
||||
<wix:RegistryValue Key="DefaultIcon" Value="[#ApplicationIconFile]" Type="string" />
|
||||
<wix:RegistryValue Key="shell\open\command" Value=""[ApplicationDirectory]$(var.SafeExamBrowser.Runtime.TargetFileName)" "%1"" Type="string" />
|
||||
</wix:RegistryKey>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
6
Setup/Components/Configuration.wxs
Normal file
6
Setup/Components/Configuration.wxs
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Fragment>
|
||||
<!-- These components will be auto-generated! -->
|
||||
</Fragment>
|
||||
</Wix>
|
17
Setup/Components/Configuration.xslt
Normal file
17
Setup/Components/Configuration.xslt
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<xsl:output method="xml" indent="yes"/>
|
||||
<xsl:template match="@*|node()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()" />
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
<xsl:template match="wix:File[substring(@Source, string-length(@Source) - string-length('SEBConfigTool.exe') + 1) = 'SEBConfigTool.exe']">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()" />
|
||||
<xsl:attribute name="Id">
|
||||
<xsl:text>ConfigurationToolExecutable</xsl:text>
|
||||
</xsl:attribute>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
6
Setup/Components/Reset.wxs
Normal file
6
Setup/Components/Reset.wxs
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Fragment>
|
||||
<!-- These components will be auto-generated! -->
|
||||
</Fragment>
|
||||
</Wix>
|
17
Setup/Components/Reset.xslt
Normal file
17
Setup/Components/Reset.xslt
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<xsl:output method="xml" indent="yes"/>
|
||||
<xsl:template match="@*|node()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()" />
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
<xsl:template match="wix:File[substring(@Source, string-length(@Source) - string-length('ResetUtility.exe') + 1) = 'ResetUtility.exe']">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()" />
|
||||
<xsl:attribute name="Id">
|
||||
<xsl:text>ResetUtilityExecutable</xsl:text>
|
||||
</xsl:attribute>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
6
Setup/Components/Service.wxs
Normal file
6
Setup/Components/Service.wxs
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Fragment>
|
||||
<!-- These components will be auto-generated! -->
|
||||
</Fragment>
|
||||
</Wix>
|
17
Setup/Components/Service.xslt
Normal file
17
Setup/Components/Service.xslt
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<xsl:output method="xml" indent="yes"/>
|
||||
<xsl:template match="@*|node()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()" />
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
<xsl:template match="wix:File[substring(@Source, string-length(@Source) - string-length('Service.exe') + 1) = 'Service.exe']">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()" />
|
||||
</xsl:copy>
|
||||
<wix:ServiceInstall DisplayName="Safe Exam Browser Service" Name="SafeExamBrowser" Account="LocalSystem" ErrorControl="normal" Start="auto"
|
||||
Type="ownProcess" Vital="yes" Interactive="no" Description="Performs operations which require elevated privileges." />
|
||||
<wix:ServiceControl Id="ServiceControl" Name="SafeExamBrowser" Start="install" Stop="uninstall" Remove="uninstall" Wait="yes" />
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
Reference in New Issue
Block a user