Skip to content

Commit d393901

Browse files
committed
WiX: Add shortcuts for Jupyter and Spyder executables
- Added File entries for Jupyter Lab, Jupyter Notebook, Spyder, and Spyder reset - Created individual shortcut components for each executable - Added WinPython Interpreter shortcut component - Each shortcut has unique registry KeyPath and RemoveFolder ID
1 parent 0d67037 commit d393901

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

wix/generic-DataLab-WinPython.wxs

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
<ComponentGroup Id="ProductComponents">
3131
<Component Id="PC_Files" Directory="INSTALLFOLDER" Guid="502b999f-a88e-464b-ba6c-a8c987937c41">
3232
<File Source=".\dist\DataLab-WinPython\DataLab.exe" KeyPath="yes" />
33+
<File Source=".\dist\DataLab-WinPython\Jupyter Lab.exe" KeyPath="no" />
34+
<File Source=".\dist\DataLab-WinPython\Jupyter Notebook.exe" KeyPath="no" />
35+
<File Source=".\dist\DataLab-WinPython\Spyder.exe" KeyPath="no" />
36+
<File Source=".\dist\DataLab-WinPython\Spyder reset.exe" KeyPath="no" />
3337
<File Source=".\dist\DataLab-WinPython\WinPython Command Prompt.exe" KeyPath="no" />
3438
<File Source=".\dist\DataLab-WinPython\WinPython Control Panel.exe" KeyPath="no" />
3539
<File Source=".\dist\DataLab-WinPython\WinPython Interpreter.exe" KeyPath="no" />
@@ -56,10 +60,35 @@
5660
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="shortcut_controlpanel" Type="integer" Value="1" KeyPath="yes" />
5761
<RemoveFolder Id="RemoveApplicationProgramsFolder4" Directory="ApplicationProgramsFolder" On="uninstall" />
5862
</Component>
63+
<Component Id="PC_Shortcut_Interpreter" Directory="ApplicationProgramsFolder" Guid="*">
64+
<Shortcut Id="ApplicationStartMenuShortcut03" Name="DataLab-WinPython Interpreter" Description="DataLab-WinPython Interpreter" Target="[INSTALLFOLDER]\WinPython Interpreter.exe" WorkingDirectory="INSTALLFOLDER" />
65+
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="shortcut_interpreter" Type="integer" Value="1" KeyPath="yes" />
66+
<RemoveFolder Id="RemoveApplicationProgramsFolder5" Directory="ApplicationProgramsFolder" On="uninstall" />
67+
</Component>
68+
<Component Id="PC_Shortcut_JupyterLab" Directory="ApplicationProgramsFolder" Guid="*">
69+
<Shortcut Id="ApplicationStartMenuShortcut04" Name="Jupyter Lab" Description="Jupyter Lab" Target="[INSTALLFOLDER]\Jupyter Lab.exe" WorkingDirectory="INSTALLFOLDER" />
70+
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="shortcut_jupyterlab" Type="integer" Value="1" KeyPath="yes" />
71+
<RemoveFolder Id="RemoveApplicationProgramsFolder6" Directory="ApplicationProgramsFolder" On="uninstall" />
72+
</Component>
73+
<Component Id="PC_Shortcut_JupyterNotebook" Directory="ApplicationProgramsFolder" Guid="*">
74+
<Shortcut Id="ApplicationStartMenuShortcut05" Name="Jupyter Notebook" Description="Jupyter Notebook" Target="[INSTALLFOLDER]\Jupyter Notebook.exe" WorkingDirectory="INSTALLFOLDER" />
75+
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="shortcut_jupyternotebook" Type="integer" Value="1" KeyPath="yes" />
76+
<RemoveFolder Id="RemoveApplicationProgramsFolder7" Directory="ApplicationProgramsFolder" On="uninstall" />
77+
</Component>
78+
<Component Id="PC_Shortcut_Spyder" Directory="ApplicationProgramsFolder" Guid="*">
79+
<Shortcut Id="ApplicationStartMenuShortcut06" Name="Spyder" Description="Spyder" Target="[INSTALLFOLDER]\Spyder.exe" WorkingDirectory="INSTALLFOLDER" />
80+
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="shortcut_spyder" Type="integer" Value="1" KeyPath="yes" />
81+
<RemoveFolder Id="RemoveApplicationProgramsFolder8" Directory="ApplicationProgramsFolder" On="uninstall" />
82+
</Component>
83+
<Component Id="PC_Shortcut_SpyderReset" Directory="ApplicationProgramsFolder" Guid="*">
84+
<Shortcut Id="ApplicationStartMenuShortcut07" Name="Spyder reset" Description="Spyder reset" Target="[INSTALLFOLDER]\Spyder reset.exe" WorkingDirectory="INSTALLFOLDER" />
85+
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="shortcut_spyderreset" Type="integer" Value="1" KeyPath="yes" />
86+
<RemoveFolder Id="RemoveApplicationProgramsFolder9" Directory="ApplicationProgramsFolder" On="uninstall" />
87+
</Component>
5988
<Component Id="PC_Shortcut_Uninstall" Directory="ApplicationProgramsFolder" Guid="*">
6089
<Shortcut Id="UninstallProductShortcut" Name="Uninstall DataLab" Description="Uninstalls DataLab" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" WorkingDirectory="INSTALLFOLDER" Icon="DataLab.exe" />
6190
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="shortcut_uninstall" Type="integer" Value="1" KeyPath="yes" />
62-
<RemoveFolder Id="RemoveApplicationProgramsFolder5" Directory="ApplicationProgramsFolder" On="uninstall" />
91+
<RemoveFolder Id="RemoveApplicationProgramsFolder10" Directory="ApplicationProgramsFolder" On="uninstall" />
6392
</Component>
6493
<Component Id="PC_Registry" Directory="INSTALLFOLDER" Guid="*">
6594
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="installed" Type="integer" Value="1" KeyPath="yes" />

0 commit comments

Comments
 (0)