Ran InnoScript and got New version - do you wish to update. During the installation I got a File Not Found message and the installation ended. When I tried to run InnoScript again I got 'Runtime Error 429, Activex component can't create object.' and now I can't run at all. What to do?
I uninstalled the existing version (10 Build 5 I think) and installed 11 Build 13 - I can now run. However, when I tried to add a folder to a script I got the following: 91 - AddTheFolder. Object Variable or With Block variable not set. What's with that?
Also, I noticed that I now have a Trial Version. I believe I purchased (or contributed) a few years ago. How do I get off the Trial Version?
Finally, on an old basic question for which you place much emphasis, why is it inadvisable to install an app on the development system?
Thanks
Forget my last question about testing on a development machine - I found your explanation.
InnoScript version 11 is not a free upgrade, it requires new registration codes (as per the website and many emails introducing it). Also in the information was the suggestion NOT to install this version over or in the same folder as a previous version for incompatibility reasons. Both version can be install on the same machine but not in the same folder... To fix you must uninstall InnoScript 10 totally, delete all folders for it then reinstall InnoScript 11 to get it to function properly.
You must delete the Program FilesCommon FilesRelease folder as well as the Program FilesRandem Systems InnoScript 10 Folder before reinstalling.
Add folders does work...
(https://randemsystems.support/discus/messages/12/10361.png)
Easy for you to say, BUT I still can't add a folder. I started a new project and tried again - got the same error as before.
Also, after saving a project and then reloading it the Settings are lost (blank VB Project Name).
This is really getting frustrating. In the words of the Elton John song I'm considering going back to my plow - that is, the PDW. I have another app that's done that way and it has run without problem for me and many customers on all of XP, Vista and Windows 7.
Did you uninstall the way I informed you to in the post?
OK, I am able to recreate the error. We will post a correction soon.
Try this, it should correct the error. Just replace your exe with this one in the installed folder.
The full version has been released. It has some other changes also. Get the release from the website at https://randemsystems.com/innoscript// (https://randemsystems.com/innoscript//)
Whew - good to hear. With much experience in resolving user claims it's always scary when one party says I got an error and the other says it works.
BTW, I uninstalled Version 11, deleted from the system everything with the name Randem in it, ran RegCure and then reinstalled. However, when I installed initially I lost my template files because I overlooked your instruction to backup them up. I've recovered them from external hard drive backup and am trying to create my script.
I've run into a problem. The generated script has a line: VB_VC_DCOM_MDAC_JET_AutoSetup.exe. There's no Source: for it and it causes a problem in Inno Setup. What is that all about?
Finally, I remain confused about MDAC. I don't know whether to incllude or exclude it in my VB project. I want the app to run on Windows 2000 through Windows 7. Assistance please, and thanks.
VB_VC_DCOM_MDAC_JET_AutoSetup.exe: You can go to the site or use the Downloads Menu option to download the file. If InnoScript placed this file into your script you need it, but the newer versions do not use that file but a subset of it that is added with templates that are automatically added. You can remove this file and not download it and your installation will be much smaller. This is MDAC...
The current template files are also backed up on each install and are in the user area under Templates Backup. IE.
In Vista and Windows 7
C:\Users\YOURUSERNAME\AppData\Local\Randem Systems\InnoScript\Release\Templates Backup\
And in Windows XP
C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates Backup\
Oh boy. You say if it's placed in the script I need it. But then you seem to say I don't need it because newer versions use automatically installed templates. Isn't Version 11 the newest version? If so, how do I remove the file (I assume in Inno Setup)?
Whichever way it's handled, I assume I can delete the MDAC files I have in my PDW build.
BTW, I can't seem to find Downloads on the site.
Downloads from the main menu of InnoScript...
Yes, you do need some version of the MDAC in your script if you use database functions etc... The older versions used the rather large VB_VC_DCOM_MDAC_JET_AutoSetup.exe but the newer versions use smaller downloads that are in the template files that are added to the script by InnoScript.
If you manually added VB_VC_DCOM_MDAC_JET_AutoSetup.exe to the script it is not needed. Did you create this script from scratch? How did you create it. Could you post the script?
The Inno Setup script is attached. I've edited some things when it was produced from InnoScript. There is a problem when I compile - the VB_VC....... AutoUpdater is not found.
Things are goofy in InnoScript. When I reload the project the settings are sometimes lost, including the VB project reference (.vbp). Other times text gibberish applears in the main window.
If the file is not in your MDAC folder it will not be found... No mystery there. Did you download it?
Zip and post your vbp and exe files.
Also go to the Versioning area in the Project Options selection. Choose the Other Tab and select Automatic OS Updaters the select NONE then re-run.
Yes, I downloaded the VB_VC......AutoSetup file to a folder named MDAC and added the file via Add Files in InnoScript. Auto OS Updaters is set to NONE.
Attached are the files you requested and a .BMP file that's a screen shot of what I saw when I opened the project this morning.
FYI, out of testing curiosity I used the PDW-generated setup to install the app on a Windows 7 Home computer. I got a series of file not newer messages (I kept the newer files) and a failure to register one file. However, the app ran without problem.
OK, I will look into the script creation issue. The as you say gibberish in the screen is Unicode. You must select Force .iss Output as ANSI in the Others tab of the Setup Option screen. You may have issues like this if you convert over a project from another version.It has been documented that you should check each screen to make sure all the correct settings are used. The default is ANSI for a new project.
I generated the script and all is fine. the big difference from my script and your script is the parts you edited out, the missing files that I do not have and the database files. If you removed the Auto OS Updater the way I informed you you should have the exact file references that I have. Of course you would need to download the files so that they would be found but it works as advertized.
I'm not sure what all this means and where to go from here. Could you send me your project and script files.
Here they are.
Thanks. I've modified the script file to provide the location of most of the files related to the app itself. However, when I compile the script I see that I dont't have the following files on my computer: mdac_typ281.exe, mdac_typ20.exe, Jet35sp3.exe, Jet40SP8_WXP.exe and JetComp.exe. Where do I get those?
The same page you got the Automatic OS Updater...
https://randemsystems.com/os-updater-support (https://randemsystems.com/os-updater-support)
Scroll to the bottom of the page under Separate Installation Files
BTW: Why do you manually copy/paste when InnoScript automatically puts the lines in with the proper flags???
Voila! With many, many thanks to you I completed the script, compiled it successfully and did the install on Windows XP and Windows 7 computers. The app runs well on both computers.
The only questionable thing that happened during the install was that I got a message saying that the JetComp file on the computer was newer; I left the newer file.
This has been a complex process (at least for me). I can't help but think that many of the problems I experienced were due to incompatibilities between Releases 10 and 11 when using a project developed under Release 10. I don't have a Release 11 project but I now have an Inno Setup script that's usable for the foreseeable future.
I never would have resolved things without your assistance. You provide the most complete and timely support that I've experienced. If you ever need an endorsement I will gladly provide it.
To answer your question about manual copy/paste, one reason is that the and - prefixes I used in a template were carried forth to Inno Setup and caused compile problems. Also, my previous script had the following statement in the [INI] section that wasn't being generated:
Filename: {app}GHM.ini; Section: System; Key: Commonappdata; String: {Code:GetCommonAppDataFolder}
There's also a related [Code] section in the script.
Could you post the template that caused problems. If used in InnoScript it would not have been in the script. Part of the problem with manually using copy/paste is that you may not remember where lines came from. Using InnoScript to complete the script would leave no doubt...
So how did the missing line get into the script in the first place???
As for the JetComp.exe file you can either not deploy it or deploy the updated file...
The template file is attached. Based on your question about the missing statement I took a look at the app code. At some point in development I was using AppDataPath for data and the [INI] and [Code] items were related to that (GHM.INI was opened in the process and the related script content was generated by InnoScript). I later decided to put the data in the same folder as the app and commented out the code for GHM.INI. So, I don't need the missing line and will remove it from the script.
I see now, you had the lines in the template file of which I did not have when I created the script. This is exactly why you should have only one way of creating the script. It would avoid errors like this...
The template was part of InnoScript (in the Templates section).
Yes, but you did not send it to me originally so I would not have had it to create the script...