Skip to content

Documentation for commands #5

@chrishaff

Description

@chrishaff

There appears to be no proper documentation for commands to be used in updatescript.ini. There is mention in quickstart and a little more Release Notes. Or maybe there just aren't other commands. Below is what I found. If you could please confirm that what I have is correct I'll go ahead and write them up to submit as a PR.

DownloadFile:FilenameOnServer.ext - Copy the file to the install directory OR
DownloadFile:FilenameOnServer.ext FilenameInInstallDirectory.ext - Copy the file and assign it a different filename in the install directory

ShellExecute:CommandToExecute.exe - Guessing at the syntax here. I'd assume anything that would work in the DOS command, PowerShell or EXE. It's unclear if it's just one word command or if parameters can be passed.

DeleteFiles:Filename.ext - This is plural so I assume wildcards will work as well...
DeleteFiles:File*.*

DeleteDirectory:DirectoryName

CreateDirectory:DirectoryName - Pure speculation that this exists based on DeleteDirectory. If this doesn't exist one would need to use ShellExecute?

Anything else? Thanks!

Also, your forum doesn't appear to send emails (to gmail in any case), so I could not sign up and discuss this there. I tried a couple of times today. No, it's not in spam. I used the username of "chaff" if that help you troubleshoot. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions