Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: spick56 on January 26, 2012, 04:38:45 PM

Title: How to have/create internal install?
Post by: spick56 on January 26, 2012, 04:38:45 PM
Hello,
 
I seem to be having trouble in that I'm unable to add an internal install file. I'm using the latest version of IS (11.1.6), inside my project I have Project Settings -> Settings -> Others -> Internal Installs activated, then for lack of anywhere else which I can find, in External Installs I have my file added with parameters.
 
Doing this, building my script and then compiling it with inno setup results in the same filesize of my exe, and I get an error indicating that my external install file cannot be found in the .Support folder.
 
My intention is to include an external file into my setup exe (no support folder, increase the filesize of my setup.exe) and have it ran during installation. how can I do this?
 
thank you
Title: How to have/create internal install?
Post by: Randem on January 26, 2012, 04:46:47 PM
You are confusing two different operations. The default is internal installs, if you elect to place files into the External Installs tab that is exactly where they will go. You will override the internal install with the External Installs tab.
 
To have the file included in your setup.exe you just need to include the file name in a template file and it will be included in your script upon the next generation of your script. Depending how you want the file to be used you either include in it the [Files] section alone or along with the [Run] section if you want the file to be executed.
Title: How to have/create internal install?
Post by: Randem on January 26, 2012, 04:56:55 PM
BTW: The support folder is inside the Output folder where your script is generated...
Title: How to have/create internal install?
Post by: spick56 on January 26, 2012, 05:22:51 PM
hello Randem, thank you for your reply.
 
Can you please give me an example of what the template entries would be? I've tried adding it to the template under the [Run] field and I still get the same filesize and error.
 
thanks
Title: How to have/create internal install?
Post by: Randem on January 26, 2012, 05:36:44 PM
A template entry looks exactly like an entry in the script. It would be more helpful if you show what you have done so that I can help you in the direction you need to go.
 
NOTE: There are examples in the examples folder and in the documentation.
Title: How to have/create internal install?
Post by: spick56 on January 26, 2012, 06:24:48 PM
Hi Randem,
 
Ok all solved, thank you for your help