Solved

installshield - UNINSTALL

Posted on 2003-12-11
8
919 Views
Last Modified: 2013-11-14
hello there,

-- using installshield express 4

i have a fairly complex installation project. i was having a problem in that several of the files copied to the system32 folder were not being removed, and my custom action was not being executed. i reproduced my problem on a smaller scale. here it is:

1. I quickly created a project with all defaults
2. In the "Specify Application Data" view, I added the file "myuninstalltest.txt" to the [SystemFolder] folder.
3. I built the setup.exe (SingleImage)
4. I ran the installation (from the Build menu).
5. I checked to see if the myuninstalltest.txt file was in the system32 folder. Yes, it was.
6. I ran the uninstallation (from the Build menu).
7. I checked the system32 folder. The myinstallation.txt file was still there!!!

This should be so simple, shouldn't it?

I actually value this question a lot more than 125 points, but that's all i have and i don't own a credit card. Many many thanks to the person who helps me out with this.
Thank you a lot.
-Jini
0
Comment
Question by:jini555
  • 4
8 Comments
 
LVL 48

Expert Comment

by:AlexFM
ID: 9926159
According to this description, this is InstallShield bug. Try to search here:
http://www.installsite.org
or in InstallShield WEB site, maybe this is known issue. Maybe you can update your product from InstallShield WEB site.
0
 

Author Comment

by:jini555
ID: 9929919
Ok I'll look....


0
 

Author Comment

by:jini555
ID: 9929971
Nope. I could not find anything about this problem on that site.


<hair action="tearing out" />
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

Author Comment

by:jini555
ID: 9931138
Okay. What about the "Custom Action" problem.

When I choose "Build" -->  "Uninstall SingleImage" or "Remove" from "Add/Remove Programs" on the Control Panel, the uninstall takes place but my custom action is not being carried out.

I think this has to do with the fact that it is running with the Basic User Interface rather than the full user interface.

See this link: http://www.installshield.com/news/newsletter/0212-articles/uilevels.asp

Maybe the question should be -- how do I make it so that the "Remove" button triggers the full UI installshield uninstallation?

0
 

Author Comment

by:jini555
ID: 10376105
Sorry, I had forgotten about this question.

I solved this problem myself (well, actually with help from someone on the Installshield Community Message Board), and it was not an installshield bug.

Files in the System32 folder must have the "Shared" property if they are to be removed on uninstall (which seems a little counterintuitive!). To make a file "shared," go to the Files view and then right-click on the file. Choose Properties --> Advanced --> check "Shared".
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 10410431
Closed, 130 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

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.
If you don't know how to downgrade, my instructions below should be helpful.
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 fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

813 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

19 Experts available now in Live!

Get 1:1 Help Now