ee2b832 Make check_inst() a standalone function in bindinstance.

Authored and Committed by rcritten 15 years ago
    Make check_inst() a standalone function in bindinstance.
    
    When an install instance is created that contains a pointer to a sysrestore
    point it loads in the current configuration when instantiated. If an
    instance is instantiated but not used then changes may occur to the
    system state that it is unaware of. So one needs to take care in the order
    that things are done to avoid losing information.
    
    When bind was setup it was overwriting all data in sysrestore.state and
    leaving just a [named] section. This caused problems at uninstall.
    
    448173