VPN Application

Hi All,
I am working on a VPN application.It is a MSI, when I try to install it, in the add or remove programs I get 2 programs, VPN and VPN Components(All Users).
When I uninstall the MSI the VPN Components (All users) does not uninstall, I need to manually uninstall it.
the all users is created under C:\Documents and Settings\All Users\Application Data
in the form of uninstall.exe
When I launch this, a component troubleshooting screen opens up, things related to networking and related to the VPN is there.
But I dont find this uninstall.exe in the MSI, but things in the trouble shooting screen is there.

When I uninstall manually the VPN (All Users) , the registry related to it is deleted but the folder remains.

How do I work with this. I dont want 2 programs in the add or remove. Or , if I uninstall I need both to uninstall, cleanly.
Any advice is appreciated

Comments

Answers

0

It sounds from your description that the 'VPN Components (All Users)' comprises merely the uninstall executable. If so, why not simply condition-out its installation? If you can't find the EXE in the MSI, it must be extracted by a Custom Action from the Binary table. Stepping through the install with your package authoring tool will show you which CA is responsible, if it's not named with an obvious name.

If all you want to do is hide it, you can add the Property ARPSYSTEMCOMPONENT=1 or create a DWORD registry entry in the program's HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{GUID} section called "SystemComponent" and set it to 1 in an MST.

Thanks for the reply. I tried Property ARPSYSTEMCOMPONENT=1
I get the VPN (All Users) and the other is hidden. Can I do the other way out , Can I hide the VPN (All Users) and VPN show up?
How can I go about, if I need it this way?