Junior6773
Posts: 7
Joined: Thu Mar 06, 2008 6:08 pm

Uninstall Sequence

One of my prerequisites leaves behind a system user and data directory that has to be removed manually before reinstalling. I have a vbscript to handle this, and am not sure where to put it in the uninstall sequence. It has to happen after the uninstall is completely finished.
Thanks!
gabriel
Posts: 15
Joined: Mon Mar 17, 2008 3:39 pm
Location: Craiova
Contact: Yahoo Messenger

Hi,

A solution to your problem is to create a New Attached Custom Action, under InstallExecuteSequence -> InstallFinalize.

To show the InstallFinalize standard action, use the Standard Action Toolbar from the Custom Action page

Point the wizard to your .vbs file, click Open, make sure you set the Execution Condition to REMOVE="ALL", and the Function Name to your uninstall function.

There is a similar discussion on the forum, please take a look:
http://www.advancedinstaller.com/forums ... php?t=1681

Regards,
Ovidiu

______________
Ovidiu Blejdea
Advanced Installer Team
http://www.advancedinstaller.team

Return to “Common Problems”