Changing files or directories
This describes what has to be done if a new directory/file is added or removed.
-
Affected files:
- ${EM}/release/tools/installer_skel/win/shared/installer_stud_info.iss
- ${EM}/release/tools/installer_skel/win/shared/installer_admin_app_info.iss
- ${EM}/release/tools/installer_skel/win/shared/installer_admin_lib_info.iss
- ${EM}/release/build.eant
-
What to change:
- Insert/Remove/Change lines in the [Files] Section
- Help can be found here: Inno-Setup Home
-
Example:
-
Adding a new directory named 'testdir':
- Only need to modify the build.eant in ${EM}/release to include the directory 'testdir'
-
Adding a new directory named 'testdir':
Changing Environment-variables or Path-variables
This describes what needs to be done if a new environment-variable or a new path-variable is being added.
-
Affected files:
- ${EM}/release/tools/installer_skel/win/shared/installer_admin_app_code.iss
- ${EM}/release/tools/installer_skel/win/bcb/installer_admin_lib_code.iss
- ${EM}/release/tools/installer_skel/win/bcb/installer_stud_code.iss
- ${EM}/release/tools/installer_skel/win/msc/installer_admin_lib_code.iss
- ${EM}/release/tools/installer_skel/win/msc/installer_stud_code.iss
-
What to change:
- Study the Pascal code of the above files and add a new function for setting the environment variables/paths and one for removing the environment variables/paths
Changing scripts which will be run before/after the Installation
This describes what needs to be done if you wish to insert code which will be run before/after installation.
-
Affected files:
- ${EM}/release/tools/installer_skel/win/shared/installer_admin_app_code.iss
- ${EM}/release/tools/installer_skel/win/bcb/installer_admin_lib_code.iss
- ${EM}/release/tools/installer_skel/win/bcb/installer_stud_code.iss
- ${EM}/release/tools/installer_skel/win/msc/installer_admin_lib_code.iss
- ${EM}/release/tools/installer_skel/win/msc/installer_stud_code.iss
-
What to change:
-
Insert a new function (Pascal code) in the above files add call it from/modify this function:
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep)
-
Insert a new function (Pascal code) in the above files add call it from/modify this function: