Solved

INNO and Uninstall option

Posted on 2007-04-04
3
320 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
Comment Utility


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 49

Accepted Solution

by:
Ryan Chong earned 125 total points
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now