Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

installshield - UNINSTALL

Posted on 2003-12-11
8
923 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 …
If you don't know how to downgrade, my instructions below should be helpful.

840 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