Pinstall
The utility Pinstall.exe can be used to install or maintain your LION application. This utility is the batch equivalent of the AMT Application Installer.
Usage:
PInstall <Specification> [/SET:<set name>] [/S] [/A] [/DEL] [/COPYDEBUG] [/COPYWEB] [/COPYAMTTOOLS] [/COPYEXTRAFOLDERS]
Parameter | Description |
<Specification> |
The name of the specification (application) that you want to install. In the .ini this name must be defined between square brackets ([ ]). |
/SET:<set name> |
Reads the production directory from the generation set <Set name>. This function is similar to the Generation Set listbox option in Prodinstall.exe. |
/S |
Scans the differences between the date-time stamps of the generation files and the files in your production environment. It also selects automatically the changed files in the generation directory. This function is similar to the option 'Scan directories' in Prodinstall.exe. |
/A |
Synchronizes the files in the production directory with the files in the generation directory. This function is similar to the option "Synchronize All" in Prodinstall.exe. |
/DEL |
Deletes the files from the production directory that are not present in the generation directory. |
/COPYDEBUG |
Copies the debug objects as well. |
/COPYWEB |
Copies the website as well |
/COPYAMTTOOLS |
Copies the AmtTools as well |
/COPYEXTRAFOLDERS |
Copies the extra folders as well |
Examples
To scan a directory use the following command:
MyApplication /SET:MySet /S
To synchronize a directory use:
MyApplication /SET:MySet /A
To also delete file that are ready to be removed use:
MyApplication /SET:MySet /DEL
Note: The user still needs to confirm if there are files ready to delete.
After every step the user can exit (EXIT) or start pinstall again (PINSTALL).
Prodinstall will create a file called “prodinstalling.now” when performing a prodinstall. This is a flagfile and will be used for the appserver to signal that prodinstall is being executed. After the prodinstall is done, the files will be deleted.
Note: prodinstalling.now can be found in the /server folder of both the sourcedirectory and the productiondirectory.
Note: the files app.ini and web.config will never be installed. If needed, copy them by hand.