public void ModifyApplicationItemFromDialog(ApplicationItem item)
{
item.Name = this.ApplicationName;
item.DownloadUrl = this.DownloadUrl;
item.Comment = this.Comment;
item.Options.DownloadLatestVersion = this.DownloadLatestVersion;
item.Options.SilentInstall = this.SilentInstall;
item.Options.InstallerArguments = this.InstallerArguments;
item.Options.CheckedByDefault = this.CheckedByDefault;
item.DetectVersion();
// Setting InstallationRoot is disabled for now until the rules are decided.
// Could allow setting Options, but probably wouldn't want to allow setting
// AppList, and\or Preferences. Might be confusing either way.
// Maybe there should be no GUI for installation root except via preferences.
}