mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-25 16:35:07 +03:00
adjusted wix shortcut for app
This commit is contained in:
parent
c5022d2b45
commit
0bfa83f019
1 changed files with 38 additions and 37 deletions
|
@ -232,14 +232,6 @@ cat > wix.xml << EOF
|
||||||
</Directory>
|
</Directory>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Feature Id="MeshFeature" Title="Mesh" Level="1">
|
|
||||||
<ComponentRef Id="MainExecutable" />
|
|
||||||
<ComponentRef Id="UIExecutable" />
|
|
||||||
<ComponentRef Id="CtrlExecutable" />
|
|
||||||
<ComponentRef Id="cmpDesktopShortcut" />
|
|
||||||
<ComponentRef Id="ConfigScript" />
|
|
||||||
</Feature>
|
|
||||||
|
|
||||||
<CustomAction
|
<CustomAction
|
||||||
Id="UpdateGenerateConfig"
|
Id="UpdateGenerateConfig"
|
||||||
Directory="MeshInstallFolder"
|
Directory="MeshInstallFolder"
|
||||||
|
@ -275,22 +267,22 @@ cat > wix.xml << EOF
|
||||||
NOT Installed AND NOT REMOVE
|
NOT Installed AND NOT REMOVE
|
||||||
</Custom>
|
</Custom>
|
||||||
</InstallExecuteSequence>
|
</InstallExecuteSequence>
|
||||||
<Component Id="cmpDesktopShortcut" Guid="e32e4d07-abf8-4c37-a2c3-1ca4b4f98adc" Directory="DesktopFolder" >
|
<DirectoryRef Id="MeshInstallFolder">
|
||||||
|
<Component Id="cmpDesktopShortcut" Guid="e32e4d07-abf8-4c37-a2c3-1ca4b4f98adc" >
|
||||||
<Shortcut Id="RiVMeshDesktopShortcut"
|
<Shortcut Id="RiVMeshDesktopShortcut"
|
||||||
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.exe"
|
Target="cscript.exe"
|
||||||
Arguments="[MeshInstallFolder]mesh-ui-ie.js"
|
Arguments="[MeshInstallFolder]mesh-ui-ie.js"
|
||||||
WorkingDirectory="MeshInstallFolder"
|
WorkingDirectory="MeshInstallFolder"/>
|
||||||
Advertise="yes"/>
|
|
||||||
<Shortcut Id="ApplicationStartMenuShortcut"
|
<Shortcut Id="ApplicationStartMenuShortcut"
|
||||||
Name="RiV-mesh"
|
Name="RiV-mesh"
|
||||||
Description="RiV-mesh is IoT E2E encrypted network"
|
Description="RiV-mesh is IoT E2E encrypted network"
|
||||||
Target="cscript.exe"
|
Target="cscript.exe"
|
||||||
Arguments="[MeshInstallFolder]mesh-ui-ie.js"
|
Arguments="[MeshInstallFolder]mesh-ui-ie.js"
|
||||||
WorkingDirectory="MeshInstallFolder"
|
WorkingDirectory="MeshInstallFolder"/>
|
||||||
Advertise="yes"/>
|
<RemoveFolder Id="MeshInstallFolder" On="uninstall"/>
|
||||||
<RegistryValue Root="HKCU"
|
<RegistryValue Root="HKCU"
|
||||||
Key="Software\RiV-chain\RiV-mesh"
|
Key="Software\RiV-chain\RiV-mesh"
|
||||||
Name="installed"
|
Name="installed"
|
||||||
|
@ -304,6 +296,15 @@ cat > wix.xml << EOF
|
||||||
Value='"cscript.exe" "[MeshInstallFolder]mesh-ui-ie.js"' />
|
Value='"cscript.exe" "[MeshInstallFolder]mesh-ui-ie.js"' />
|
||||||
<Condition>ASSISTANCE_START_VIA_REGISTRY</Condition>
|
<Condition>ASSISTANCE_START_VIA_REGISTRY</Condition>
|
||||||
</Component>
|
</Component>
|
||||||
|
</DirectoryRef>
|
||||||
|
|
||||||
|
<Feature Id="MeshFeature" Title="Mesh" Level="1">
|
||||||
|
<ComponentRef Id="MainExecutable" />
|
||||||
|
<ComponentRef Id="UIExecutable" />
|
||||||
|
<ComponentRef Id="CtrlExecutable" />
|
||||||
|
<ComponentRef Id="cmpDesktopShortcut" />
|
||||||
|
<ComponentRef Id="ConfigScript" />
|
||||||
|
</Feature>
|
||||||
</Product>
|
</Product>
|
||||||
</Wix>
|
</Wix>
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue