I have created a setup that does couple of things:
a. Copy files/folders
b. Reads registry values and set their value in the environment variable and also stops install if the value is not existing
c. Install a Service in automatic mode (so I don't have a control operation to start it)
d. Force a reboot
e. Check for pre-requisites (.NET 2.0) and install if required
f. Call a VBscript to create a quick launch shortcut
g. Call a C# executable to read the environment variable value created by the setup and then customize a .ini file and run FireFox setup if required.
All this works fine.
The problem is when I go to Add/Remove programs and try to un-install... it goes all the way to 90% with 0 sec remaining and gives an error saying some component failed. But it does not tell me what failed or why.
How can I log the un-install to find out what is erroring out?
Here is what I do as part of the un-install:
a. Call a C# executable which deletes a registry value
b. Stop and delete the installed service
Thanks.
FOLLOW US
Get the latest news in Application Packaging