Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uninstalling a program
Message
De
14/08/2003 05:30:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
InstallShield
Divers
Thread ID:
00820042
Message ID:
00820048
Vues:
16
Hi Sander,
I do't know how about IShield.. but to create uninstall you must setup next
registry. I thinking you can configure those registry keys with installshield. I did it in my own installer. In my application it looks like
#DEFINE PROGRAM_NAME                    "my program"
#DEFINE UNINSTALL_PROGRAM		"myuninstall.exe"
#DEFINE WIN_UNINSTALL_REGISTRY	"Software\Microsoft\Windows\CurrentVersion\Uninstall\"
#DEFINE WIN_UNINSTALL_UNINSTALLSTRING	"UninstallString"
#DEFINE WIN_UNINSTALL_DISPLAY		"DisplayName"

		oRegistry.WriteRegistryString(HKEY_LOCAL_MACHINE,;
			WIN_UNINSTALL_REGISTRY+PROGRAM_NAME,;
			WIN_UNINSTALL_UNINSTALLSTRING,;
			ADDBS(This.WindowsSystemDirectory)+UNINSTALL_PROGRAM,;
			.T.)

		oRegistry.WriteRegistryString(HKEY_LOCAL_MACHINE,;
			WIN_UNINSTALL_REGISTRY+PROGRAM_NAME,;
			WIN_UNINSTALL_DISPLAY,;
			PROGRAM_NAME,;
			.T.)
>Hi,
>
>My application is distributed by installshield express (fox limited edition). When I install my application, I want to get an entry in the add/remove programs of the windows configuration panel. How can this item be solved? Does it need the full version of installshield, or do I need to set a property in the setup?
>
>TIA,
>
>Sander Bouwmeester
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform