Jump to content

MSI called via batch file not creating entry in Program and Features list


Recommended Posts

Posted

Hi

 

Bit of a strange one this.

 

I'm using the PaperCut supplied msi to deploy the client to my RM CC4 machines however the msi doesn't have a kill command to kill the pc-client.exe process prior to removing or upgrading. This causes the install/uninstall to fail so am looking to add a manual kill step to the procedure. I've created a batch file which runs "taskkill" followed by the installer with the relevant switch.

 

Install:

taskkill /F /IM pc-client.exe
timeout /t 10 /nobreak
msiexec /i pc-client-admin-deploy.msi /qn

 

Uninstall:

taskkill /F /IM pc-client.exe
timeout /t 10 /nobreak
msiexec /x pc-client-admin-deploy.msi /qn

 

When run manually this appears to work a treat however, when running via RM deployment it's successful but no entry is added to the "Programs and Features" list. I'm a bit stumped as to why this isn't added when called from a batch file.....!?

 

I'm well aware of the zero-install option but this isn't suitable for a CC4 environment.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...