When creating an answer file and can't remember........
Installing software and creating and an answer
file, bear in mind not all software will work in this manner.
Install the software from a command prompt:
Run the application “whatever you are trying to
automate” name; YOURAPPLICATION
YOURAPPLICATION.exe /r
/f1"C:\YOURAPPLICATION.iss"
/r : Sets this to Recording mode
/f1 : is where you want to save the .iss file,
this must be a specific place, yet .\YOURAPPLICATION.ISS will work
Once complete check for the existence of the
.iss file, if there is no file, it would suggest that the command line syntax
is incorrect.
If the file exists, uninstall the application
Now check the newly created file works by
entering the following command:
YOURAPPLICATION.exe /S /f1"
C:\YOURAPPLICATION.iss "
/S : silent mode
/f1 : path of the configuration file.
The above will install the application with no
user input, using the information entered during the record mode.
Create uninstall for the software as per the
above creation using recording mode:
YOURAPPLICATION.exe /uninst /r /f1"
C:\YOURAPPLICATION.iss "
/uninst : uninstall mode
/r : recording mode
/f1 : path of the configuration file.
Now check the newly created file works by
entering the following command:
YOURAPPLICATION.exe /S /uninst /f1"
C:\YOURAPPLICATION.iss "
/uninst : uninstall mode
/S : Silent mode
/f1 : path of the configuration file