<commit_before># Overview

This library is a helper for the migration from ClickOnce to [Squirrel.Windows](https://github.com/Squirrel/Squirrel.Windows)

# The Plan

The migration should be super-simple, requiring only one method call in the ClickOnce version of the application and one method call in the Squirrel version of the application.

The codez should look something like this:
```cs
var updateManager = new UpdateManager("http://update.myapp.com", "MyApp", FrameworkVersion.Net45);
var migrator = new ClickOnceToSquirrelMigrator(updateManager, "ClickOnceAppName");

// Ship a new ClickOnce update and call this method
// It will install the Squirrel version of your application silently in the background
// and remove the ClickOnce shortcut
migrator.FirstStep();

// In the Squirrel version call this method
// It will uninstall the ClickOnce version of the application
migrator.SecondStep();
```<commit_msg>Explain where we get the ClickOnce uninstall code<commit_after># Overview

This library is a helper for the migration from ClickOnce to [Squirrel.Windows](https://github.com/Squirrel/Squirrel.Windows)

The ClickOnce uninstall code is taken from [Wunder.ClickOnceUninstaller](https://github.com/6wunderkinder/Wunder.ClickOnceUninstaller)

# The Plan

The migration should be super-simple, requiring only one method call in the ClickOnce version of the application and one method call in the Squirrel version of the application.

The codez should look something like this:
```cs
var updateManager = new UpdateManager("http://update.myapp.com", "MyApp", FrameworkVersion.Net45);
var migrator = new ClickOnceToSquirrelMigrator(updateManager, "ClickOnceAppName");

// Ship a new ClickOnce update and call this method
// It will install the Squirrel version of your application silently in the background
// and remove the ClickOnce shortcut
migrator.FirstStep();

// In the Squirrel version call this method
// It will uninstall the ClickOnce version of the application
migrator.SecondStep();
```
{'fraction_non_alphanumeric': 0.0736318407960199, 'fraction_numerical': 0.0024875621890547263, 'mean_word_length': 5.284375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1477022', 'n_tokens_mistral': 535, 'n_tokens_neox': 526, 'n_words': 231}