/build/static/layout/Breadcrumb_cap_w.png

problem in deleting regestries

I have created an nested MSI for (Cisco VPN and Zone Alarm).
The problem is when i install the software it is installed, when i am uninstalling it is not removing all the files in the Regestries(HKLM --> System--> Currentcontrolset-->Services--> vsdatant).
So when i am installing the application again it is showing an error as 1406.
So please help me in this issue.

0 Comments   [ + ] Show comments

Answers (8)

Posted by: anonymous_9363 15 years ago
Red Belt
0
As part of the install, does the package start the service 'vsdatant'? If so, does the uninstall stop the service before any uninstall activity takes place? Check the ServiceControl and ServiceInstall tables.
Posted by: AngelD 15 years ago
Red Belt
0
I would recommend not to nest them but install them one by one in preferred order.
Posted by: sanath_sunny 15 years ago
Orange Belt
0
Thanks for ur response.

The thing is we want to mingle those two applications in to one MSI. So for that we have done the Nested MSI.

Other than Nested MSI do u know any other process how to mingle those two applications.

We are new to this packaging world.
Posted by: sanath_sunny 15 years ago
Orange Belt
0
Thanks for ur immediate response.

If we install the application the service is running.
If we uninstall the application the service is stopping and it is not deleting from the Registry.
We have tried with so many scripts also,but there is no use with that scripts.
We can delete other Registries with that scripts execept these Services.
Posted by: joncena 15 years ago
Yellow Belt
0
Can any one suggest me that how to remove unnecessary registries
Posted by: AngelD 15 years ago
Red Belt
0
Do not hijack a thread with non-related question.
Create a new thread!
Posted by: vijaykodali 15 years ago
Senior Yellow Belt
0
Do not hijack a thread with non-related question.
Create a new thread!


try removing those registry entries and create service controls in the services tab.
this might help u.
Posted by: zipsantro 15 years ago
Purple Belt
0
Basically packages having services should have all the requried information to create, start or stop the service.
Its a best way to avoid these kind of issues.
1. The required file should be copied.
2. All the required registry information are available in you MSI.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<Service Name>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_<Service Name>
4. Entries in service control table to control the service.

In actual scenario what happens is we use to create the service from our MSI and we have service control table entries to control it. Cleaning of registry entries is a part of operating system which might fails. Also registries are not a part of your msi, hence it will not take care of deleting it at uninstall. So, capture the regitry and import them to your package.
In some cases service need restart even though you have everything correctly implemented.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