Silent unattended installation and uninstallation of Infor Visual ERP and Gupta Runtime

I'm getting ready to upgrade our company from Infor Visual Manufacturing ERP version 9.0.8 to Version 10 and I needed to automate that upgrade with PDQ.

Here are the steps to get that working.

First, run the installers with /r command to record the setup information to c:\windows\setup.iss

For example:

deploy-7.3.6-x86 /r

Then get the setup.iss from the Windows folder when the install completes and copy it to the installer folder. (C:\windows\setup.iss)

Now when the installer is run with the /s switch, it will use the setup.iss to install the software in unattended mode.

For Example:

deploy-7.3.6-x86 /s

Next Step is creating the unattended uninstallation by adding /r to the end of the uninstall command found in the registry for Visual 10:  

Here is an example of create the uninstall.iss file for Visual 10:

"C:\Program Files (x86)\InstallShield Installation Information\{D79EF435-9724-43C5-9BD3-DB6D13DA403A}\setup.exe" -runfromtemp -l0x0409 -removeonly /r

Then get the setup.iss from the Windows folder, rename it to Visual-uninstall.iss and then save it to the c:\infor folder.  


You will need to copy the uninstall.iss files to c:\infor for each PC you want to uninstall Visual or the Runtime from.

This file can be copied to the PC with SCCM or PDQ or Group Policy before running these uninstall commands.



The GUID will be different for each install, so check the registry for the correct uninstall path for your applications.  Here are examples for V10 SP8 and Runtime 7.3.6.


Remove Visual 10 SP8

"C:\Program Files (x86)\InstallShield Installation Information\{D79EF435-9724-43C5-9BD3-DB6D13DA403A}\setup.exe" -runfromtemp -l0x0409 -removeonly /s /f1"c:\infor\Visual-uninstall.iss" /f2"c:\infor\Visual-remove.log"


Remove Runtime 7.3

"C:\Program Files (x86)\InstallShield Installation Information\{0D9A1EE1-4126-4CE2-A3DC-6C682A8F2806}\setup.exe" -runfromtemp -l0x0409 -removeonly /s /f1"c:\infor\Runtime-uninstall.iss" /f2"c:\infor\Runtime-remove.log"



References:

Record uninstall to a uninstall.iss file:

https://docs.testarchitect.com/user-guide/getting-started/uninstalling-testarchitect-in-silent-mode/creating-an-uninstallation-response-file/ 

Running the uninstall with a uninstall.iss file:

https://docs.testarchitect.com/user-guide/getting-started/uninstalling-testarchitect-in-silent-mode/running-silent-uninstallation/

Comments

Popular Posts