-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
🔍 Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
🐞 Description of the bug
on Windows
If Admin does the installation then by default NSIS creates shortcut only for this user, in this case Admin.
this would not help if some one wants to deploy this installer company wide. and since it is installed for all users on this machine, like Ansys, it would be better to create shortcut for all.
📝 Steps to reproduce
- Install tool using
user1 - switch account, look for Ansys Python Manager in start menu
following is the solution for this problem
; Create the start menu shortcut for all users
SetShellVarContext all
CreateShortCut "$SMPROGRAMS\Ansys Python Manager\Ansys Python Manager.lnk" "$INSTDIR\Ansys Python Manager.exe"
SetShellVarContext current
CreateShortCut "$SMPROGRAMS\Ansys Python Manager\Ansys Python Manager.lnk" "$INSTDIR\Ansys Python Manager.exe"💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2023 R1
🐍 Which Python version are you using?
3.7
📦 Installed packages
-Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working