Solved

installshield - UNINSTALL

Posted on 2003-12-11
8
913 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

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

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 …
A short article about problems I had with the new location API and permissions in Marshmallow
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

747 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

10 Experts available now in Live!

Get 1:1 Help Now