Uninstall - where should Run Program line go?
Posted: Mon Jul 02, 2007 9:55 pm
When the user uninstalls the application, we need to run this line:
foxhhelp7.exe /UnRegServer
Should this line come before or after the Apply Uninstall line. In the code below I have it after the Apply Uninstall line. But I'm thinking that maybe the program no longer exists there, so perhaps it should come above Apply Uninstall
Can you please confirm which position is better?
foxhhelp7.exe /UnRegServer
Should this line come before or after the Apply Uninstall line. In the code below I have it after the Apply Uninstall line. But I'm thinking that maybe the program no longer exists there, so perhaps it should come above Apply Uninstall
Can you please confirm which position is better?
Code: Select all
if Variable REMOVE Equals TRUE
Comment: Uninstall product
Comment: TO-DO: Insert any additional uninstall commands here
Apply Uninstall (get result into variable SUCCESS)
Set Variable PROGRESS to 100
if Variable SUCCESS not Equals Cancel
Unregister Library $TARGETDIR$\\ctText.ocx
Set Variable INSTALLDIR to $TARGETDIR$
Convert to Short Path: INSTALLDIR
Run Program $INSTALLDIR$\\foxhhelp7.exe /UnRegServer
Comment: End of Installation
end
else