Solved

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

Posted on 2009-06-30
2
772 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 ITIL 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

775 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