Nick LaMarca
Nick LaMarca

Reputation: 8188

Control What Advanced Installer Puts In Program Files

I create an Advanced Installer Template that has a Custom Exe attached to the process.

Advanced installer creates an msi with the custom exe embedded into it.

When I run the msi and look in Add/Remove Programs there are 2 entries the installer itself and the custom exe.

I want only the installer itself listed there not the custom exe.

How can I accomplish this?

enter image description here

I map a key to delete and it only gives an option to delete values in the key? I want to delete the entire key

enter image description here

Upvotes: 0

Views: 407

Answers (1)

herman.smn
herman.smn

Reputation: 1347

You can try to remove the Control Panel registry key for your custom exe product. Just search in regedit for a path like this: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Product

Then in "Registry" page of your setup project (in Advanced Installer tool), create the path of the above reg key, right click on it -> Properties -> Operations -> check Remove this key ... option with Remove on - component install.

This way when your current setup package installs it will delete the registries associated with your custom EXE product.

Upvotes: 1

Related Questions