Preserve ClickOnce manifest bytes

This commit is contained in:
Livio Merola
2026-07-24 10:48:26 +02:00
parent 0f4fd8c17e
commit bb676b8aee
5 changed files with 150 additions and 149 deletions
+1
View File
@@ -0,0 +1 @@
clickonce/** -text
+27 -27
View File
@@ -1,28 +1,28 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2"> <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<assemblyIdentity name="LMEMoxaTransfer.application" version="1.0.2.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" /> <assemblyIdentity name="LMEMoxaTransfer.application" version="1.0.2.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2:publisher="Compomac SPA" co.v1:suiteName="Compomac SPA" asmv2:product="LMEMoxaTransfer" xmlns="urn:schemas-microsoft-com:asm.v1" /> <description asmv2:publisher="Compomac SPA" co.v1:suiteName="Compomac SPA" asmv2:product="LMEMoxaTransfer" xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true" minimumRequiredVersion="1.0.2.0"> <deployment install="true" mapFileExtensions="true" minimumRequiredVersion="1.0.2.0">
<subscription> <subscription>
<update> <update>
<beforeApplicationStartup /> <beforeApplicationStartup />
</update> </update>
</subscription> </subscription>
<deploymentProvider codebase="https://gitea.lmcloud.it/livio/LMEMoxaTransfer/raw/branch/main/clickonce/LMEMoxaTransfer.application" /> <deploymentProvider codebase="https://gitea.lmcloud.it/livio/LMEMoxaTransfer/raw/branch/main/clickonce/LMEMoxaTransfer.application" />
</deployment> </deployment>
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2"> <compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
<framework targetVersion="4.5" profile="Full" supportedRuntime="4.0.30319" /> <framework targetVersion="4.5" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks> </compatibleFrameworks>
<dependency> <dependency>
<dependentAssembly dependencyType="install" codebase="LMEMoxaTransfer.dll.manifest" size="4831"> <dependentAssembly dependencyType="install" codebase="LMEMoxaTransfer.dll.manifest" size="4831">
<assemblyIdentity name="LMEMoxaTransfer.exe" version="1.0.2.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" /> <assemblyIdentity name="LMEMoxaTransfer.exe" version="1.0.2.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>oVF/cuEW2OGpcywu/J9R9f9BQG3jOj5PK2iE07Un63o=</dsig:DigestValue> <dsig:DigestValue>oVF/cuEW2OGpcywu/J9R9f9BQG3jOj5PK2iE07Un63o=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
</asmv1:assembly> </asmv1:assembly>
+22 -22
View File
@@ -1,23 +1,23 @@
{ {
"runtimeTarget": { "runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0", "name": ".NETCoreApp,Version=v8.0",
"signature": "" "signature": ""
}, },
"compilationOptions": {}, "compilationOptions": {},
"targets": { "targets": {
".NETCoreApp,Version=v8.0": { ".NETCoreApp,Version=v8.0": {
"LMEMoxaTransfer/1.0.2.0": { "LMEMoxaTransfer/1.0.2.0": {
"runtime": { "runtime": {
"LMEMoxaTransfer.dll": {} "LMEMoxaTransfer.dll": {}
} }
} }
} }
}, },
"libraries": { "libraries": {
"LMEMoxaTransfer/1.0.2.0": { "LMEMoxaTransfer/1.0.2.0": {
"type": "project", "type": "project",
"serviceable": false, "serviceable": false,
"sha512": "" "sha512": ""
} }
} }
} }
+81 -81
View File
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2"> <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<asmv1:assemblyIdentity name="LMEMoxaTransfer.exe" version="1.0.2.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" /> <asmv1:assemblyIdentity name="LMEMoxaTransfer.exe" version="1.0.2.0" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
<description asmv2:iconFile="Assets\app-icon.ico" xmlns="urn:schemas-microsoft-com:asm.v1" /> <description asmv2:iconFile="Assets\app-icon.ico" xmlns="urn:schemas-microsoft-com:asm.v1" />
<application /> <application />
<entryPoint> <entryPoint>
<assemblyIdentity name="Launcher" version="8.0.0.0" language="neutral" processorArchitecture="msil" /> <assemblyIdentity name="Launcher" version="8.0.0.0" language="neutral" processorArchitecture="msil" />
<commandLine file="Launcher.exe" parameters="" /> <commandLine file="Launcher.exe" parameters="" />
</entryPoint> </entryPoint>
<trustInfo> <trustInfo>
<security> <security>
<applicationRequestMinimum> <applicationRequestMinimum>
<PermissionSet Unrestricted="true" ID="Custom" SameSite="site" /> <PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
<defaultAssemblyRequest permissionSetReference="Custom" /> <defaultAssemblyRequest permissionSetReference="Custom" />
</applicationRequestMinimum> </applicationRequestMinimum>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- <!--
Opzioni manifesto Controllo dell'account utente Opzioni manifesto Controllo dell'account utente
Se si vuole modificare il livello di Controllo dell'account utente di Windows, sostituire il Se si vuole modificare il livello di Controllo dell'account utente di Windows, sostituire il
@@ -25,69 +25,69 @@
Se si vuole usare Virtualizzazione file system e registro di sistema per la Se si vuole usare Virtualizzazione file system e registro di sistema per la
compatibilità con le versioni precedenti, eliminare il nodo requestedExecutionLevel. compatibilità con le versioni precedenti, eliminare il nodo requestedExecutionLevel.
--> -->
<requestedExecutionLevel level="asInvoker" uiAccess="false" /> <requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges> </requestedPrivileges>
</security> </security>
</trustInfo> </trustInfo>
<dependency> <dependency>
<dependentOS> <dependentOS>
<osVersionInfo> <osVersionInfo>
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" /> <os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
</osVersionInfo> </osVersionInfo>
</dependentOS> </dependentOS>
</dependency> </dependency>
<dependency> <dependency>
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true"> <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" /> <assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
<dependency> <dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Launcher.exe" size="16384"> <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Launcher.exe" size="16384">
<assemblyIdentity name="Launcher" version="8.0.0.0" language="neutral" processorArchitecture="msil" /> <assemblyIdentity name="Launcher" version="8.0.0.0" language="neutral" processorArchitecture="msil" />
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>3v/2JePabKRfZ0iw+t9nxGWMYs3Sn5Xy0OtlTNlsovs=</dsig:DigestValue> <dsig:DigestValue>3v/2JePabKRfZ0iw+t9nxGWMYs3Sn5Xy0OtlTNlsovs=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
<file name="Assets\app-icon.ico" size="9868"> <file name="Assets\app-icon.ico" size="9868">
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>NM9t8/K8+c6z60ZCFceDhUGaGAJUWggXZzYw0ap3wbk=</dsig:DigestValue> <dsig:DigestValue>NM9t8/K8+c6z60ZCFceDhUGaGAJUWggXZzYw0ap3wbk=</dsig:DigestValue>
</hash> </hash>
</file> </file>
<file name="Assets\app-icon.png" size="9846"> <file name="Assets\app-icon.png" size="9846">
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>vrKGEd9S1kba0lj1Dse7EraF35cGx7P3QeERgj0t9sQ=</dsig:DigestValue> <dsig:DigestValue>vrKGEd9S1kba0lj1Dse7EraF35cGx7P3QeERgj0t9sQ=</dsig:DigestValue>
</hash> </hash>
</file> </file>
<file name="LMEMoxaTransfer.dll" size="72192"> <file name="LMEMoxaTransfer.dll" size="72192">
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>wFyuPcFMLs+kQUWReMPRdDVplj0KESRpLIxLr8BRWy8=</dsig:DigestValue> <dsig:DigestValue>wFyuPcFMLs+kQUWReMPRdDVplj0KESRpLIxLr8BRWy8=</dsig:DigestValue>
</hash> </hash>
</file> </file>
<file name="LMEMoxaTransfer.exe" size="161792"> <file name="LMEMoxaTransfer.exe" size="161792">
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>jwSeTwgZuFH0QAfLimHU9wznPOIaeugQvU7Ax1uzlcU=</dsig:DigestValue> <dsig:DigestValue>jwSeTwgZuFH0QAfLimHU9wznPOIaeugQvU7Ax1uzlcU=</dsig:DigestValue>
</hash> </hash>
</file> </file>
</asmv1:assembly> </asmv1:assembly>
+19 -19
View File
@@ -1,20 +1,20 @@
{ {
"runtimeOptions": { "runtimeOptions": {
"tfm": "net8.0", "tfm": "net8.0",
"frameworks": [ "frameworks": [
{ {
"name": "Microsoft.NETCore.App", "name": "Microsoft.NETCore.App",
"version": "8.0.0" "version": "8.0.0"
}, },
{ {
"name": "Microsoft.WindowsDesktop.App", "name": "Microsoft.WindowsDesktop.App",
"version": "8.0.0" "version": "8.0.0"
} }
], ],
"configProperties": { "configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false, "System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true, "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true,
"CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false "CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false
} }
} }
} }