Results 1 to 6 of 6

Thread: Need help with INNO

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    3

    Exclamation Need help with INNO

    Hi guys,


    I am a newbie with Inno and basically i have an ini file which i creatred and need to include this into my setup. all i want is to place the ini file into the application directory. I followed the help that comes with inno but it does not compile properly.


    Pls Help!!

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Need help with INNO

    Hmmm, "Does not compile properly". Now what does that mean exactly. No wait a minute let me guess that would be even better...

    Please give details of your problem. Have you looked at the Inno Third Pary Files?

    {app} - Application Folder

    Please Help!!

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    3

    Re: Need help with INNO

    Sorry for not bein gtoo clear!

    The thing is this is my first time using inno. Anyway after workign with it for a while i kind of figured out whats going on, but i still have a problem.

    Let me explain, i had a compiled iss file and a working setup. Then i needed to create a text file (with .ini extension) for my project (it aint a readme netiher is it an ini file, just a text file), so i added this into the iss file using inno (added in [files] section). Now I compiled and it completed, then i ran the setup which goes through, how ever it does not create all the registry entries that it is supposed to and when i try to use the application that i installed with the setup it fails and then when i try to uninstall i get an error first and if click ok then in uninstalls. The error states: "Sorry, an error occurred during uninstall. Please try again. -2147418113

    I know that it is this text file that i added that is causing the problem. Not sure if it is because of the extension of the file.

    I hope this helps you a bit more.

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Need help with INNO

    It is impossible that a text file can cause that kind of havok. Let's see your script. I imagine you did it by hand. What registry entries are you referring too?

    How did you find all the dependencies for your project?

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    3

    Re: Need help with INNO

    Hi again



    Ok, I now know what was the causing the problem.
    Firstly about he script itself, i did not write the original, I awas just adding the text file to it.

    Anyway, this app is a PC router, which had some url and other data hard coded, therefore i created a text file with this data and then added a module to read teh text file andretrieve the appropriate data. now the class mosule which had the hard coding also had to changed to make calls to teh new mosule to get the information it needed.
    If i remove these new lines of code and uncomment the old hard coding lines , and rebuild (keeping the new module in the proj). Then i run the inno setup with this new exe (proj.exe) and the txt file. And guess What, the setup installs properly.

    Can you help here. I know the project compiles with no errors and builds fine too. dont understand how this could be affecting the setup!

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Need help with INNO

    Well, what do you want us to do Since you didn'tt post your script or your code. Are we supposed to already know what everything looks like?

    Post some code, your script and and explanaition as to where you think the problem is. It is possible you can get some help...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width