Downloading & old version error

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

Previous topic - Next topic

davethomson

Yep, moving forward ... but slowly for an "old man"  ;D

And thank for the  combination ... keep up the great work on your products.

Randem

Glad you are moving forward.  :)
If you haven't noticed already I have combined your old account with your new account and all your old post are now associated with your new account.

davethomson

Never gave a folder a thought ... because I just didn't realize that I could do that!  :o

A good idea and I will implement it as soon as possible.  I have used the technique in other situations but never crossed my mind to do so here.  Guess because I never had a problem before.

Let you know later how it goes.  After using V11 on my laptop it does seem to "feel" better.  I may switch over to it on my PC but, remember the old saying, "If it ain't broken don't fix it."  So, at least I know I can easily use V11 which makes me very much less concerned.  And another old says, "Hard to teach an old dog new tricks."  But in my case that doesn't apply.  :)

Thanks for you help and the "Freeware".

Randem

Why not place all those files in a folder then just deploy the folder in "Add Folders". That would end up with only one line in your .iss file. It would be a lot simpler also.

davethomson

odd ... made another new project, added all the .jpg, .txt, and .wav files (whose flags are red but "nocompression". Created the script and the .jpg files were not there. 

Ran CREATE SCRIPT a 2nd and 3rd times (same file and ADD files) and now the .jpg file were included but the last .wav file had the dreaded DESTDIR "" rather than DESTDIR '(app").  So at least I now know what to look for and how to correct it when using InnoSetUp.

Maybe you can find out why the last file has this error. So, will keep InnoScript 11 on my laptop but and too scared to put in on my PC.

If it isn't broken don't fix it, i.e. keep using 10.5 build 9 until hell freezes over (like the southeast USA is doing yesterday and today) or my PC dies.

Thanks again for you help. 

davethomson

Back to laptop ... ran Innoscript loading in previous progject, i.e. with .jpg, .txt, .wav files.  Shows all .wav file's flag red. click on a random red flag and this graphic show what the flag was set to, i.e. ignoreversion and nocompression both set.

davethomson

Appreciate your help.  Maybe you can figure out why the last file in the script doesn't have "(app)".  I know I can change it when running InnoSetUp.  I will go back to Innoscript and set all red .wav flags to "nocompression" and see what script comes out.

davethomson

Oh, carp! Didn't see the "MORE ATTACHMENTS" !!! Old man screwed up again.  the first four graphics are NOW ATTACHED. board only allows 4 files at a time.  Thankfully that is exactly what I want to upload now.  These four precede the the one I upload before, i.e.

1. adding jpg files all blue
2. adding txt files all blue
3. adding way files all wav red
4. script produced

note on #4 that the last wav file doesn't have (app) whereas all the others do.

Am seriously thinking about having laptop upgraded to Windows 7 or 8 but hear 8 is buggy still.

Randem

Yes, .wav files are red because a flag "nocompression" should have been added to the file. Anytime flags are added by InnoScript or the user the button will turn red. Have you looked into the flags to see what is there? Unknown as to why the last file has no DestDir, but that can be easily changed in either InnoScript or Inno Setup. I will check by adding  lots of files in the "Add Files" section. Where exactly (folder) do you want to deploy the wav/txt/jpg files?

davethomson

Agree, Vista is bad.

Ok, using the "bad" Vista on my laptop here are (hopefully I can attach them) 5 screen captures setting up a new innoscript file using my visual basic file and the .jpg, .txt, and .wav files.

1. After adding all .jpg files, no red.
2. After adding all .txt files,  no red.
3. After adding all .wav files, all .wav are red.
4. Script produced, looks fine.
5. InnoSetUp error

In the Script Produced and InnoSetUp the last .wav file doesn't have the correct DESTDIR: "app", rather it is DESTDIR: "".  What could cause this?

Randem

InnoScript can add multiple files at a time, the support board cannot... Why are you worried about the flag color??? Did you read about the flags in the manual? Did you check to see what flags are attached to the file? You are fixated on the wrong thing... Leave the flags and do not worry about the color until you get the hang of it. You will probably not need t bother with the flags anyway. FORGET ABOUT THEM...

As far as InnoScript not terminating... You are running on Vista, all bets are off.

The simple process... Add the files (don't worry about the color) then create the script... Don't complicate it.

davethomson

Started a new file, i.e. erase old on on disk. Tried to add files.  Added 17 .jpg files.  All blue.  Added 8 .txt files. All blue. Added 1 .wav file. Immediately said, "457 AddThisFile() This key is already associated with an element in this collection".  Deleted this file and tried adding a different .wav.  Same thing.

So, exited Innoscript (using X top right), erased the file that was saved (automatically SAVEs the file whether you want to or not which means if you make an error the error will be saved).  Started Innoscript again. Cannot start, says, "...already running".  So used ALT + CTRL + DEL and in PROCESSES select Innoscript and END PROCESS. Why would this be happening?  I can't shut it down and then start up again. Why?

Ok, start a new project. No files have been added.  Add 1 .wav file and immediately the FLAG is red.  Why?  I can add 17 .jpg files and 8 .txt file and all blue but trying to add just 1 .wav file (no other files have been added) and get a red flag.  With no other information I have to assume that Innoscript doesn't like .wav files.  This must be true as it makes no difference how many other files (not .wav) are have been added, none of n of them, .wav file cause red flag.

By the way, when I added the 25 blue flag files the list on at the bottom of the list doesn't show a flag.  Why would this be happening?  It appears as if the last file, when you have more files than will fit on the screen, scrolling down to the bottom of the file means the last one will not display a flag.

Next I saw that a new file could be set up importing another file.  Tried this.  When I use this option it only displays the InnoSetUp file.  And if I select this file Innoscript says to SAVE it so I do with another name.  Now it shows the added files that include all the .dll type files that are added by Innoscript when you have just your files and Create Script. But all these files have red flags.  Go ahead and Create Script and no red lines in script file.  So, start up InnoSetUP and built => ERROR. when Innosetup stops the 'BAD' file shows

DESTDIR: ''

whereas the ALL the file above it shows

DESTDIR: "(app)"

I have a video program that I use to made instructional videos for several programs  I have also constructed using VB. I don't have it on my laptop but I can check with the company that makes the program to see if I can put it on my laptop without buying another copy.  If I can and this Support Board can upload a MP4 file of 125,000 KB or so (probably small if time is under 5 minutes) then it would be simple for you to see what is going on.  Let me know.


davethomson

Doesn't make sense to add one file at a time but ... I will erase the current Innoscript and start over.  I will ADD one file (of the 50+) at a time and see what happens.

Randem

The simplest method is to follow the basic procedures. Then add/change/delete one thing at a time to see what the results will be until you get a hang of the operations. You have to follow the program the program cannot follow you... InnoScript is really simple if you don't complicate the process.

Randem

InnoScript does the same, you are just over complicating the process...