Is InnoScript best for initial script creation or also for subseque...

Started by spick56, March 29, 2006, 12:19:47 PM

Previous topic - Next topic

spick56


Randem

Michael,
 
That is correct about the replacement lines. So, now you see how you can have many different outcomes by using the templates. This hopefully will allow you to create many different installations types from using the base installation project.

spick56

Hi randem,
Thanks for your advice, I now understand how to achieve points b) and c). I think that I also understand how to replace a line using Templates but I'd like you to confirm my understanding.  
 
It appears that a (generated) script line is replaced by a template line if the file name in the script line is identical to that of the template. Is that correct?
 
I'm having a problem with associations but I'll raise that as a new post so that it doesn't get lost amongst this post, besides it's not related to the original question.
 
Once again, thanks.
 
/Michael

Randem

Aloha spick56,
 
a) Yes you can. Look in the manual in the Template Script Processing Section. Any line that matches in the defintion of the line (filename etc) will be replaced if not then it will be added.
 
b) Include it in the Run Section with a task association
 
c) What do you mean sub app group? Do you mean on the menu? What you did was to install a file in a folder inside the app folder. If you mean on the menu use the ICON section to do this.

spick56

Hi Randem,  
I had the impression that 'template' was used for that purpose but didn't know how to use it. Thanks for confirming that point and now, with more reading, I worked out how to include the template in the compilation and was able to place the shortcut in it.
 
Just a few more points:
a) adding template lines to a script being generated is straight forward but can I replace script lines/contents with lines/text from the template?  
 
b) how do I include a shortcut/icon (for the Help file) on the last install page, giving the user option to open it?
 
c) how to create a sub app group. I tried Source: ..examplesfrmexample1.frm; DestDir: {app}Examples; Flags: ignoreversion in the [Files] section but that didn't work?
 
/Michael

Randem

Aloha Michael,
 
Once you start making changes to the script you can use the template function of InnoScript to add, replace or make changes to the script for the next time you run InnoScript. You can keep many templates to make changes in your script depending on your needs.
 
Additional Shortcut??? Copy and paste...

spick56

Hi,
I've just started using InnoScript (with VB project) and whilst still not very familiar with its capability, I get the impression that it's great for creating the initial script (for InnoSetup) but not once you start adjusting the script in InnoSetup.
 
By that I mean after you start making adjustments to the script in InnoSetup you can't go back to IS as you lose those changes. Is that correct or am I not using it properly?
 
Also, how would one make an additional shortcut/icon in IS?
 
Thanks,
   Michael