Solved

installshield - UNINSTALL

Posted on 2003-12-11
8
916 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Program to display an alert on Windows Toolbar 2 71
python sqlite question 11 46
advertisement module in core php 4 148
Please explain: Aspect Oriented Programming 2 85
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This article will show, step by step, how to integrate R code into a R Sweave document
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 …
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…

864 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

24 Experts available now in Live!

Get 1:1 Help Now