I noticed that when I run InnoScript a Template is checked on first loading. I uncheck it, create script, save the file. The next time I open the file the Template is checked again. Why does this happen? Just curious as I always uncheck it the next time. If I leave it checked I get lots of 'red' codes in the script.
(https://randemsystems.support/discus/messages/12/8989.gif)
That should not be the case. Did you answer the prompt to save your project with Yes?
What version are you running anyway? You should be on 9.0 Build 6 If you are not then check the InnoScript History for more information.
Yes, I always answer yest to the SAVE question when exiting the program.
Running Version 9.0 Build 6
Come to think about it why would you not want the runtime files not to be installed? They are the default and should be installed.
Well, I had problems in the past with red text appearing in my script and I didn't understand why it was there nor if it would effect my InnoSetup combilation.
(https://randemsystems.support/discus/messages/12/8996.gif)
Being a novice I chose to uncheck the template and not use it. So, you are saying I should use the template?
That color is not red and there is a complete explanation of the colors in the documentation. You can change the colors from the main menu and it will also tell you what the colors mean.
You don't need that template since the runtime files are already being deployed. Post your project file (.pjt) and I will have a look.
Yep, you are 100% correct. The color definitely is not red. I guess it would be called pink. I see, from the COLORS, that this means Added Lines. I don't understand exactly why these lines were added. But it really doesn't matter as if I remove the check in the VBRuntime.tpl each time I run InnoScript they they don't appear.
My .pjt file is attached:
I was just curious about why this happened and what it meant. But since your program, with the unchecked table works just great, i.e. I can produce the installation .exe, it is no big deal.
Working with your program has been a great experience and extremely helpful as it allows me to get an installation .exe. And now that I can do so I am installing it on XP PCs! My original problem was trying to load the actual .exe on a Vista PC.
Added lines come from the template files. Any lines in the script file will be added or replaced depending on the condition of if it exists in the script file or not. Lines that meet the criteria will be replaced if not they will be added.
If you check mark the template it will be used in this manner. This will further be clarified in the Beta 9.1.1 version with Yes/No combo boxes.
Humm, how come most times when I have a question or comment I see that a new version will be coming out soon. Is it because my concerns raise the spector of a bug?
Just kidding! Your program is great and I don't know what I do without it and your excellent help for this novice user.
Thank you very much.
All programs have bugs. It's the good ones that will attempt to correct them and not just say they are an undocumented feature or just ignore the existance altogether.
Most of the updates that we give are actually enhancements. We get feedback from our users that may state a better way of doing something or adding a new feature. Sometime the enhancement are just to clarify procedures and make the program more useful. Such as the new feature with the combo boxes. It will open up a new direction that was only obtainable with templates directly from InnoScript.
Sometimes the procedures make plenty sense to me but to others there is a cloud of confusion. Enhancement hope to change these confusions.
I have been programming since 1965 and there has never been a program I have written that has, initially, been bug free. Maybe someday
My program, which is the .pjt file I posted, has gone through many updates, corrections, enhancements, and de-bugs. Many of these were with your help. Thanks again.