Kaseya Community

Run Click-to-Run ".application" file?

  • Hi,

    How can I run a ".application" file as the current logged in user?

    I've got this in my procedure but it doesn't seem to work

    executeFile("#agentdir#"\Exclaimer.CloudSignatureAgent.application", " ", "Execute as User and Continue", "All Operating Systems", "Halt on Fail")

    But this just gives an error "Failed THEN"

    Any ideas?

  • try write file variable instead of executefile ex:

    writeFile ("Exclaimer.CloudSignatureAgent.Application", "#agentDrv#temp\install.msi", "All Operating Systems", "Halt on Fail")

    executeFile("#AgentDrv#temp\Exclaimer.CloudSignatureAgent.Application /q", "Execute as System and Wait", "All Operating Systems", ")

    ***Make sure to specify if the application is a .exe or .msi after Application.***

  • The file downloads fine, but  It's explicitly a ClickOnce ".application" file - not an exe or msi.  en.wikipedia.org/.../ClickOnce I guess I can try renaming it?



    clarification
    [edited by: altwohill at 12:06 PM (GMT -7) on Mar 13, 2018]