@7 PICKMEAPP PRO COMMAND LINE INTERFACE

@7 PICKMEAPP PRO COMMAND LINE INTERFACE

You can work with PickMeApp Pro using the command line. It supports the following convention:

  • PickMeAppPro.exe  <command> <argument>

Instead working with PickMeAppPro.exe as command line we suggest using PickMeAppPro.bat file. The PickMeAppPro.bat includes interpretation of error messages that PickMeApp Pro command line may produce. The PickMeAppPro.bat is located in the same folder where PickMeAppPro.exe is located.

mca.yogeshshar… Gio, 2022-05-26 04:30

7.1 Commands

7.1 Commands

List
PickMeAppPro.bat /a <PMA Id>.<Email> /l[d][e][p][a] /c([n][q][a][s][f]) [/suite <external suite path> ] [/appname <Name>] [/apppublisher <publisher>] [/thresholdname <threshold value>] [/thresholdpublisher <threshold value>] [/profile <profile folder>] [/log <path to the log file>]

  • [d] - Lists product folders of all products
  • [e] - Lists exe files of all products
  • [p] - Lists all packages that indicate in /profile
  • [a] - Export analyses files. such as Inno log, correlation,  all installation NQA. They are in the PickMeApp folder
  • /c - specifies customization flag for List
    • [a] - all installed Applications
    • [s] - Suites
    • [f] - Filter/Search installed apps
      • appname - Indicate the name of installed application will be filtered (Distance is over threshold ). Just apply for 'f' switch
      • thresholdname - Threshold to apply appname
      • apppublisher - Indicate the Publisher of installed application will be filtered (Distance is over threshold ). Just apply for 'f' switch
      • thresholdpublisher - Threshold to apply apppublisher
  • /suite - Indicate external suite ini file
  • /log - Indicate log file output
  • /profile -  Indicate profile folder need to list. Just apply for [p]

Example: List all installed apps

PickMeAppPro.bat -a fdb5d194e14182fe832ad5bafbdd380d.tricuongle@gmail.com /l /ca /suite c:\suite.ini /log c:\log.txt

Capture

PickMeAppPro.bat /a <PMA Id>.<Email> /g[p] [/c([f][r][h])] <Product ID> /out <Output Folder> [/log <path to the log file>] [/suite <external suite path> ]

  • [p] - Packing the grabbed image to installer file
  • /c - specifies customization flag for grab
    • f - processes file settings
    • r - processes registry settings
    • h - Indicate that the capturing will be not included MSI Caches
  • /out - Indicate output folder
  • /suite -  Indicate external suite ini file
  • /log - Indicate log file output

Example:

PickMeAppPro.bat -a fdb5d194e14182fe832ad5bafbdd380d.tricuongle@gmail.com fdb5444494e182fe832ad5bafbdd380d.myemail@gmail.com /gp /ch {23170F69-40C1-2702-1900-000001000000} /out c:\test /log c:\test\log.log

Uninstall

PickMeAppPro.bat /a <PMA Id>.<Email> /u [/c([b][m])] <Product ID> [/suite <external suite path> ] [/log <path to the log file>]

  • /c - specifies customization flag for uninstall
    • b - indicate to turn-on creating system restore
    • m - indicate to turn-on Guess mode
  • /suite - Indicate external suite ini file
  • /log - Indicate log file output

PickMeAppPro.bat -a fdb5444494e182fe832ad5bafbdd380d.myemail@gmail.com  /u {23170F69-40C1-2702-1900-000001000000} /log c:\test\log.log

Install

PickMeAppPro.bat /a <PMA Id>.<Email> /i[d] [/c([f][r][k][l][b][m])] <Package> [/downloadpath <path to download folder>] [/log <path to the log file>]

  • [d] - Indicate downloading only. Do not perform installing.
  • /c - specifies customization flag for grab
    • f - processes file settings
    • r - processes registry settings
    • k - Indicate that the downloaded package will be stored in local machine
    • l - Indicate that the downloading package from local machine (If not parameter, downloading order is WEB)
    • b - indicate to turn-on creating system restore
    • m - indicate to turn-on Guess mode
  • /out - Indicate output folder
  • /suite -  Indicate external suite ini file
  • /log - Indicate log file output
  • /downloadpath -Indicate folder to be used to store any downloaded file. (default is current working folder)

PickMeAppPro.bat -a fdb5444494e182fe832ad5bafbdd380d.myemail@gmail.com /id /ck C:\Pad_Test\KeePass_pad.tad /downloadpath C:\Pad_Test /log c:\test\log.log

Extract

PickMeAppPro.bat /a <PMA Id>.<email> /e <Destination> <Package 1> [ <Package 2> <Package 3> ]

  • <Destination>: output folder and the Extract log will be stored in here.
  • <Package 1>:   tap file 1    
  • <Package 2>:   tap file 2    
  • <Package 3>:   tap file 3    

Example: extract 7-Zip.tap and auto.tap into c:\output folder

PickMeAppPro.bat -a fdb5444494e182fe832ad5bafbdd380d.myemail@gmail.com  /e c:\output  c:\7-Zip.tap c:\auto.tap

