-license - Designates which registration action to perform.Additionally, on Macintosh there is no installer, which means that these command-line options are the best way for an administrator to register the application on multiple computers. They are made available primarily to assist administrators who need to register or deregister Sketchpad but are in a situation where it makes less sense to do so through the installer. The following options are available in the Sketchpad application directly and do not require the use of an installer. Sketchpad registration and deregistration command-line options Uninstall.exe /S /F /name=NAME /code=CODE _?=C:\Program Files\Sketchpad InstallSketchpad.exe /S /F /dir=C:\Program Files\Sketchpad /name=NAME /code=CODE Note that this option MUST be the last option passed on the command-line and the path must NOT be contained in quotes. By passing the "_?=" option, this self-copying procedure does not occur and the uninstaller will return a value based on whether or not the uninstall (and deregistration, if desired) succeeded, and not based on whether the copy procedure succeeded. This is necessary to capture a return value as the uninstaller would otherwise simply make a copy of itself, execute that copy, then exit with a successful return value. In this scenario, the administrator must copy the uninstaller outside of the install folder and execute it with the path to the original installation passed on the command-line. This is only necessary when an error code return value is required of the uninstaller to determine if the uninstall succeeded. _?= - (Uninstaller only) Designates the location to uninstall.If this is left out, the default install directory is \Program Files\Sketchpad. /dir= - (Installer only) Designates the directory in which Sketchpad should be installed.When passing this option to the uninstaller, the license server will mark your computer as deregistered even if that computer is not currently registered. When passing this option to the installer, the registration will write over any previous registration on the computer. /code= - Designates the authorization code to register or deregister./name= - Designates the license name to register or deregister.The following options work for both the installer and uninstaller and assume that you will be registering at install time and deregistering at uninstall time. The Windows installer and uninstaller include several options to help administrators. Installer and uninstaller command-line options The current registration will remain in effect after the new version is installed. Simply run the Windows installer and install over the previous version, or copy the Macintosh application over the previous version. Updating and installing are the same action. To silently uninstall and deregister a Macintosh application, run the deregistration command above and then delete the application. Note that there is no Macintosh uninstaller. GSP5.app/Contents/MacOS/GSP5_Rel_KCPT_31_105 -license deregister -name "NAME" -code CODE GSP5.exe -license deregister -name "NAME" -code CODE The application may be deregistered without uninstalling by passing it the license name and authorization code on the command-line, along with a deregistration request. Additionally, the application may be deregistered during the command-line installation by passing that information as well. The Windows uninstaller (Uninstall.exe, stored next to the application after a successful install) may be run silently by passing it a "/S" command-line option. To silently install and register a Macintosh application, copy it to the desired location and run the registration command above.įor more details on using these and other command-line options, see the relevant sections below. Note that there is no Macintosh installer. GSP5.app/Contents/MacOS/GSP5_Rel_KCPT_31_105 -license register -name "NAME" -code CODE GSP5.exe -license register -name "NAME" -code CODE The application may be registered after it has been installed by passing it the license name and authorization code on the command-line, along with a registration request. InstallSketchpad.exe /S /name=NAME /code=CODE Additionally, the application may be registered during the command-line installation by passing the registration information as well. The Windows installer (InstallSketchpad.exe) may be run silently by passing it a "/S" command-line option. FAQ: Silent and command-line installs How do I install Sketchpad silently and are there command-line options for installing and registering?
0 Comments
Leave a Reply. |