I am trying to install an app via OSD TS and having trouble. The command line works manually. Below is the error I'm getting and a description of the TS.
The task sequence execution engine failed executing the action (Install Remedy) in the group (Helpdesk Apps) with the error code 2147942402
Failed to executecommand line 'setup -i silent -DOPTIONS_FILE="C:\_SMSTaskSequence\WDPackage\Scripts\CustomScripts\Options.txt"' .
The system cannot find the file specified. (Error: 80070002; Source: Windows)
Install Software failed to run command line, hr=0x80070002. The operating system reported error 2147942402: The system cannot find the file specified.
I can clearly see what the problem (in red) is but I'm not sure why it's happening. TS is setup as run command line because it seems like the "options" file needs to have an absolute path to work properly. The first time I tried running it manually I placed the "options" file in the same folder as the setup.cmd but I still had to add the entire path in order for it to work. I have this same setup to install Cisco iron port and that works perfectly. I've updated my MDT toolkit package to make sure the custom scripts folder is up to date. BMC Remedy Client 7.5 package is just source files, no program.
Quick side note: the setup file is a setup.cmd file that passes some arguments on to a setup.exe in a different folder. The app does not install properly if you don't launch it using the setup.cmd
I followed the below steps on cretaing a silent install and it works manually but I can't seem to apply it to an SCCM ts.
Hello everyone. I've read the 7.5 installation guide (appendix which talks about using the silent installer. I'm attempting to silently install the User Tool. According to the installation guide you should create a file named "Options.txt" and copy the installation options into this file from the example options file (named "ARSystem-ini-template.txt" found in the utility folder).
I have the following contents in the "Options.txt" file:
I built a BAT file which will launch the "setup.cmd" file using the proper options.
NOTE: Please note, this only works while installing from a local or a mapped drive. It doesn't work with the installer files in a UNC path.
I named the BAT file "install.bat" and put it in the same folder where the "setup.cmd" file is located (in my case it's in "C:\Software Downloads\ARS 7.5\Patch 002\ARSuiteKitClientWindows\Disk1"). The contents of the "install.bat" file are as follows:
That's it, easy cheesy. When I lauch the "install.bat" file the Remedy user tool is installed and the specified server is added as the default Remedy server.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
I am trying to install an app via OSD TS and having trouble. The command line works manually. Below is the error I'm getting and a description of the TS.
The task sequence execution engine failed executing the action (Install Remedy) in the group (Helpdesk Apps) with the error code 2147942402
Action output: 80070002 (e:\nts_sms_fre\sms\framework\core\ccmcore\commandline.cpp,997)
clCommandLine.Execute( uOptions, pszWorkingDir, lpDesktop ), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\runcommandline.cpp,558)
Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\CR200091
reference count 1 for the source C:\_SMSTaskSequence\Packages\CR200091 before releasing
Delete source directory C:\_SMSTaskSequence\Packages\CR200091
Released the resolved source C:\_SMSTaskSequence\Packages\CR200091
cmd.Execute(pszPkgID, sProgramName, dwCmdLineExitCode), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\main.cpp,385)
CreateProcess failed. Code(0x80070002)
Command line execution failed (80070002)
Failed to executecommand line 'setup -i silent -DOPTIONS_FILE="C:\_SMSTaskSequence\WDPackage\Scripts\CustomScripts\Options.txt"' .
The system cannot find the file specified. (Error: 80070002; Source: Windows)
Install Software failed to run command line, hr=0x80070002. The operating system reported error 2147942402: The system cannot find the file specified.
I can clearly see what the problem (in red) is but I'm not sure why it's happening. TS is setup as run command line because it seems like the "options" file needs to have an absolute path to work properly. The first time I tried running it manually I placed the "options" file in the same folder as the setup.cmd but I still had to add the entire path in order for it to work. I have this same setup to install Cisco iron port and that works perfectly. I've updated my MDT toolkit package to make sure the custom scripts folder is up to date. BMC Remedy Client 7.5 package is just source files, no program.
Quick side note: the setup file is a setup.cmd file that passes some arguments on to a setup.exe in a different folder. The app does not install properly if you don't launch it using the setup.cmd
I followed the below steps on cretaing a silent install and it works manually but I can't seem to apply it to an SCCM ts.
Thanks,
Mike
Share this post
Link to post
Share on other sites