Solved

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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

756 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