Jump to content

Recommended Posts

Posted (edited)

Hello,

I have made a program that reads lots of things out an ini file. If I just start the program by going to the directory where it is placed, it starts and the ini is doing his work. But now my problem, I have made a setup program using innosetup. But if I now go to the start menu folder that the installer has created, it doesn't read it. Even my desktop shortcut will not be able to read the ini file and display the info correctly. What's wrong?

Kind Regards,

PcExpert

Edited by PcExpert
  • Developers
Posted

Hello,

I have made a program that reads lots of things out an ini file. If I just start the program by going to the directory where it is placed, it starts and the ini is doing his work. But now my problem, I have made a setup program using innosetup. But if I now go to the start menu folder that the installer has created, it doesn't read it. Even my desktop shortcut will not be able to read the ini file and display the info correctly. What's wrong?

Kind Regards,

PcExpert

i would say the working directory is not correct... but a script example would help..

Use a full path to the ini file....

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Check read/write-settings of the dir, the link, the ini.

Can you enter the dir via cmd and start the command?

Have you tried adding ToolTips or sth like that to get errors/output?

Posted

My script completely works. When you'll start it by clicking on the desktopshortcut or via the startmenu folder it doesn't work anymore. So it only works if you'll run it by clicking on the exe.

  • Developers
Posted

My script completely works. When you'll start it by clicking on the desktopshortcut or via the startmenu folder it doesn't work anymore. So it only works if you'll run it by clicking on the exe.

yes... thats what you said before... did you do anything with the comments made ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...