Downloading & old version error

Started by davethomson, January 06, 2014, 03:46:42 AM

Previous topic - Next topic

Randem

One thing... Why are you fixated on the Red/Blue flag state? Why do you believe something is wrong? That screen is as it should be. InnoScript has added the appropriate flags to the files you added and has indicated that flags exist on those files by making the button RED. The blue buttons have no flags associated with the files. If you would like to add/change/delete flags you click on the button and add/change/delete the flags that you want.

It is all done for you. Unless you know what you are doing you should not change the flag state. You are over-complicating the procedure changing things that may NEVER need to be changed. A simple rule, If you don't understand it DON'T CHANGE IT!. The documentation is the complete reference to things not quite understood until you can understand them.

You are having trouble with terminology. When I said to add the folder to "Search Folders" in no way referenced ANY file name. A folder is a folder and a file is something completely different. You can't add files where only folders are accepted.

BTW: Where did you get the idea that all flags buttons should be BLUE? It is definitely not in the documentation. When you change things are are already working you stand the risk of making it NOT work...

davethomson

Ok, Cheated ... copied and pasted into InnoSetup what works on my PC ... all this stuff ...if you compare these "Source: ..." you will see they are the same as the ones that come from InnoScript ... and InnoSetUp LIKES THESE FILES and produces the .exe that works.  So, question: Why can't InnoScript 11 do the same? guess I will leave that alone now... only time I would have to change any of the .iss files is IF I add a new .wav, .jpg, or .txt file.  Works for me  :D

Source: C:\Star Trek 2 Programs\beginning.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\cloakingtraining.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\deathstartraining.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\dockingtraining.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\enemytraining.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\instructions.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\passwords.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\traininginstructions.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\alertsiren.WAV; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\auto shut down in progress.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\beamenergize.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\bell1.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\chime.WAV; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\clickloud.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\computer noises.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\computeraccessed.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\crowd cheering.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\error.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\explosion1.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\explosion7.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\explosion10.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\explosion12.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\Feelings.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\Hypnotic Ambiance.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\incomingmessage.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\ominous_music.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\photorpedolaunch3.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\ricochet.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\scream1.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\scream2.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\scream3.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\screem soft.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\shieldraise.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\starwars.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\tos.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\wind2.wav; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\computer room.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\computerroom.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\ds9-big.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\engineering small.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\sbasebusy01.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\space small.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\space station.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\space3 small.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\space4 small.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\space5 small.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\star fleet command.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\starbase.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\Starbase173.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\training.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\Transporter_room.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\trek-bike-star-space-station-science-fiction-308298.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Star Trek 2 Programs\waystation.jpg; DestDir: {app}; Flags:  ignoreversion;

davethomson

I am sorry but if I select the folder to add files from, select files, click on add and their flags come up RED on some and  not on others I don't believe it is anything I am doing.  I add from a folder so they should be available.  Why some and not others.  The new version is easy to use other than it can't tell when a file that is add is not in the folder it was added from. Makes so sense to  me at all.  Got to be a "trick" involved but haven't found it yet.  so will wait and see what you have to say once you read the below post and look at the attached file that shows RED & BLUE FLAGS all from the same folder as indicated by the listing of each file. 

all I need now is getting all adds to BLUE FLAGS.  Maybe do all the .jpg, use InnoSetUp and copy and paste the "good" add files to a new file. Go back, delete the .jpg and repeat the above using my .wav file.  Then repeat again using my .txt files.  Now copy and paste all these to the InnoSetUp file when I open it and then BUILD.  Cheating but if it works so be it.

davethomson

I know it is hard to follow what I am saying ... I am so damn frustrated it is unbelievable. I don't know what to do about the ADD FILES that have a RED FLAG.  I don't understand what you are say or not saying ... I know very little about your complex program and struggle to try to understand what to do.  It is so easy for me  using 10.5 build 9 but somehow when I use your new version on my old stuff the RED/BLUE pot up on ADD FILES and, again, I don't know or understand what to do.

I never, every use a template. And what do you mean by "Either you place the folder where they are located in the "Search Folders" area"? When I add the file ADD shows me the folder they are in, I select all of them and click on ADD.  What could be more simpler but then why do I get RED FLAGS?

I think the RED FLAGS are the problem but don't have a clue how to correct them. All the added files denote the folder, "C:\Star Trek 2\ ... all the files.  Yet, apparently InnoScript thinks some are not there, at least that is what I believe you are implying. I am, once again, going to attach the graphic that show the RED/BLUE FLAGS and you will note that the folder is identical in all show (at least that is what I think it shows - after 10 hours of fooling around with the new Innoscript I can't by 100% sure of what I see).  so, what now?

My laptop is running Vista ...a poor OS but all I have there ... and can't uninstall any innoscript installed as not a 64-bit machine, at least that is what the laptop say when I try to uninstall Innoscript.

Randem

davethomson,

It is sometimes hard to follow what you are attempting to do. The first thing to do is to look over the documentation for InnoScript 11 (a little different than earlier versions). It will have answers to many of the issues you are having.

Files in RED[/d]

These are files that are not found. Either you place the folder where they are located in the "Search Folders" area or remove them from the script by use of a "Template" or from your VBP file.

Flags in RED or Blue

There are two settings. Either there are flags associated with the file (Red) or there are none (Blue).

Output Folder

That is the way it is designed to work.

Pictures

I do not see anything in error in your pictures...
In the documentation there is basically a "Cheat Sheet" for InnoScript. It is the procedures that one should use when using InnoScript 11 on a new project in InnoScript 11 (Quick Start). If you follow those steps things should be clearer.

