pawel
pawel

Reputation: 35

pyinstaller move .exe file to Desktop

I made GUI application with PyQt and wrapped it up with pyinstaller. As you know, make it for onefile (sole exe file) is quite slow.

So, what I want to do is wrap it by using pyinstaller but not in onefile, but i still don't want to execute the exe file in the folder. I want to move the exe file to desktop directory so I can use it like onefile. I tried it but it says there is no .dll on desktop directory.

I assume that there is quite simple solution. How can I solve this problem?

Upvotes: 2

Views: 1251

Answers (1)

buran
buran

Reputation: 14273

Keep the file in the folder and create a shortcut on the desktop instead. You can have also shortcuts in the Start menu for example or pin the exe (create shortcut) in TaskBar. If you are going to distribute it a simple installer can automate the creation of the said shortcuts.

Upvotes: 5

Related Questions