1
response

Hello,

My organization would like to upgrade our version of NXlog CE from 2.9.1347 to 2.10.21250. We have NXlog installed on hundreds of servers, so performing this process manually is not viable.

We have tried ad nauseum to script this process, but we keep running into the same issues.

1. It appears the NXlog can only be uninstalled by the user account that installed it initially. NXlog version 2.9.1347 does not show in Add/Remove Programs for users who did not install the application and there for when you attempt to uninstall it via and MSI call it tries to install it instead.

2. There does not seem to be a completely clean way to uninstall this product. Even running the uninstall from the same user account that installed the application, it leaves traces of the application which cause the entry to remain in Add/Remove Programs.

My question... We would like to deploy the latest version of NXlog CE using our existing software deployment utility. This requires us to create a batch script to handle the uninstall and reinstall. Is there a way to totally uninstall NXlog CE version 2.9.1347 via CLI quietly or is there a quiet uninstall utility that we can call prior to installing the new version?

Thank you.

AskedMarch 5, 2019 - 11:02pm

Answer (1)

The uninstall process will leave the folders and anything created or modified after the install. This will include certs and config files.
This is by design so that we don't remove anyone's hard work in creating configs.
If you can uninstall from the user that installed, this would be the best approach.

To silently uninstall you could try the following. This will likely not work, but worth a shot.
msiexec /x nxlog-2.9.1347.msi /qb

You could use this to install on top of the existing installation. This will still have the old product showing as installed in addition to the new version for the initial install user. This option is not officially supported and may cause issues, but we have also seen success with it.
msiexec /i nxlog-2.10.2102.msi /q SKIP_PERUSER_CHECK=1

The other alternative is to remove the file structure and the registry entries and then install fresh.