I am a new InnoScirpt user and I have lots to learn. I have a VB6 project that works just fine on my XP PC and on other XP PCs. Now I want to install my project on a W2KPro PC. I ran InnoScirpt and learned that two files were missing: MSADODC.OCX and MSBIND.DLL. What do I do about this? And does this mean I cannot continue on with InnoSetup?
From looking at other posts I thought I better post the InnoScript output so others can see what I am seeing.
; InnoScript Version 6.0 Build 5
; Randem Systems, Inc.
; Copyright 2003-2007
; website: https://randemsystems.com (https://randemsystems.com)
; support: https://randemsystems.support (https://randemsystems.support)
; Date: March 19, 2007
; VB Runtime Files Folder: C:\Program Files\Randem Systems\InnoScript\InnoScript 6.0\VB 6 Redist Files\
; Visual Basic Project File (.vbp): C:\Dogfight Manager\Dogfight_Manager.vbp
; Inno Setup Script Output File (.iss): C:\Dogfight Manager\Package\Dogfight Manager.iss
; ------------------------
; References
; ------------------------
; Visual Basic runtime objects and procedures - (MSVBVM60.DLL)
; OLE Automation - (STDOLE2.TLB)
; Microsoft ActiveX Data Objects 2.0 Library - (msado25.tlb)
; Microsoft Data Binding Collection - (MSBIND.DLL)
; Microsoft DAO 3.51 Object Library - (DAO350.DLL)
; --------------------------
; Components
; --------------------------
; Microsoft ADO Data Control 6.0 (SP4) (OLEDB) - (MSADODC.OCX)
[Setup]
AppName=Dogfight_Manager
AppVerName=Dogfight_Manager 1.0.0
AppPublisher=
AppVersion=1.0.0
VersionInfoVersion=1.0.0
AllowNoIcons=no
DefaultGroupName=Dogfight_Manager
DefaultDirName={pf}\Dogfight_Manager
AppCopyright=
PrivilegesRequired=Admin
MinVersion=4.1,5.0
Compression=lzma
OutputBaseFilename=Dogfight Manager100Release
[Tasks]
[Files]
Source: c:\program files\randem systems\innoscript\innoscript 6.0\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags: sharedfile;
Source: c:\program files\randem systems\innoscript\innoscript 6.0\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags: sharedfile;
Source: c:\program files\randem systems\innoscript\innoscript 6.0\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags: sharedfile;
Source: c:\program files\randem systems\innoscript\innoscript 6.0\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags: sharedfile;
Source: c:\program files\randem systems\innoscript\innoscript 6.0\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags: sharedfile regtypelib;
Source: c:\program files\randem systems\innoscript\innoscript 6.0\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags: sharedfile;
Source: c:\program files\common files\system\ado\msado25.tlb; DestDir: {sys}; Flags: uninsneveruninstall sharedfile regtypelib;
Source: msadodc.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: msbind.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\common files\microsoft shared\dao\dao350.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\dogfight manager\dogfight manager.exe; DestDir: {app}; Flags: ignoreversion;
[INI]
Filename: {app}\Dogfight Manager.url; Section: InternetShortcut; Key: URL; String:
[Icons]
Name: {group}\Dogfight_Manager; Filename: {app}\Dogfight Manager.exe; WorkingDir: {app}
Name: {group}\Dogfight_Manager on the Web; Filename: {app}\Dogfight Manager.url
Name: {group}\Uninstall Dogfight_Manager; Filename: {uninstallexe}
[Run]
Filename: {app}\Dogfight Manager.exe; Description: Launch Dogfight_Manager; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
[UninstallDelete]
Type: files; Name: {app}\Dogfight Manager.url
By the way, Dogfight Manager is not a dogfight program. It involves golfers who compete using a point system, e.g. 2pts for par, 4 for birdie, etc.
You need to figure out why the are missing. Are you running in SAFE mode? Check the manual on what to do in SAFE Mode to find files. There is an operational procedure for finding missing files.
My problem is that I have no idea what I am doing other than running InnoScript. I have run InnoScript in 4 configurations: (1) Safe & AutoUpDate On, (2) UnSafe & AutoUpdate off, (3) UnSafe & AutoUpdate off, (4) safe & AutoUpDate Off. Here are the results. Please tell me what they mean and what should be done
Mode Auto Found Unsafe Not Found
Safe Yes 3 6 3
Unsafe Yes 6 6 1
Unsafe No 12 6 0
Safe No 9 6 2
The two missing files in #4 are the two I posted in my 1st post and the output from this running ofInnoScript is as shown in my 2nd post. What other information can I supply to you so that you can help me figure out what I am doing and how to get installation files to run my project on a W2KPro PC?
I am not even sure if I have to run VB6 P&DP in order to using InnoScript but I think I need to and I am pretty sure that I did so before running InnoScript.
Again, I have no idea what I am doing, why I am doing it or how to interpret the result.
If necessary I can post on my web site the output (graphic) from any part of Innoscript in any mode so you can see what is happening.
One other thing - how do I know when InnoScript works so that I can use InnoSetUp? Should there be no unsafe files? Should all files be found? And if InnoScript is successful does that mean that the files created by InnoSetUp will work on the intended PCs?
That is all covered in the documentation. Nothing is guaranteed you always need to test on the target OS's until you become aware of what your system needs and doesn't need. Computers are dymamic and other installation of other software could mess up a persons computer before you even get to it. So you need to be confident that it is not your installation that meesed it up.
A script created with InnoScript in SAFE mode does n ot take files from the system folders in UNSAFE mode it does. You need to research the files that are deemed missing for that reason to determine if you have the proper ones for the target OS. These files could be deployed with SP's for the target system instead of taking them from your system and possibly causing failure.
What is SP's for the target system?
You need to research the files that are deemed missing for that reason to determine if you have the proper ones for the target OS.. I have no idea how to research the missing files to see if they are needed. So, how do I do the research?
I am scared to death of screwing up another's PC. So I guess I am stuck as it doesn't seem possible for me to learn how to make an installable CD for my project.
I have read the InnoScript 5.4 Instructions several times but, not knowing anything about the topics covers, the instructions are all Greek to me.
And what about the 6 unsafe files that were found when running InnoScript in the Safe Mode with The Auto-include not used? Does this mean I could do damage to another's PC, expecially if their OS is W2KPro whereas my OS is XP?
It is starting to become apparent to me that I am unable to understand or learn how to use the tool you have constructed. Sadly I guess I will just have to give up on this and hope I can get my friend to get a PC that has XP on it and hope for the best
No, InnoScript does most of the work for you but you always need to be sure. From your script I see that you need to deploy MDAC 2.6 and JET 4.0 engines. You could include the AutoOSUpdater and not have to worry about those files. then you could remove dao350.dll and msado25.tlb.
You need to move these files from your system folder to another folder and tell InnoScript to pick them up from there. Those files are msadodc.ocx and msbind.dll.
You should be ok from there...
I have no idea what in the world you are telling when you say, ... you could remove dao350.dll and msado25.tlb. Remove them from where and what does this do for my project when I run InnoScript?
I see that msadodc.ocx and msbind.dll are in my Windows>System 32 folder. Why would I move it to another, as yet unnamed folder? I always thought that you don't screw around with Windows folders. Do you really mean move or just copy them? And how do I tell InnoScript where those files now reside?
And if I do the moving above will this result in InnoScript producing no errors and, thus, I can use InnoSetup and the resulting files will then be able to install my project on a W2KPro system? Or am I still whistling in the dark?
All this is explained in detail in the instruction manual of InnoScript and the help of Inno Setup as to why you need to do these things, it is not optional.
Well, you don't move those files you copy them. and you would dao350.dll and msado25.tlb from the script if you deploy the AutoOSUpdater.
Well, I put a copy of the two files in another folder and used the Add File to tell InnoScript where the files were located. Seems to work, i.e. no missing files. I then used InnoSetup on the .iss file but no setup file(s) were produced (at least not in the folder I expected them to be in). I have post a cry for help in the InnoSetup discussion group and I hope that some nice person will help me with the next problem.
Thank for your help and I can only hope that what I am doing now is the right thing.
That wont do it. You need to put the files location in the search path area as described not the add files section. Remove the files from the Add Files section and just place the path to where they reside in the Search Path Area then re-run InnoScript. They should be found and scanned from there.
You did compile it in Inno Setup correct?
Where did you look for the setup file? Inno Setup has a default location of where the setup file will be located unless you overrode it they will be in a folder named Output in the location where the script was located.
You know, I must be the world's stupidest person as I cannot for the life of me find anything on the InnoScript screen that relates to Search Path Area. Where the heck is this located? I can find references to Search Path Area in the instructions under SEARCHING but there is no indication as how/where to do this. I even used Adobe's search function to find all references to Search Path Area but all references don't indicate where this Area is located.
So, here is what I am doing (why I don't know):
1. Run the VB6 PDW.
2. Run InnoScript
3. Run InnoSetup
4. Put the 4 files in the Package folder on a CD (.CAB,.ISS,.EXE,.LST)
i DON'T KNOW WHAT THE HELL I AM DOING! I DON'T UNDERSTAND THE INSTRUCTION! (Sorry for shouting but I am so, so frustrated).
I do have an .exe file in the Package/Output folder and I have no idea if this needs to be on/with the CD.
As for your question, You did compile it in Inno Setup correct? how in the world do I know if I did this correctly? In the Setup I do see a FINISHED at the bottom of the screen but nothing that tells me if it was done correctly :o(
And where in the world do I fill in the AppPublisher=? InnoSetUp is giving me a critical error and I have to add my name. Is there someplace in InnoScript or prior to running it that I can add my name?
Can you please assume that I have absolutely no knowledge as to what I am doing and try to explain what to do so a complete idiot can understand? I know I should have some idea of what is going on but I don't. I have been working with computers since 1963, I have a Master's degree in Mathematics to I can't be a raving idiot but apparently I am as this should be simple, i.e. (1), (2), (3), (4). So why am I not seeing this?
From the Manual:
Source File Search Paths (Search Path Area)
Just beneath the Beta, Trial and Release selections; there is an area that contains the current path of your machine. This path can be modified to steer InnoScript to locations that contain your files that may go into the script. This should be done for faster searches and to find files that might not be found under normal conditions. InnoScript will not search your whole hard disk unless you specify to do this by placing c:\ in the search area. This however will be very time consuming and should not be done. Normally if you have added files through the Add Files button that will also tell InnoScript to search that folder for files.
I do have an .exe file in the Package/Output folder and I have no idea if this needs to be on/with the CD.
That is your whole installation. That will contain everything you need to install your application if you added everything to the script.
And where in the world do I fill in the AppPublisher=? InnoSetUp is giving me a critical error and I have to add my name. Is there someplace in InnoScript or prior to running it that I can add my name?
In InnoScript this parameter can be changed in the Parameter screen from the top menu.
As for your question, You did compile it in Inno Setup correct? how in the world do I know if I did this correctly? In the Setup I do see a FINISHED at the bottom of the screen but nothing that tells me if it was done correctly :o(
If it finished and you did not get any errors then it compiled. There is a running log just above that that shows you the compile progress and any error it encounters.
/b{1. Run the VB6 PDW. }
You don't do this step. You should not be using PDW at this point (or ever in my option).
4. Put the 4 files in the Package folder on a CD (.CAB,.ISS,.EXE,.LST)
Where did you get this step???
The steps are run
1. Create an InnoScript project for your vbp file
2. Add any files you need to have deployed with your installation to InnoScript (ie. mdb, txt, MDAC, SP's, etc...)
3. Run InnoScript to create your installation script
4. Run Inno Setup on the script created by InnoScript to generate your Output exe file that has all the files your installation needs.
This is the complete procedure to generate an installation. You may need to do steps 2 & 3 several times in order to make sure you have all the files you need in your script.
Ok, I am going to print out your response, which seems to be very complete. I think I am beginning to understand a litte ... just a little of all this.
I will check the parameters in InnoScript to see about adding the AppPublisher= at when I run InnoScript.
Ok, I was not clear on what files from where went on the installation disk. So it is the one and only .exe file in the Output Folder. Good One less thing to confuse me. Now I have to figure out how to get this .exe file to include several .txt files that I need for my project. Whewwww ... getting there. But I still have to work through all this, get the .exe file in the output folder, put it on a CD and then try to install it on another XP PC first and then on a W2kPro.
I still feel like a idiot do this as I still am not sure I understand everything I am doing, e.g. how to tell InnoScript the I want several .txt files from the folder where my VB6 .exe file is locate. Let me read the instructions one more time. Maybe I will stumble across it.
I really appreciate you kind help and the amount of time you are spending to help someone who is obviously over-their-head but not quite drowning at this point
P.S. So I should not use the PDW from VB6. Ok, so now to figure out how to include the .txt files in the final .exe file when running InnoScript.
You add the txt files using the Add Files button. They will default in the installed apps folder unless you alter the destination Dest: before compiling the script.
radem:
One other curious thing. There is no place to add the apppublisher in InnoScript (see attached .gif graphic), only the apppublisherurl. But this does come up in InnoSetup and must be filled in before it can compile the InnoScript.
(https://randemsystems.support/discus/messages/12/1036.gif)
This is a very minor thing but, as I said above, I am just curious. Again, thanks for all the help. As soon as I can get my installation disk to the target PC (W2kPro) I will post the results.
AppPublisher is taken from your vbp project properties.
Project->Project Properties->Make->Company Name
OHHHHH ..... under the Company Name .... Thank you .... I would never guessed that useage ....
Just an update ... I have been able to install my project on a WME PC and it worked fine. I now have the last test installation on a W2KPro PC. I anticipate that this should go smoothly.
Thank you so much for all your help
You are welcome. I believe it will go smoothly also. I might have to document the Company Name -> AppPublisher thing...
I have a similar problem. When i tried the setup, I got the following missing files:
Source: vb_dcom_mdac_jet_autosetup.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression;
Source: scripten.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
Source: scr56en.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01
----
i presume they are related to the automatic OS updater, but i ran that download? It didnt prompt me where to store it though...
----
and
----
Source: dao350.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: msado25.tlb; DestDir: {sys}; Flags: uninsneveruninstall sharedfile regtypelib;
Source: vbprndlg.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: deext.tlb; DestDir: {sys}; Flags: uninsneveruninstall sharedfile regtypelib;
Source: msacc.olb; DestDir: {sys}; Flags: sharedfile regtypelib;
Source: msflxgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: mscomct2.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: comct332.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: comct232.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: comctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
In the future please start your own thread.
Have you downloaded the files that are missing (the first three). The manual covers what to do when there are missing files. also the message that appears when you run InnoScript states what to do and it is also in the log that appears.