Skip to main content

Posts

Showing posts from October, 2017

Commonly Used Setup.exe Silent Switches

Setup.exe Silent Switches Perhaps there is some undocumented process you can uncover. Below are some command lines found to work, try “setup.exe /?” first then go through the list below- you may get lucky! ●       setup.exe /q ●       setup.exe /qn ●       setup.exe /silent ●       setup.exe /s ●       setup.exe /NoUserInput ●       setup.exe /unattended ●       setup.exe /CreateAnswerFile ●       setup.exe /quiet ●       setup.exe /passive ●       setup.exe /NoUI ●       setup.exe -s ●       setup.exe -silent ●       setup.exe /VerySilent ●       setup.exe -r      (Creates response file in Windows directory with name setup.iss)

Installing Legacy Setup OR Creating Answer / Response Files

Details about installing legacy setup applications: Creating InstallShield Response Files or Answer Files ISS file – Install Shield Silence (Response)File Installshield Setup.exe allows creating a Response file. use your custom installation to install these resources without user interaction. The high-level process for creating custom installation for InstallShield images is as follows: ●       To record a silent InstallShield installation, run the  setup -r  command. ●       To play back a silent InstallShield installation, run the  setup -s  command. Recording the Response File To start recording the response file, perform the following steps: Change to the directory containing the setup script. Run the following command: 3.   setup -r -f1 my_response_file .iss where  my_response_file  is any name you want to use. For example, to create a response file for endpoint installation, you can call it   endpoint.iss   and store it in the   c:\tivoli\endpoi

Environment Variables

All details about environment variables and their use in an installer. Format Environment Variables in Windows are denoted with percent signs (%) surrounding the name: %name% echo To display an environment variable's value in  cmd.exe , type  echo %name% . C:\>echo %USERPROFILE% C:\Users\Daniel set To  create/set  a variable, use  set varname=value : C:\>set FunnyCatPictures=C:\Users\Daniel\Pictures\Funny Cat Pictures C:\>set FunnyCatPicturesTwo=%USERPROFILE%\Pictures\Funny Cat Pictures 2 Environment variables set in this way are available for (the rest of) the duration of the Command Prompt process in which they are set, and are available to processes that are started after the variables were set. setx To  create/set  a variable  permanently , use  setx varname "value" : C:\>setx FunnyCatPictures "C:\Users\Daniel\Pictures\Funny Cat Pictures" [Restart CMD] C:\>echo %FunnyCatPictures% C:\Users\Daniel

ADDLOCAL & ADDSOURCE Properties

ADDLOCAL property The value of the ADDLOCAL property is a list of features that are delimited by commas, and are to be installed locally. The features must be present in the Feature column of the Feature Table . To install all features locally, use ADDLOCAL=ALL on the command line . Do not enter ADDLOCAL=ALL into the Property Table , because this generates a locally installed package that cannot be correctly removed. Do not use spaces between names. Use the format ADDLOCAL = value,value,value... ADDSOURCE property The value of the ADDSOURCE property is a list of features that are delimited by commas, and are to be installed to run from the source. The features must be present in the Feature column of the Feature Table . To install all features as run from source, use ADDSOURCE=ALL on the command line . Do not enter ADDSOURCE=ALL into the Property Table , because this generates a run-from-source package that cannot be correctly removed. Remarks The feature name

Active Setup & Its Use

What is Active setup: Active setup is a process that runs automatically during the login . It is mainly used to complete specific run once setup tasks for each user as they log in to a given machine after an active setup based package is installed. Do not confuse that active setup is only used when user entries are there. it can be used even if there are other changes which needs to be made when any user logs in. It can be regarding placing a file somewhere, or running a script while anyone logs in. In the stubpath value such scripts are written. So stubpath does not necessarily mean msiexec /fpu. It can be anything which you want to run. When to use Active Setup: 1.     Active Setup is used when the application requires user based components such as HKCU registries and/or Configuration files to run, But the application has no Advertised shortcuts or Entry points. 2.     Most common examples are Office Addins. These Addins do not have shortcuts