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 / Languages / C# / July 2007

Tip: Looking for answers? Try searching our database.

including an uninstall capacity

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jerry - 04 Jul 2007 14:06 GMT
Hi Nicholas

Thanks for your advice.

Can you point me to an example of such a utility?

Thanks

Doug

"Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> wrote in
message news:eMcsVTMvHHA.4732@TK2MSFTNGP06.phx.gbl...
> Jerry,
>
>    Since your installer should create an MSI package, you should be able
> to write a small utility which will call MSIEXEC to uninstall your
> program. You will want to execute the following on the command line from
> your utility (you can spawn this off in a new process from your uninstall
> program):
>
> msiexec/x {Package | ProductCode}
>
>    You can use the package or product code to specify your product.
>
>> Hi
>>
>> I have noticed that my apps don't have an uninstall capacity in the users
>> programs shortcuts.  While users can remove the program in the control
>> panel, add remove programs, I would like to have an uninstall as an
>> option in the program menu.
>>
>> I am using VS2005 and using the setup deployment project type.
>>
>> Thanks
>>
>> Doug
Michael Nemtsev - 04 Jul 2007 14:21 GMT
Hello jerry,

As I understand it's just the cmd file which call "msiexec /uninstall product_msi.msi
</qn>"

---
WBR,  Michael  Nemtsev [.NET/C# MVP].  
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

j> for your advice.
j> Can you point me to an example of such a utility?

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.