Run ClickOnce Application from CLI

Posted by Badger on Super User See other posts from Super User or by Badger
Published on 2012-06-27T14:53:10Z Indexed on 2012/06/27 15:18 UTC
Read the original article Hit count: 231

I am working on an auto-install script for where I work and we have a ClickOnce type application we use from a vendor. I have looked into it and we can't automate the install but we would like to be able to at least start the install automatically.

I have tried

rundll32.exe dfshim.dll,ShOpenVerbApplication "%SOFTWARE%\ToolsApp.application"

but it gives me an error about an invalid URI.

What would probably be the easiest is to use whatever program Windows has (Windows XP in our case) to run the default "handler" for the file. I don't know if any such thing exists, but that is what comes to mind.

© Super User or respective owner

Related posts about windows-xp

Related posts about command-line