HI all,
Is there any way of doing an uninstall first if exists and then install the new one in one setup.exe using IS dev 7.x ?
right now I am doing something like this....
if(!MAINTENANCE) then
//First time install.
// setup default status
Enable(STATUSEX);
return 0;
else
//Reinstall--- uninstall first and install.
// Enable(STATUSEX);
//REMOVE = "ALL";
FeatureRemoveAll();
SetStatusWindow(100, "");
Enable(STATUSEX);
StatusUpdate(ON, 0);
nResult=FeatureMoveData (MEDIA, nvDisk, 0);
//FeatureError function.
HandleFeatureError (nResult);
endif;
but only one thing happens here either one condition is satisfied here, If first time then it install else it uninstall but does not do the reinstall.
Any ideas will be appreciated and thank you
Ranjit
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Uninstall and reinstall
Started by
ranjit
, Jul 24 2003 17:19
1 reply to this topic