Solved

INNO and Uninstall option

Posted on 2007-04-04
3
324 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 50

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
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…
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…

803 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