![]() -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. ![]()
0 Comments
Leave a Reply. |