Missing Files

Started by Randem, March 19, 2007, 12:53:25 AM

Previous topic - Next topic

davethomson

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?

Randem

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...

davethomson

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

Randem

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.

Randem

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.

davethomson

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?

davethomson

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.

Randem

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.

davethomson

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.

davethomson

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
; 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

davethomson

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?