Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Running local executable in Task Sequence

$
0
0

Hi,

We are trying to run a local executable that exists inside a sub folder of C:\Program Files within an OSD Task Sequence.  The executable and other files are created by a previous package that is run earlier in the same OSD Task Sequence (this package installs as expected). So far, we have tried to run the executable as follows without success:

  • Run command line step using cmd /c "C:\Program Files\Folder\Setup.exe /S"
  • Install Package (with no source files and no DP) just a command line of C:\Program Files\Folder\Setup.exe /S
  • Run command line step to run batch file (containing C:\Program Files\Folder\Setup.exe /S)

When using the Install Package option, we have also set the Start in directory to C:\Program Files\Folder.

None of the above methods have worked and result in an 0x80070002 error message.

The command line on it's own and within a normal Task Sequence run outside of an OSD Task Sequence works without issue.  When run using this method, the Setup program silently installs an application using 'Setup.exe /S'

Any assistance would be appreciated!


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>