On 19/03/2017 21:31, Owen Walker wrote: > > > > No Steve, That doesn't work. And even if it did, how would you > transfer the program to another computer? I'm looking for a normal > windows exe file that can be transferred to another computer and > still work. > > > Owen >
Owen, Please don't top post - bottom posting makes things a lot easier to read. There are two separate issues: 1/ A program WITH its associated files that you can move/copy to another computer and 2/ Setting up a short cut that will allow you to run the program from the desktop, start menu, etc. From your earlier comments, if you use pyinstaller in directory mode you get the first but have a problem with the second as when you move the EXE, without its associated files, it unsurprisingly doesn't work. But if you move the entire directory and run the exe part from within that directory it does work. PLEASE CONFIRM THIS! The second point, assuming what I am saying above is true, is to create short-cuts that allow you to run the exe and for it to find it's associated files by clicking on a desktop icon. There are a number of ways that an install program, or the program itself on first run, can do that but the most common is to create a desktop short cut that tells Windows: - Put this icon, with these words, on the desktop, - When it is double clicked change directory to THIS location and execute THIS file. The second can be done programatically but first we need to be sure of the first point that you can copy the entire directory output by pyinstaller to another computer and run the exe from within that directory. -- Steve (Gadget) Barnes Any opinions in this message are my personal opinions and do not reflect those of my employer. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/d/optout.