Relocate

PickMeAppPro.bat /a <PMA Id>.<Email> /r [/c([b])] <Product ID> <Relocated drive> [/suite <external suite path> ] [/log <path to the log file>]

  • /c - specifies customization flag for grab
    • b - indicate to turn-on creating system restore
  • <Product ID>: Indicate a moving product
  • <Relocated drive>: Location
  • /suite -  Indicate external suite ini file
  • /log - Indicate log file output

Example: Relocate "Orca" to drive E

PickMeAppPro.bat -a fdb5444494e182fe832ad5bafbdd380d.myemail@gmail.com /r {85F4CBCB-9BBC-4B50-A7D8-E1106771498D} e:

Restore

PickMeAppPro.bat /a <PMA Id>.<Email> /m  [/c([b])] <Product ID> [/suite <external suite path> ] [/log <path to the log file>]

  • /c - specifies customization flag for grab
    • b - indicate to turn-on creating system restore
  • <Product ID>: Indicate a moving product
  • <Relocated drive>: Location
  • /suite -  Indicate external suite ini file
  • /log - Indicate log file output

Example: Restore "Orca"

PickMeAppPro.bat -a fdb5444494e182fe832ad5bafbdd380d.myemail@gmail.com  /m {85F4CBCB-9BBC-4B50-A7D8-E1106771498D}

Pack

PickMeAppPro.bat /a <PMA Id>.<email> /p <Destination> [/n <outputName>] <Package 1> [ <Package 2> <Package 3> ... ]

  • <Destination>: output folder and the Packing log will be stored in here.
  • <outputName>: output file name (if not input output name, The name of first package will be used)
  • <Package 1>:   tap/pad file 1
  • <Package 2>:   tap/pad file 2

Example: Packing 7-Zip tap and KeepPass pad file
PickMeAppPro.bat -a fdb5444494e182fe832ad5bafbdd380d.myemail@gmail.com  /p c:\test /n testApp c:\test\7-Zip.tap c:\test\KeePass_pad.xml

Start the exe of a product

PickMeAppPro.bat /a <PMA Id>.<email> /s <Product ID> [/exename <StarterExe>]  [/log <path to the log file>]

  • <Product ID>: Indicate a product
  • <StarterExe>: indicate exe file name need to be started. (Accept Friendly Name)

Example: start Orca
PickMeAppPro.bat -a fdb5444494e182fe832ad5bafbdd380d.myemail@gmail.com   /s {85F4CBCB-9BBC-4B50-A7D8-E1106771498D} /exename orca

Terminate the exe of a product

PickMeAppPro.bat /a <PMA Id>.<email> /t <Product ID> [/exename <ExeFile>]  [/log <path to the log file>]

  • <Product ID>: Indicate a product
  • <ExeFile>: indicate exe file name that needs to be terminated  (Accept Friendly Name)

Example: Terminate Orca
PickMeAppPro.bat -a fdb5444494e182fe832ad5bafbdd380d.myemail@gmail.com  m /t {85F4CBCB-9BBC-4B50-A7D8-E1106771498D} /exename orca

mca.yogeshshar… Gio, 2022-05-26 04:34

7.2 Unattended/Silent Installation of Repackaged Packages and Captured Applications

7.2 Unattended/Silent Installation of Repackaged Packages and Captured Applications

This applies to installation packages created with PickMeApp Pro’s Pack feature, captured applications using PickMeApp Light, and applications captured by either PickMeApp Light or PickMeApp Pro that have their settings enabled with self-extracted executable packages.
 
These applications can be run in interactive mode, as well as in unattended/silent mode using the /S switch.

For example, running "KeePass 2.39.1.exe /S" in a command line to install captured KeePass silently.

The following InstallSilent.bat script, which is found under the Tools directory on the PickMeApp Light program folder, can automate installation of captured software programs.

:: To call installing in silent mode, we can call like
:: InstallSilent.bat "7-Zip 9.38.exe"

@ECHO OFF
start "" /WAIT %1 /SD

Echo.

:: To call installing in silent mode, we can call like
:: InstallSilent.bat "7-Zip 9.38.exe"

@ECHO OFF
start "" /WAIT %1 /SD

Echo.

:: To call installing in silent mode, we can call like
:: InstallSilent.bat "7-Zip 9.38.exe"

@ECHO OFF
start "" /WAIT %1 /SD

Echo.

IF %ERRORLEVEL% == 0 ( Echo The application was installed successfully.
) Else If %ERRORLEVEL% == 1 ( Echo Installation ended with error.
) Else If %ERRORLEVEL% == 2 ( Echo Installation failed.
) Else If %ERRORLEVEL% == 3 ( Echo Permission Denied.
) Else If %ERRORLEVEL% == 4 ( Echo License is Invalid.
) Else If %ERRORLEVEL% == 5 ( Echo Installation canceled. The program is already installed on the computer.
) Else Echo Failed without reason

Echo.

mca.yogeshshar… Gio, 2022-05-26 05:37