Missing Files

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

Previous topic - Next topic

Randem

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.

vb_rookie

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;

Randem

You are welcome. I believe it will go smoothly also. I might have to document the Company Name -> AppPublisher thing...

davethomson

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

davethomson

OHHHHH ..... under the Company Name .... Thank you .... I would never guessed that useage ....

Randem

AppPublisher is taken from your vbp project properties.
 
Project->Project Properties->Make->Company Name

davethomson

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.
 

 
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.

Randem

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.

davethomson

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.

davethomson

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

Randem

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.

davethomson

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?

Randem

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.

davethomson

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.

Randem

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.