Missing {apps} in Script

Started by davethomson, December 01, 2014, 10:50:14 AM

Previous topic - Next topic

davethomson

Thank you for all your excellent suggestions and help.  :D

Randem

You would need to turn on automatic updates for InnoScript to check for them (in Options on the left side). I will change the link to reflect the correct version. As for testing you should use Oracles Virtual Box to create a virtual machine that you can always reset to "clean" to do your testing on.

davethomson

Gee, no one ever told me I shouldn't install a program on the same computer it was developed on.  Learn something new each day.  So far I have been lucky in that testing on my development computer things have been OK.

Yes, the newest version, 11.5.2, does indeed solve the {app} situation.  I did notice that the link to the newest version on your  home page shows 11.5.1.

Thanks for the updates.  Odd, my old version 11.4.3 didn't ask me if I wanted the new update.  Really doesn't matter as the 11.5.2 works just fine.

Thanks again for all your help.

Randem

Download the latest update to fix the {app} issue in the "Add Files" tab. You can download it from the website or let InnoScript automatically download and install it with the Automatic Update feature.

Randem

Development Machine, not software on your computer... You should not be developing software then testing it on the same machine (environment) unless you have Virtual Machine Software installed and installing your test software in that environment. When you install test software in your development environment you can cause all sorts of unrelated problems and issues which can leave your results unreliable.

davethomson

Thanks for looking into the "Add Files" situation.  I will continue to correct the .iss file once it is read into InnoSetUp.

Sorry, I don't understand, "...development machine as your test machine...".  I am using InnoScript 11.4 Build 3 on my PC as I always have.

Randem

I will check on the "Add Files" situation... No, InnoScript should NOT look in Program Files for your files. Think about it. Why would InnoScript look in the Program Files folder for your program BEFORE it is installed? It would never find it. This seems like you are using your development machine as your test machine and you should not do this because the results may not be accurate or even faulty. There are generally no development files that you should be using that can be found in Program Files...

davethomson

I used Add Files > Add.  First I deleted the current list of all 12 and then re-added them (which is why they are in numerical order).  I just checked and, yes, all 12 files show "app" in the dropdown list on the left side in "Add Files".  When I click on "Create Script" the script still doesn't have the "{app}" in ad6.wav through ad12.wav.

It is no problem to edit the .iss file (in InnoSetUp) to add "{app}" to the six lines of script.

By the way, why does InnoScript look for the application .exe in C:/Program Files"?  Wouldn't it be normal for the .exe file to be in the application folder? In my case in "C:\Golf Course Calendar Programs" where the visual basic file is located.

Randem

If you added the files thru the "Add Files" tab; Just go to the tab and make sure that {app} is selected in the drop down list. That will solve this issue. How did you get the files in the script, you did not mention how you got the files in the script.

davethomson

Hello again  :D

In the attached file please note that down the script there are 12 files to be added beginning with ad1.wav through ad12.wav.  However, from ad6.wav through ad12.wav the "DestDir: {apps}" is missing (just the "{apps}").  So, I have to manually insert "{apps}" in those six lines as otherwise the InnoSetup halts.

Do I need to use your latest version 11.5 build 1 (I believe) that is correct but I can't find any download to this version? I am using Version 11.4 Build 3.