Solved

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

Posted on 2009-06-30
2
774 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
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 use and create new code templates in NetBeans IDE 8.0 for Windows.

737 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