cscript path fix

This commit is contained in:
vadym 2022-12-19 15:30:07 +02:00
parent d9f5fd5f27
commit 72bbdbe509

View file

@ -260,7 +260,7 @@ cat > wix.xml << EOF
Name="RiV-mesh" Name="RiV-mesh"
Description="RiV-mesh is IoT E2E encrypted network" Description="RiV-mesh is IoT E2E encrypted network"
Directory="DesktopFolder" Directory="DesktopFolder"
Target="cscript" Target="%WINDIR%\system32\cscript"
Arguments="[MeshInstallFolder]mesh-ui-ie.js" Arguments="[MeshInstallFolder]mesh-ui-ie.js"
WorkingDirectory="MeshInstallFolder"/> WorkingDirectory="MeshInstallFolder"/>
<RegistryValue Root="HKCU" <RegistryValue Root="HKCU"
@ -273,7 +273,7 @@ cat > wix.xml << EOF
Key="Software\Microsoft\Windows\CurrentVersion\Run" Key="Software\Microsoft\Windows\CurrentVersion\Run"
Name="RiV-mesh client" Name="RiV-mesh client"
Type="string" Type="string"
Value='"cscript" "[MeshInstallFolder]mesh-ui-ie.js"' /> Value='"%WINDIR%\system32\cscript" "[MeshInstallFolder]mesh-ui-ie.js"' />
<Condition>ASSISTANCE_START_VIA_REGISTRY</Condition> <Condition>ASSISTANCE_START_VIA_REGISTRY</Condition>
</Component> </Component>
</Product> </Product>