hi,
im using visual studio packaging and deployment tool to package my CO
AddIn. i would like to know how to get the Uninstall option come in m
Program files option. Although i can uninstall it from Add/Remov
options from Control Panel i want to have the option in Program File a
well. if anyone can help me with this or tell me where i can get th
help it would be great.
thanks
Report this post to a moderator | IP: Logged
04-19-2004 08:45 AM
Ken Slovak - [MVP - Outlook]
Guest
Registered: Not Yet
Location:
Posts: N/A
Re: packaging issue
Is this the deployment tool that produces Windows Installer packages o
the
old Package and Deployment tool? If it's the tool that produce
Windows
Installer packages you can create a shortcut entry in an entry in th
Start,
Programs tree to msiexec.exe (the program that actually install
Windows
Installer programs) and use the /x switch with it. That switc
uninstalls
the referenced package.
See MS KB article 227091 for a list of msiexec.exe command lin
switches.
--
Ken Slovak
well i assume im using the old Package and Deployment Tool which come
with Visual Studio 6.0. i have made some changes to the Setup.lst fil
in the hope that it works.
this is the code that i have put in the Setup.lst file:
[IconGroups]
Group0=MyIcon
PrivateGroup0=True
Parent0=$(Programs)
[MyIcon]
Icon1="st6unst.exe"
Title1=Uninstall MyIcon
StartIn1=$(AppPath)
Now when i install my application the uninstall option does come in th
program files menu. but when i click on it, it says
"Shortcut referred is either deleted or moved. "
then when i point to the ST6UNST.exe it says
"The application removal program may only be run from either th
Program Manager icon(Windows NT) or from the control panel Add/Remov
Programs applet(Windows 95)"
it wud be really helpful if i get to know the exact way in which m
objective could be achieved
thanks for ur help in this regar