Windows Restart Manager - Forum

Forum Navigation
You need to log in to create posts and topics.

Windows Restart Manager

Hello All,

 

Does anyone has experience with the Windows Restart Manager in combination with VisualNeo Win applications?

My issue is that when I use InnoSetup to update the application the setup asks the user if the setup should end the application when running. The setup ends the application and restarts after update.

I have this application connected to an Access Database, and the database is not correct closed during the update if the update closes the application.

Reading on Microsoft it says: "prepare your applications and services to work with the Restart Manager"
I understand that the application should prepare for an shutdown.

Did anyone worked this out??

 

Best regards,

 

Eric Beerhorst

 

@ebear:

I have this application connected to an Access Database, and the database is not correct closed during the update if the update closes the application.

When your Application is forcefully closed, do the action commands in the ShutDown section of the pub get serviced ? ... if so, try and place your dbpCloseDatabase command in this event section.