6.3. Silent Media Installation

To run a silent installation from the media, you can either:

  • Copy the contents of each DVD to a folder on the machine's hard disk such that the 242-<number>.dvd files of each DVD are located in the same directory. You can then proceed with the silent installation as described earlier. 

  • Place all of the media in separate drives (any combination of virtual ISO mounts or hardware drives) so that they can be accessed simultaneously during the installation. Then run the silent installation as described earlier, but include the additional -media_dir2 <path> and -media_dir3 <path> options as needed for each drive:

    INSTALL -silent -install_dir <path> -product_flag -media_dir2 <path> -media_dir3 <path>

    The installer uses the mount directory from which it was launched as the first media path; you need to specify only the location of the subsequent DVD(s) using the -media_dir2 and -media_dir3 options shown in the example above.

6.3.1. Silent Uninstall

You can also run the uninstall silently by issuing the following command:

/ansys_inc/v242/ans_uninstall242 –silent

The silent uninstall will automatically uninstall all products for this release and delete the v242 directory and all subdirectories. You will not be prompted for confirmation.

To uninstall individual products, use the product_flags listed in the Product Flags table in conjunction with the -silent argument.


Note:  Geometry interfaces cannot be uninstalled using these commands.


For example, to uninstall only TurboGrid and Icepak, issue the following command:

/ansys_inc/v242/ans_uninstall242 –silent -turbogrid -icepak

You can also issue the -help option to see a list of valid arguments for a silent uninstall.

A record of the uninstall process will be written to ansys_inc/install.log. Any error messages will be written to ansys_inc/install.err.