Using 6.3, Every time I try open a project or start a new one I get an error 5 (Invalid procedure call or argument). I have tried uninstalling and reinstalling that did not help. I also tried to delete the Innoskript.ini, still no luck. Same problem with 5.
You probably have a bad download. Re-download and re-install. The current version is 6.0 Build 6.
What are the details?
What OS are you using?
Were there any problems with the install?
Are you on a trial version?
etc...
Windows XP
No problems with install
I was using a registered version 5.3 worked fine until yesterday, when I went to run the program I received an error 5 when I tried to open a new project. I uninstalled and reinstalled no luck I downloaded and installed both 6.3 then 6.6 I still got the same error. I then tried to re-install 5.3, it will install but when I try to run 5 it will not run at all and I get an error 430.
If it was working fine until then... it was something that was installed on your machine that has thrown it into errors. If you get a 430 error that means that a component is bad and probably a different version of the component that InnoScript uses was installed on the machine.
In most cases it is probably different versions of the VB Runtime files that another app has installed. I would suggest to first download the Automatic OS Updater (https://randemsystems.com/os-updater-support) from our website and install that to see if the problem goes away.
Does this error also happen when you open an existing project also?
Yes! open project will cause the same error
I tried the auto OS updater, that had no effect. Are all the runtime files Innoscript uses installed with the updater
Do similar errors happen with other VB programs? I can send you a trace program to find out where in the app it fails so that I can find out where to look to find the error.
Other VB Programs appear to be working ok.
I will try the trace program, as I would like to continue using innoscript for my projects.
Here is the trace file. Replace your exe with this one then run the program. After the error happens zip and send the logs that will be in the InnoScript folder in a folder named RSTools Logs
Thanks.
This should be what you need
Or better yet this file
Did you upload the file immediately after the error? Before pressing OK. I don't see any break in the program flow. Does the program shutdown gracefully or abruptly?
This file is uploaded before pressing OK. After OK is pressed the program ends abruply.
Ok, Try this
Sorry but I still get error 5 with the new file
oK, I have it narrowed down to one area now. Has anything changed on your machine since it worked? Changed display resolution etc...?
Run this file
Then tell me the line number in the error message.
I have not done any major changes to my system. I have installed a couple of programs, but I doubt if they did. I will run the trace file when I get home tonight, and get back to you.
OK
Error is online 650. This time when I press OK Inno dose not crash.
Yes, I figured it would not crash... But does it work? I have uploaded a version with a change and without the trace code. See if this works also.
Yes, it dose work but not correctly I will get errors like VB runtime not found, and the script it generates is not correct directory wise. I will try the new 6.0.7. tonight.
Using 6.0.7 When I first open Innoscript and select new or open I get a Invalid procedure call or argument on line 650. After I press ok, there are no more error mesages on new project or open project. The only thing that i notice is the program seems to be erratic finding files in the correct directories or not finding them at all.
I will re-upload
Innoscript is now running without errors. Just a couple of questions though, when Inno is first started 3 or 4 blank windows will briefly show then disappear when new or open is chosen, I don't know if that is a issue or not. Also when I select add a folder, for my ocx dll, the program will not find the files in that directory, and the files it dose find will not have the correct directory, in the script, where the files are located. This was working correctly before the error started.
The windows you see are fine. That is the expected behavior for now. Add folder is not for ocx and dlls unless they are not automatically found by InnoScript. The Add Folders selection is for extra files such as text, database, graphics etc... that are not included in the program but the program needs.
If you want to add a folder for InnoScript to search for your dll/ocx files, you add that folder name in the Search Path Area.
Regarding finding files where they do not exist is an issue when InnoScript finds that the file is registered it does not verify that the file really exist. So, in your script you are seeing the registerd location not the actual files location. You will have to re-register the files that are the noted in the wrong location for InnoScriot to correct this in the script.
This will change in the future...
Replace your file with this one...
Innoscript is now working fine
Thank you for your help and patience.
John
You are welcome. We love customers like you who will take the time to report problems so that we can fix them and make the product better.
Thank you for reporting these issues.