Menu

#442 unable to run program file

open
nobody
None
9
2012-09-26
2004-11-18
aditsu
No

When I install Dev-C++, it keeps the existing
devcpp.ini without changing anything. If the paths to
the binaries are no longer correct, the dreaded "unable
to run program file" error apears. Furthermore, the
uninstaller also doesn't touch devcpp.ini.
This makes it impossible to uninstall and reinstall
Dev-C++ in another folder without a trip to an FAQ and
hunting down files.

Suggestions:
1. The installer should update the paths in devcpp.ini
(or at least rewrite it if fixing it is "too hard")
2. The uninstaller should have an option to delete
devcpp.ini (and devcpp.cfg)

Discussion

  • aditsu

    aditsu - 2004-11-18

    Logged In: YES
    user_id=682737

    (forgot to set the priority)

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    why is that such a high priority? installer has a clear
    message that everyone has to ok to "do not install this
    version over an older version". this definitely is going to
    be addressed, but I don't think it's such a big problem

     
  • aditsu

    aditsu - 2004-11-30

    Logged In: YES
    user_id=682737

    I didn't say anything about installing over an older
    version. Actually, that would probably work much better (!),
    but it's not the point.
    The problem is critical because the uninstaller doesn't
    clean up the remains, so if you try to reinstall in a
    different folder, nothing will compile. Also, about 10
    people hit this problem EVERY SINGLE DAY, and it has the
    most searched keywords in my FAQ, see
    http://extremetracking.com/open;ref2?login=devcfaq at "All
    Keywords"

     
  • Victor Samuel

    Victor Samuel - 2004-12-09

    Logged In: YES
    user_id=1174740

    Specu, I instaled Dev c++ and the problem apear. So. I never
    copile a file with this program. I tryed I tryed to unistall and
    re-install ( not overwrite the other version ) and the problem
    continued equal before...I dont know, but I thinck that only if
    a format my PC I can decide the trouble...

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    if you're on windows 2000 or xp
    do start->run...
    type cmd
    in command window
    cd /d cd "%USERPROFILE%\Local Settings\Application Data"
    del devcpp.cfg
    del devcpp.ini

    and close it.
    start dev-c++ now and compile

     
  • aditsu

    aditsu - 2004-12-20

    Logged In: YES
    user_id=682737

    I installed the final 4.9.9.1 in a different folder (after
    uninstalling the previous one) and I got the error again
    is anybody working on this?

    victorsamuel and others who might read this: don't forget
    the "trip to an FAQ" that I mentioned in the bug report

    Adrian

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    Adrian, I created a test build, soon will create test
    install of 4.9.9.2. If you have time to help us testing
    details are here:
    https://sourceforge.net/forum/message.php?msg_id=2954936

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    actually anyone here is welcome to test an provide feedback.

     
  • aditsu

    aditsu - 2005-01-27

    Logged In: YES
    user_id=682737

    I finally found some time to test it; it seems to work: the
    IDE detects missing dirs and replaces them.
    The way you did it is interesting (using relative paths); I
    guess this should prevent the problem from reappearing.
    I could only find a minor spelling error (I mean, I think
    it's an error):
    "it is recommended that you clicked Yes" -> I would say "click"
    I hope you will do something about the installer/uninstaller too

    Great job, thanks a lot
    Adrian

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    thanks. lemme just double-check that English with someone.
    this will also solve the all-before problem. once you click
    yes, c:\dev-cpp\bin is put it the beginning of the path,
    which makes sure that the make executed is the one from bin
    directory not the one further down the PATH.

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    "clicked" changed to "click" and posted to cvs - thanks Adrian

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.