I am trying to deploy a batch file that will uninstall a program using msiexec.exe and then it will install a .exe to install a new program. I have attached the batch file contents. I tested this job on my vmware session and it ran fine. It is running as the system account. On a client machine I ran this job to test and I got:
Tue, 01 Sep 2009 14:54:26 Core name 'LANDESK2' obtained from the registry
Tue, 01 Sep 2009 14:54:26 Sending task status, cmd line -coreandip=LANDESK2 -taskid=310 -retcode=229392397 "-ldap=CN=CHRM0816,OU=Standard,OU=User-Accounts,DC=mid7000nt,DC=mlan"
Tue, 01 Sep 2009 14:54:26 Batch file Client Thread
Tue, 01 Sep 2009 14:54:26 PackagePath: [\\landesk2\landesk$\mapinfo\10\Install\install.bat]
Tue, 01 Sep 2009 14:54:26 Checking preferred server path \\Landesk2\landesk$\mapinfo\10\Install\install.bat instead of \\landesk2\landesk$\mapinfo\10\Install\install.bat
Tue, 01 Sep 2009 14:54:26 Path \\landesk2\landesk$\mapinfo\10\Install\install.bat was redirected to \\Landesk2\landesk$\mapinfo\10\Install\install.bat
Tue, 01 Sep 2009 14:54:26 Download of '\\landesk2\landesk$\mapinfo\10\Install\install.bat' was redirected to '\\Landesk2\landesk$\mapinfo\10\Install\install.bat'
Tue, 01 Sep 2009 14:54:26 Checking preferred server path \\Landesk2\landesk$\mapinfo\10\Install\install.bat instead of \\landesk2\landesk$\mapinfo\10\Install\install.bat
Tue, 01 Sep 2009 14:54:26 Path \\landesk2\landesk$\mapinfo\10\Install\install.bat was redirected to \\Landesk2\landesk$\mapinfo\10\Install\install.bat
Tue, 01 Sep 2009 14:54:26 Download of '\\landesk2\landesk$\mapinfo\10\Install\install.bat' was redirected to '\\Landesk2\landesk$\mapinfo\10\Install\install.bat'
Tue, 01 Sep 2009 14:54:26 Adding '\\Landesk2\landesk$\mapinfo\10\Install' to the path
Tue, 01 Sep 2009 15:10:39
Tue, 01 Sep 2009 15:10:39 Installation result 8DAC4002
Tue, 01 Sep 2009 15:10:40 Core name 'LANDESK2' obtained from the registry
Tue, 01 Sep 2009 15:10:40 Sending task status, cmd line -coreandip=LANDESK2 -taskid=310 -retcode=-1918091262 -complete "-log=sdclient_task310"
On this client's machine, it uninstalled the old program, but then did not install the new program. Is there something I did wrong in syntax? Why would this run on 2 vmware sessions fine and not on a client's machine? We are on 8.8 SP3. Also, I am running this task "Use run from source to deploy the files". I did this so I am not copying down a bunch of files to the local sdmcache.