I am very impressed with the functionality AI provides.
However, I am stuck on the last piece, something that I must have.
I'm sure it is something I set up incorrectly, but I'm not sure where it look.
Prior to the AI uninstall running I call back into one of my application's jar files.
The java code does three things
1. Removes any windows tasks that my application created
2. Stops a locally running database if it is running (so it can be deleted be AI)
3. Stops an exe process that my application created
As part of step #1 my application code must first get a connection to my database.
For some reason the code cannot find the driver class for the database connection. It resides in a jar that is part of my project.
When it is installed I can start my application, logon and everything is working fine (connecting to the database, etc)
The code used for the connection is the same class file for both the running of the application (that works wonderfully) and the three things above that run at uninstall time.
While # 1 is running the files still exist on my machine, #2 & #3 use various files from the installation and execute correctly.
From the attached uninstall log that I captured, the execution of the custom action occurs before any files are deleted by AI.
Perhaps something is incorrect in a setting for my custom action? I know that it is calling the jar specified via alerts in my code and the fact that #2 & #3 are occurring.
I have attached two files, an uninstall log and my custom action.
Any help is greatly appreciated.
Thanks
Danny
FOLLOW US
Get the latest news in Application Packaging