NewsArchive
09-29-2006, 02:04 AM
I have a custom un-install script. This stops a service, and
terminates some applications before uninstalling. This was working
well.
I then moved the stopservice functionality into an include script
(inside the uninstall script). Now I have two problems:
1. When running the setup program it first says "The wizard has
successfully uninstalled [program]" before it even starts.
2. When I run the uninstall, it runs my include script (to stop the
service), but then stops before actually processing the uninstall
queue.
The attached example illustrates the problem.
If you comment out the line
#include script "test.sbi"
then the project compiles and both install/uninstall work correctly.
But as soon as you uncomment, then both install/uninstall work
incorrectly.
Regards,
Alan Telford
Development Manager
Maxtel Software Ltd
http://www.maxtelsoftware.com
terminates some applications before uninstalling. This was working
well.
I then moved the stopservice functionality into an include script
(inside the uninstall script). Now I have two problems:
1. When running the setup program it first says "The wizard has
successfully uninstalled [program]" before it even starts.
2. When I run the uninstall, it runs my include script (to stop the
service), but then stops before actually processing the uninstall
queue.
The attached example illustrates the problem.
If you comment out the line
#include script "test.sbi"
then the project compiles and both install/uninstall work correctly.
But as soon as you uncomment, then both install/uninstall work
incorrectly.
Regards,
Alan Telford
Development Manager
Maxtel Software Ltd
http://www.maxtelsoftware.com