Removed System folder variable

This commit is contained in:
vadym 2022-12-19 16:44:24 +02:00
parent fc5c938343
commit bb258f9116

View file

@ -276,9 +276,9 @@ 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="[SystemFolder]cscript" Target="cscript"
Arguments="[MeshInstallFolder]mesh-ui-ie.js" Arguments="[MeshInstallFolder]mesh-ui-ie.js"
WorkingDirectory="[SystemFolder]"> WorkingDirectory="[MeshInstallFolder]">
<Icon Id="icon.ico" SourceFile="riv.ico"/> <Icon Id="icon.ico" SourceFile="riv.ico"/>
</Shortcut> </Shortcut>
<RegistryValue Root="HKCU" <RegistryValue Root="HKCU"
@ -291,7 +291,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='"[SystemFolder]cscript" "[MeshInstallFolder]mesh-ui-ie.js"' /> Value='"cscript" "[MeshInstallFolder]mesh-ui-ie.js"' />
<Condition>ASSISTANCE_START_VIA_REGISTRY</Condition> <Condition>ASSISTANCE_START_VIA_REGISTRY</Condition>
</Component> </Component>
</Product> </Product>