The basic procedure to generate an Inno Setup Script in InnoScript:

1.   Install InnoScript in the Administrative Account. InnoScript must be run once from this account after installation for proper operation in a limited users account. Any License information update must also be done from the administrative account.
2.   Install Inno Setup (InnoScript uses Inno Setup to compile your scripts).
3.   Create a new InnoScript Project for your Visual Basic Project. File->New InnoScript Project
4.   Fill in parameter screen for Inno Setup directives (can also be done at a later time. InnoScript will automatically fill in many of the slots after the first run if the slot is empty). For best results fill in this screen after you attempt to generate your first script for each project, then fill in the missing information.
5.   Select your vbp/vbg/.net/PDW or other project file (Best results are generated when you use a vbg (group project) file that contains all the projects when your app uses ocx/dll/exe from other projects). Any exe/dll from other programming languages can be used also.  Project Options->Settings->File Options
6.   Select a name and location for the output .iss file (This will automatically be filled in after you choose your Project file type in step 5).
7.   Choose the versioning types for your project and application. Project Options->Versioning
8.   Create or select a template file (.tpl) to be added to your script (optional). Project Info->Templates
9.   Add any additional files or folders that your application needs in order to operate properly. Project Info->Add Files and Project Info->Add Folders
10.   Add any additional folders where files in your project can be found (Helps to speed up file searches). Project Info->Search Folders
11.   Add any folder that you do not want InnoScript to search to locate files (Helps to speed up file searches). Project Info->Exclude Folders
12.   Press Create Script to convert your project file and generate script.
13.   Edit your script (.iss) with Inno Setup or other editor.
14.   Compile your script with Inno Setup.

Attachments to the board are done one at a time... but you can attach multiple files.

hopefully this clarifies a few things.


davethomson

been this (using version 11) for over 7 hours now and no further along that when I started.  Now I may very worried that if my PC dies which has 10.5 build 9 (i thiink) I will lose my ability to make .exe files for installing.  Do you still have 10.5 9 available? sure could use it about now.

davethomson

ok, attached is my ptj file on my laptop. you should be able to see the jpg files in FILES.  But, jpg files don't appear for innosetup. try  to attach that too and if fails will do another post.

davethomson

Still More Question

What is the purpose of the FLAGS in ADD FILES?  Some are RED and some are BLUE.  I change all RED to BLUE by turning off the "ingnoreversion" and "nocompressio".  No matter if all RED  or all BLUE my .jpg files are not put in the script.  I only have 3 file types, .jpg, .wav, and .txt.  The latter two always seem to be put in the script.  And sometime, one file has 'Parameter "DestDir" is empty'. I will get on the laptop and try to ATTACH the .iss file.


davethomson

More questions:

1. I get this message when deleting a file and adding it back in, "This key is already associated with an element of this collections".  But it still adds the file to the files.

2. Some FLAGS in the Add File are RED and others not. What does this mean?

3. If the Inno Script Output File is set to \script\ then the complied file (from Inno Setup) will be placed in \Script\Output/.  Why then have an \folder\output\?  If I set the Output file to the program file then the compiled file will go into \folder\output.

So far in trying to use Innoscript 11 I am have great difficulty and I am glad I still have 10.5 build 9 still operational on my PC. Other wise I would be "up the creek" again and maybe no way to get back.

 

davethomson

Try again for the bad innoscript script on loading

D SOUNDS LIKE Z ...

davethomson

Hell ... can't attach the 3 graphics....try try again and again ...once again letter wrong and now ATTACH says "no file choosen"  >:(

Why can't I attach more that one file at a time?  Says there are 2 or 3, not clear how many, and then error in letters and start attaching all over again ...FRUSTRATION TO SAY THE LEAST.  so will reply 2 more time and see if I can get the 3 graphic available for you.

davethomson

NEW PROBLEM ON LAPTOP

Oh, boy, something new happened. Made my script using Innoscript 11 on laptop.  Here is the results. Then open InnoSetup and this is what I see.  The script from Innoscript came out like the 2nd graphic.  Then wen I go back to Innoscript this 3rd graphic show what the script looks like on opening the file. At this point I can make the script again and it, again, comes out just fine (3rd graphic).  So it is a circle where I can't get Innosetup to read the file correctly and ditto for Innoscript when I open it again.  Suggestion?  Thank God I didn't install version 11 on my PC or I would be "up the creek without a paddle".

Any why does an error in verification case the ATTACH files apparently revert back to blank, i.e. "no file selected"?

davethomson

Innoscript 11 on my laptop .... use File>Exit ... go to open it again and get "is running" ... use ALT > CTRL>DEL and find it in PROCESSES (not application) ...end the process and then can run Innoscript again ... sorry about my error is use of words.

davethomson

Ok, got the proper location of the runtime VB files ... so easy to forget how to find it but did.  ::)

Ok more ... frustrating .. not Innoscript 11 as it  is pretty easy to figure out even for an old man ... just getting it "turned off" when done ... use the X at top right ... it disappears ... then click icon again and it say it is "running" ... not in tasks running but found it in Application so STOP IT and then can open Innoscript again ... trying to figure out why a file can be ADDED but INNOSETUP can't find it ... always a new problem.

Don't think I ever get the Verification letters right the first time ... at least hearing them help ... well most of the time  ;D

davethomson

Crap ... attachments  - sure I put two different ones so will put the missing one here.