Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 941
  • Last Modified:

installshield - UNINSTALL

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
jini555
Asked:
jini555
  • 4
1 Solution
 
AlexFMCommented:
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
 
jini555Author Commented:
Ok I'll look....


0
 
jini555Author Commented:
Nope. I could not find anything about this problem on that site.


<hair action="tearing out" />
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
jini555Author Commented:
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
 
jini555Author Commented:
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
 
PashaModCommented:
Closed, 130 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now