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.
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)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
Posted by:
AngelD
16 years ago
Posted by:
sanath_sunny
16 years ago
Posted by:
sanath_sunny
16 years ago
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.
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:
AngelD
16 years ago
Posted by:
vijaykodali
16 years ago
Posted by:
zipsantro
16 years ago
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.
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.
so that the conversation will remain readable.