Off topic: Inno Setup & wxPython

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Apostle
    New Member
    • Dec 2008
    • 28

    Off topic: Inno Setup & wxPython

    I don't know where to post it inBytes, but since I'm used to Python forum, I hope someone will help me here. Advices of as to where I should post this are valid!

    I have made a project, compiled it with py2exe and packed fine with Inno setup. The setup installs fine and adds both desktop and start menu Icon.

    The problem is when I click the shortcuts, I get error as attached image shows "see log for more details" But when I go to program Directory and run the exe manually, It runs fine. I don't know what is wrong with the installer

    Thanks for your help
    Attached Files
  • micmast
    New Member
    • Mar 2008
    • 144

    #2
    what is the content of the log file?

    Comment

    • Apostle
      New Member
      • Dec 2008
      • 28

      #3
      contents of the log complains that certain folder is not found.
      In fact, the folder is in its place that's why when I run the exe file, it starts with no problem. I think something is wrong in running usng shortcuts

      in Inno setup I see option to start application with arguments. Could there be something I'm missing?

      Comment

      • micmast
        New Member
        • Mar 2008
        • 144

        #4
        I think it might be indeed the directory structure. You could change the shortcut a bit, for example launch a bat file that will first cd in the correct directory and then execute the executable.

        Comment

        • Apostle
          New Member
          • Dec 2008
          • 28

          #5
          How do I do that? I can write the .bat file but what about making a shortcut with the same icon (dont like the .bat's windows icon)

          Comment

          • micmast
            New Member
            • Mar 2008
            • 144

            #6
            I'm not on a windows machine, but the bat script would look something like this.

            cd "C:\Program Files\folder\to \your\applicati on\"
            yourapp.exe

            Then you create a shortcut to this bat file and change the icon (right click - properties)

            Comment

            • Apostle
              New Member
              • Dec 2008
              • 28

              #7
              Ok I will try that!
              Thanks

              Comment

              Working...