Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / January 2005

Tip: Looking for answers? Try searching our database.

How to Add  Uninstallation icon inProgram Group for vb.net application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Amit - 24 Jan 2005 08:52 GMT
Hi All,

I am new in .net and trying to create setup with uninstallation icon in
program group.
I have created one shortcut in my program group under application menu,by
using msiexec /U <Product Code>.

Its working fine,but at the time of installing setup,it will prompt one
message that...
"cannot overwrite msiexec.exe due to some reason....".

I have included msiexec.exe in Application Folder under File System of setup
Project.

Another thing i want to do to check and prompt user to Repair previous
installed version or Remove current one and install new version.

Please guide me regarding this,Any help will be appreciable.

Thanks in Advance
Phil Wilson - 25 Jan 2005 04:20 GMT
You must not resistribute msiexec.exe ! It's part of the operating system,
and the fact that it didn't overwrite it might have saved you from a
disaster. That's what Windows File Protection is for.

A MS support guy called Felix Wang posted this a while back. See if it
helps:

> 1. Create a shortcut to the msiexec.exe on your local machine. Change
> the target to the following:
[quoted text clipped - 10 lines]
>
> 4. In VS.Net Setup project, change the .TXT file extension back to .LNK.

Signature

Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> Hi All,
>
[quoted text clipped - 17 lines]
>
> Thanks in Advance
Amit - 25 Jan 2005 07:35 GMT
Hi,

Thanks for your suggestion.
I hope this will work for me.

Another things is that,to detect previous version of installed setup in of
Visual Studio VB.Net Setup and show cutom dialog for user intraction.User
will have two options for that one is Repair previous one or Remove and
Upgrade old one with new one.

Should i need to add custom action for this.Right now i have checked
checkpreviousversion property to true,it just remove the previous
version,but didn't installed new version after removing previous one.I need
to run new setup again for that.

Thanking You,
Amit

> You must not resistribute msiexec.exe ! It's part of the operating system,
> and the fact that it didn't overwrite it might have saved you from a
[quoted text clipped - 39 lines]
> >
> > Thanks in Advance

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.