Solved

INNO and Uninstall option

Posted on 2007-04-04
3
326 Views
Last Modified: 2010-04-04

Hello group,

I'm using INNO to install or uninstall an application I have written.
However, I don't know how to add uninstall options to my Program Group in START as well.

Currently user must go to the program folder to and then uninstall folder to run uninstall command.

I will appreciate it if you could let me know how I can add this option to Program group.

regards,
ak
0
Comment
Question by:akohan
3 Comments
 

Author Comment

by:akohan
ID: 18855490


This is what I have done:

[Icons]
Name: "{group}\UnInstall MyApp"; Filename: "{app}\uninstall\unins000.exe"

and works fine. Is there a better approach?

regards,
ak
0
 
LVL 51

Accepted Solution

by:
Ryan Chong earned 125 total points
ID: 18855967
try use {commonprograms}

like:

Name: "{commonprograms}\UnInstall MyApp"; Filename: "{app}\uninstall\unins000.exe"
0
 
LVL 18

Assisted Solution

by:mirtheil
mirtheil earned 125 total points
ID: 18856910
You can also use the {uninstallexe}  contstant instead of the "{app}\uninstall\unins000.exe" for the filename.  This protects you if you have multiple uninsXXX.exe files in the same directory. So you would use something like:
[Icons]
Name: "{group}\UnInstall MyApp"; Filename: "{uninstallexe} "
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

856 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