Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm writing a few scripts that I am using to integrate with bamboo for some continuous integration improvements and I've run into a bit of a snag.

I'm currently trying to run a psexec command that installs the latest build on the remote machine but I dont necessary know the revision number. For example, the remote exe file could be Installer-3.1.xxxxx.exe where the xxxxx changes.

I tried running the command with Installer-3.1.*.exe but it takes it as literal in Windows.

I'm not overly familiar with Windows command prompt and am more used to Linux at this moment.

share|improve this question

Mark Russinovich has more help on the Technet site or on SysInternals site http://ss64.com/nt/psexec.html gives syntax. Windows will automatically invoke the appropriate latest version of installer if installed.

share|improve this answer
    
That's a start. I am now using instead of a wildcard I invoke the -c argument before the file I copied over to the remote machine to install. Only issue now is I need to run the executable in silent mode. Example is Installer-3.1.98235.exe /S – Danny Jun 28 '12 at 21:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .