### Program Files Structure for myApp Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/quick-start-guide.md This snippet illustrates the expected directory structure for the fictitious 'myApp' application, including its executable, documentation, libraries, license, and the Microsoft Visual C++ Redistributable package. This structure is assumed to be present on the build system before creating the setup package, serving as the source for the installer. ```plaintext +--- assets | +--- someAsset.dat | +--- VC_redist.x86.exe +--- docs | +--- myAppDoc.html +--- lib | +--- someLib.dat +--- license.txt +--- myApp.exe ``` -------------------------------- ### Configuring Post-Installation Application Launch (InstallForge) Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/quick-start-guide.md This path specifies the main application executable (myApp.exe) that the InstallForge setup wizard can launch directly upon completion. It utilizes the constant to correctly locate the application within the user's chosen installation directory. ```InstallForge Configuration \myApp.exe ``` -------------------------------- ### Configuring Default Installation Path - InstallForge Configuration Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/quick-start-guide.md This snippet defines the default installation path for the application on the target system using InstallForge's predefined constants. resolves to the system's program files directory, while and are setup constants resolved from the product's general information. This path is dynamically resolved at runtime. ```InstallForge Configuration \\\ ``` -------------------------------- ### Configuring Silent VC++ Redistributable Installation (InstallForge) Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/quick-start-guide.md This parameter, /passive, is passed to the Microsoft Visual C++ Redistributable setup. It instructs the MSI installer to run in a passive mode, meaning the installation proceeds without user interaction or displaying a full GUI, providing a seamless experience. ```InstallForge Configuration /passive ``` -------------------------------- ### Ensuring Setup Waits for External Command (InstallForge) Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/quick-start-guide.md The -wait option is an InstallForge-specific command option. When applied to an external command, it forces the InstallForge setup package to pause its execution until the external command (e.g., the VC++ Redistributable setup) has completed, ensuring proper sequencing of installation steps. ```InstallForge Configuration -wait ``` -------------------------------- ### Specifying VC++ Redistributable Executable Path (InstallForge) Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/quick-start-guide.md This snippet defines the path to the Microsoft Visual C++ Redistributable setup executable within the InstallForge setup configuration. It uses the constant, which resolves to the user's chosen installation directory at runtime, ensuring the setup file is launched from its extracted location. ```InstallForge Configuration \assets\VC_redist.x86.exe ``` -------------------------------- ### Configuring Startmenu Shortcut for myApp - InstallForge Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/quick-start-guide.md This snippet shows the configuration for creating a Startmenu shortcut for the 'myApp' application. It specifies 'Startmenu' as the destination, 'myApp' as the shortcut name, and '\myApp.exe' as the target executable. ```InstallForge Configuration myApp ``` ```InstallForge Configuration \myApp.exe ``` -------------------------------- ### Deleting VC++ Redistributable Setup File (Shell) Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/quick-start-guide.md This shell command is configured to delete the Microsoft Visual C++ Redistributable setup file after its installation is complete. It uses the del command with the constant to remove the file from the user's system, freeing up disk space. ```Shell Script del "\assets\VC_redist.x86.exe" ``` -------------------------------- ### Configuring Desktop Shortcut for myApp - InstallForge Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/quick-start-guide.md This snippet shows the configuration for creating a desktop shortcut for the 'myApp' application. It specifies 'Desktop' as the destination, 'myApp' as the shortcut name, and '\myApp.exe' as the target executable. ```InstallForge Configuration myApp ``` ```InstallForge Configuration \myApp.exe ``` -------------------------------- ### Configuring Startmenu Shortcut for Uninstaller - InstallForge Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/quick-start-guide.md This snippet shows the configuration for creating a Startmenu shortcut for the uninstaller. It specifies 'Startmenu' as the destination, 'Uninstall myApp' as the shortcut name, and '\Uninstall.exe' as the target executable. ```InstallForge Configuration Uninstall myApp ``` ```InstallForge Configuration \Uninstall.exe ``` -------------------------------- ### Example English Language File for InstallForge (English.ifl) Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/how-tos/creating-your-own-language-file.md This INI-formatted file serves as a template for creating custom language files for InstallForge. It defines various UI elements, messages, and wizard texts used throughout the setup process, such as button labels, welcome messages, license agreement text, and folder selection prompts. This file must be saved with UTF-8 encoding and a Byte Order Mark (BOM) to ensure proper display of all characters. ```INI // Copyright (C) 2006 solicus // English language file for InstallForge. // Last updated: 2020-04-24 [Main] Title= Setup [Gadgets] NextBtn = Next > CancelBtn = Cancel BackBtn = < Back FinishBtn = Finish BrowseBtn = Browse… AcceptOptn = I accept the agreement DoNotAcceptOptn = I do not accept the agreement CreateDesktopIconCbx = Create desktop icon CreateStartMenuFolderCbx = Create start menu folder LaunchProgramCbx = Launch RebootCbx = Reboot computer now DestinationFolderFR3 = Destination Folder SelAppFolder=Select Application Folder: SelStartMenuFolder=Select Start Menu Folder: [Messages] ExitSetupH = Exit Setup ExitSetup = Do you want to abort the installation? CouldNotExtractFileH = Error CouldNotExtractFile = Could not extract file! [Start] Title = Welcome to the Setup Wizard Text = This will install on your computer. It is recommended that you close all other applications before continuing. Click Next to continue. [LicenceAgreement] HeadT = License Agreement HeadB = Read the following important information before continuing. Text1 = Please read the following License Agreement. you must accept the terms of this agreement before continuing with the installation. [ApplicationFolder] HeadT = Select Application Folder HeadB = Please choose the directory for the installation. Text1 = Setup will install in the folder shown below. Text2 = To continue, click Next. If you would like to select a different folder, click Browse. Text3 = Required free space: Text4 = Available free space: [StartMenuFolder] HeadT = Select Start Menu Folder HeadB = Where should Setup place the program’s shortcuts? Text1 = Setup will create the program’s shortcuts in the following Start Menu Folder. Text2 = To continue, click Next. If you would like to select a different folder, click Browse. [AdditionalTasks] HeadT = Select Additional Tasks HeadB = Which additional tasks should be performed? Text1 = Select the additional tasks you would like setup to perform while installing , then click Next. Text2 = Additional icons: [Installing] HeadT = Installing HeadB = Please wait while Setup installs on your computer. Text1 = Preparing to install.. Text2 = Installing.. Text3 = Configuring.. [Finish] Title = Completing the Setup Wizard Text1 = Setup has finished installing on your computer. Click Finish to exit Setup. [SerialCheck] HeadT = User Information HeadB = Please enter your information. Text1 = User Name: Text2 = Organization: Text3 = Serial Number: [Uninstall] Header = Uninstall Status Header_b = Please wait while is removed from your computer. Uninstalling = Uninstalling Btn_cancel = Cancel ExitUninstall_T = Uninstall ExitUninstall = Do you want to exit uninstall? Success_T = Uninstall Success = was successfully removed from your computer! BM_T = Uninstall BM = Do you want to remove from your computer? ``` -------------------------------- ### Launching InstallForge via PowerShell Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/getting-started/installation.md This snippet demonstrates how to launch InstallForge using PowerShell. It first changes the directory to the InstallForge 'bin' folder and then executes the 'ifbuilderenvx86.exe' executable. This method provides an alternative to launching via the Windows Start Menu or File Explorer. ```shell $ cd 'C:\Program Files (x86)\solicus\InstallForge\bin\' $ .\ifbuilderenvx86.exe ``` -------------------------------- ### Creating Version File with InstallForge Environment Variable (Batch) Source: https://github.com/soner-boztas/installforge-docs/blob/main/docs/how-tos/using-environment-variables.md This snippet demonstrates how to create a text file named `version.txt` containing the application's version during installation using InstallForge's `Custom Commands` feature. It leverages the `IF_APPLICATION_VERSION` environment variable, which is initialized by InstallForge, and redirects its value into the specified file within the installation path. ```Batch echo %IF_APPLICATION_VERSION% > “\version.txt” ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.