INNO and Uninstall option

Posted on 2007-04-04
Medium Priority
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.

Question by:akohan

Author Comment

ID: 18855490

This is what I have done:

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

and works fine. Is there a better approach?

LVL 56

Accepted Solution

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


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

Assisted Solution

mirtheil earned 500 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:
Name: "{group}\UnInstall MyApp"; Filename: "{uninstallexe} "

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Article by: Shaun
Tiling windows is a great way to see multiple applications at once. Windows Tiler is a tool that automatically tiles open application windows as the open and close.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

586 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