Solved

c# oneclick publish and uninstall start menu items / old short cuts

Posted on 2009-06-30
2
770 Views
Last Modified: 2013-11-07
I have a C# application that was published on multiple PCs via oneclick.  I am currently in the process of updating it and would like to remove any start menu references to the old application.

old
start - programs - myapp - oldname

new
start - programs - myapp - newname

is there a way to do this via a oneclick setting or should I create some sort of batch file.

please note that the start menu is set to the users profile not to all users...
0
Comment
Question by:RPWyeth
2 Comments
 
LVL 9

Accepted Solution

by:
Rahul Goel earned 500 total points
ID: 24752579
See, click once works on the basis of auto-update facility. It works on manifest file whcih is being deployed when you publish it on the web. and this manifest file is known as default.applicaition.
when you open the application again. it validates the files on remote and client location. But It do not update any kind of icons and shortcuts. you do one thing. you can attach one batch file and you can use that while strating the application and delete that file later on...It will be all automatic and will resolve your problem
0
 

Author Comment

by:RPWyeth
ID: 24756036
Thanks for the reply.  I created a batch file to remove the start menu icons.

del "c:\documents and settings\%username%\start menu\programs\myapp
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now