InstallShield 6.2 Creating Uninstall Shortcuts

xiaoxiao2021-03-06  112

It is said that there is a built-in installation software uninstaller in some versions of InstallShield, but this uninstaller is not found in the InstallShield 6.2 version.

Of course, you can use the Add / Remove Programs in the Control Panel in Windows to complete the function of the uninstalling software. However, if you add a shortcut to the software installer, it will undoubtedly greatly facilitate the user's use.

So, if you add a uninstall shortcut to your own installer? In fact, installshield's installer is installed on the X: / Program Files / InstallShield Installation Information / {GUID} (GUID: InstallShield automatically generates a GUID for each installation project), and installed SETUP.EXE of the program As long as the -uninst parameter is tape, it becomes a reverse installer (do not know how to add / delete programs in Windows is uninstalled by this way).

I know these these, basically, you can add an unloading shortcut to your installer. One of the key issues involved is how to know the installation path of the backup file. In InstallShield, there is actually provided such a system variable, that is: Disk1Target. The following figure is a setup dialog for uninstalling shortcuts for a mount:

In the figure, several places that need to be set are: 1. Target, set the completion path of the setup.exe file under the backup path. 2, parameters, setup.exe parameters, because it is uninstalled shortcut, so it is the -uninst parameter. 3, start, setup.exe file location. After setting it, you can use this shortcut to complete the reverse installation function.

PS: If you do not add parameters -uninst, enter the installation interface, you can choose to uninstall or repair.

转载请注明原文地址:https://www.9cbs.com/read-103599.html

New Post(0)