Changes to doc and to API, a bit more stable

This commit is contained in:
2019-10-31 11:35:16 +01:00
parent ea9f7b6436
commit 9de38014be
6 changed files with 71 additions and 23 deletions

View File

@@ -0,0 +1,10 @@
name: Install Paint.Net depending of Platform
revision: 1
steps:
- IF64BIT|
- REPOTOLOCAL|PaintDotNetMsi/PaintDotNet_424_x64.msi
- INSTALLMSI|PaintDotNet_424_x64.msi
- ELSE|32 Bit
- REPOTOLOCAL|PaintDotNetMsi/PaintDotNet_424_x86.msi
- INSTALLMSI|PaintDotNet_424_x86.msi
- ENDIF|

View File

@@ -12,6 +12,7 @@ If the cook has to run everytime client is called (And not only one time per new
If the cook has to run when no user is logued in, add:
"atstartup: 1"
Be aware that for be able to use this, in task scheduler (Or your favourite method) you have to run client.ps1 with argument "-startup 1" when no users are logued
"only64bit: 1"/"only32bit: 1" only for 64 or 32 bit systems (Maybe for some updates can be used)
And then, steps. First a "steps:" line, and then line by line the steps of the cook
"steps:
@@ -49,6 +50,8 @@ Inside a cook, you can use IF/ELSE/ENDIF scheme.
- IFSOFTWAREVER: Runs the if, if a program is installed and has X version. (Run with two param: "Name;Version")
- IFPATHEXISTS: Runs if file exists
- IFPWCMD: If powershell command returns $true (Executed succesfully), if is run
- IF64BIT: If you are in a 64 Bit operating system
- IF32BIT: If you are in a 32 Bit operating system
- ELSE: Else..
- ENDIF