-
July 8th, 2004, 09:53 PM
#1
Create an Uninstall Shortcut in the StartMenu....
I met the problem few days ago. i searched the internet and found a very good solution for it.
i found quiet a number of VB users wonder how to do it also, so i would like to share it here, since i got a lot of help in this forum.
Add the fowllowing commands in the SETUP.LST
under [IconGroups] -- [App Name]
""""""""""""""""""""""""""""""""""""""
Icon5=$(WinPath)\ST6UNST.EXE -n "$(AppPath)ST6UNST.LOG"
Title5=Uninstall MyApp
StartIn5=$(WinPath)
"""""""""""""""""""""""""""""""""""""""
5 is the sequence number in my IconGroupsĀC you can change it base on the sequence of your project icongroups.
MyApp is your project name.
Sami.
-
July 9th, 2004, 01:55 AM
#2
If you use Visual Studio Installer, you just need to create an
Uninstall.bat file.
Add the executed command in the Uninstall.bat file
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
C:\WINNT\system32\MsiExec.exe /I{E49E6717-428A-42BA-BC76-A7D1622238CA}
'"''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
"C:\WINNT\system32\" is system32 file in your local PC. (Depending on which OS used in your PC)
"E49E6717-428A-42BA-BC76-A7D1622238CA" is the product code of ur application. To get the product code:
Launch the your application's *.wip file, under Project Menu, view App Properties, click Product Information tab, you can find the Product code.
Add the Uninstall.bat file in the Application Folder, after that you can create the Uninstall ShortCut under the User's Start Menu Folder.
Sami
-
July 13th, 2004, 07:48 AM
#3
Thanks for sharing
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|