Package extraction include write to packages.config should succeed as an unit or any partial outputs should be deleted in case of exception.
Toughts:
Use kind of a transaction log.
Installation
- Save package id and version.
- After each file extraction, save a path to log.
- Write entry to packages.config and delete transaction log.
Unstallation
- Save package id and temp directory patb.
- Copy each file to temp directory.
- Remove entry from packages.config.
- Delete temp directory.
Check transaction log on PackageManager start.
Package extraction include write to packages.config should succeed as an unit or any partial outputs should be deleted in case of exception.
Toughts:
Use kind of a transaction log.
Installation
Unstallation
Check transaction log on PackageManager start.