473,407 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Off topic: Inno Setup & wxPython

28
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 Images
File Type: jpg error.JPG (10.0 KB, 161 views)
Sep 17 '09 #1
6 2792
micmast
144 100+
what is the content of the log file?
Sep 17 '09 #2
Apostle
28
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?
Sep 17 '09 #3
micmast
144 100+
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.
Sep 18 '09 #4
Apostle
28
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)
Sep 19 '09 #5
micmast
144 100+
I'm not on a windows machine, but the bat script would look something like this.

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

Then you create a shortcut to this bat file and change the icon (right click - properties)
Sep 19 '09 #6
Apostle
28
Ok I will try that!
Thanks
Sep 20 '09 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Anthony Baxter | last post by:
I'm trying to use py2exe and Inno Setup to build an installer for shtoom, which uses tkinter. If I take the py2exe generated directory, and run the executable from there, it works fine. If I...
3
by: dcrespo | last post by:
Any comments?
1
by: Martin | last post by:
Hi I would like to place a message in an uninstaller window which will inform the user that some folders haven't been deleted. Is that possible using Inno Setup? -- Thanks in advance Martin
0
by: Jerry Spence1 | last post by:
I'm trying to use the Inno Setup installer for my VB.Net project and I need a list of all the files that my project needs. In VB6 I could use the packaging and Deployment Wizard to produce a .DEP...
4
by: Jon | last post by:
Hi, I have created a DLL in VB.NET. I try to use it in my Installer program which is written in pascal (inno setup), however unsuccessfully.. Does that means any DLL created in .NET can...
0
by: syamlalz | last post by:
HI..Does anyone know about controlling the "Browse button" in Inno setup?? When cliking it,it should show only the drive names...not the folders... Please help me.
0
bartonc
by: bartonc | last post by:
You can find the original author of the script by ggling " Py2Exe version 6.3 setup" The cool thing about this is that it calls py2exe, just in case you're uncomfortable with the command line. I had...
0
by: Deemar | last post by:
I read somewhere that the Delphi/Pascal used in this application is similar to Python, sorry if I got it in the wrong forum here. I have a setup program made with Inno Setup and there's a premade...
0
by: vishnu1986 | last post by:
Hi guys, I saw quite a few posts regarding this but I was unable to solve this problem that I am facing. First off, when I do the following in my setup.py, windows= } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.