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

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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.
Answered 11/02/2011 by: VBScab
Red Belt

Please log in to comment
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.
Answered 11/02/2011 by: jmaclaurin
Third Degree Blue Belt

Please log in to comment
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?
Answered 11/02/2011 by: shamu99
Fifth Degree Brown Belt

Please log in to comment
Just use the other install's GUID or whatever is in HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall for it. That is why I mentioned both the Property and the reg key.
Answered 11/04/2011 by: jmaclaurin
Third Degree Blue Belt

Please log in to comment