(Note: Switches are case-sensitive; /S is usually for silent, while /s may not work for all installers.) Advanced/InnoSetup Silent Switch:
Athan_Pro_4.5.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART
Verify that the software is registered within the Windows operating system by checking the following registry key: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\ Automating via Batch Scripts Athan -Azan- Pro 4.5 Silent Install Full
AthanPro45_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- Key Switch Definitions: /VERYSILENT : Installs the app in the background. No GUI is shown. /SUPPRESSMSGBOXES : Prevents any "Yes/No" or "OK" prompts. /NORESTART
To verify that the installation was successful: (Note: Switches are case-sensitive; /S is usually for
@echo off echo Installing Athan Pro 4.5 silently... start /wait AthanPro_4.5.exe /VERYSILENT /NORESTART echo Applying license... reg import "AthanPro_License.reg" echo Installation complete.
: Use the /norestart flag if you want to prevent the computer from rebooting automatically after the install. /NORESTART To verify that the installation was successful:
"Athan_Pro_4.5_Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- Use code with caution. Option B: For InstallShield Installers
If the installer was built using the Inno Setup engine, use the /VERYSILENT and /SUPPRESSMSGBOXES flags to suppress all visual windows and automatic pop-up alerts:
: Upon first launch, you may still need to manually set the city and prayer calculation method. Permissions