Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

Uninstallation in Installscript 11

I am using installshield 11 to create an installation for my software. I have noticed that when i try to uninstall this program , all the files copied during the installtion are not deleted. Even the shortcut i created does not get deleted.
  I am using a Basic MSI project and i have written an Installscript for the modification of the files. Is there a function that i can add in this installscript that runs only when i invoke an uninstallation that deletes all the files? If yes, then what is it that i have to do?
0
manajitrath
Asked:
manajitrath
  • 2
1 Solution
 
Vadim RappCommented:
Without knowing the details, installer will work best if you limit to the minimum any custom actions and any special efforts to modify the default behavior, including of course Installscript. Most likely that modification of the files is exactly the reason.
0
 
manajitrathAuthor Commented:
ok agreed...but in case there is a requirement to modify files , then can i include some function or custom action that deletes the installed files on uninstallation?
0
 
Vadim RappCommented:
see articles "File Versioning Rules" and "RemoveFile Table" in Installer SDK.

0
 
Rali2Commented:
In your Custom Action add the condition:
REMOVE="ALL"
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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