Using rundll32.exe to launch a click once deployment URL?
-
24-06-2021 - |
Pregunta
I am using the following command from the command prompt in windows:
C:\Users\myusername>rundll32.exe dfshim.dll,LaunchApplication "http://ClickOnceDeplymentURL.application" NULL 0
but nothing happens? No errors or nothing. I expect it to launch the deployment update... Am I missing something here?
Solución
This answer mentiones that LaunchApplication
is only available since .NET Framework 2 SP 2. Try the ShOpenVerbApplication
function instead:
rundll32.exe dfshim.dll, ShOpenVerbApplication http://ClickOnceDeplymentURL.application
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow