ClickOnce on demand

Hi
I’m trying develop ma app by ClickOnce but only on user’s demand

And there is a problem :

after using UpdateCheckInfo ucf = deployment.CheckForDetailedUpdate();

 
ApplicationDeployment deployment = ApplicationDeployment.CurrentDeployment;
UpdateCheckInfo ucf = deployment.CheckForDetailedUpdate();
[SIZE=2][COLOR=#0000ff]if[/COLOR][/SIZE][SIZE=2] (ucf.UpdateAvailable)   [/SIZE][SIZE=2][COLOR=#008000]// if (deployment.CheckForUpdate()) <- the same problem[/COLOR][/SIZE]
[SIZE=2]{[/SIZE]

[INDENT]if (MessageBox.Show("New version ?", MessageBoxButtons.YesNo) == DialogResult.Yes)[/INDENT][INDENT]{[/INDENT][INDENT][INDENT]deployment.Update();[/INDENT][/INDENT][INDENT]}[/INDENT][INDENT]else[/INDENT][INDENT]{[/INDENT][INDENT]}[/INDENT]}

[SIZE=2][SIZE=2]If I chose NO to avoid update, before the next program start I have to agree/or no to update. I mark in project property to do nto CHECK FOR UPDATES.[/SIZE]

[SIZE=2]any ideas are welcome[/SIZE]
[SIZE=2]cienio[/SIZE]
[/SIZE]