i'm trying to use either abort or exit..
however it seems it doesn't work propertly
for example, let say if program finds out if there's a registry key
it uninstalls previous program...and exit or abort.
ex)
RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
if(RegDBKeyExist("SOFTWARE\\KRCON2004") >= 0) then
//if exist, delete
LaunchAppAndWait("C:\\windows\\system32\\Msiexec.exe ", "/X{4B3903E3-3D4E-4FAA-94F9-D94D41225E92} /quiet", WAIT);
SdShowMsg("Completed removing KRCON2004...", TRUE);
exit; --------------------------> this should work!!!!!!!!!!!!!!!!!!!!!!!!!!!!!but why!!!!
else
//pass
endif;
but it didn't exit itself...it still remains under the bar??(windows)
so i have to forcely exit my application.
please help me what i need to change...
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.
about ABORT or EXIT!! plz help me
Started by
sean394
, Aug 20 2005 16:36
1 reply to this topic
Posted 22 August 2005 - 10:24
Have you tried closing the SdShowMsg window first (using FALSE)? Or simply don't display it at all, since you are closing your setup immedately afterwards anyway.
If you want the user to see the message, use MessageBox instead.
If you want the user to see the message, use MessageBox instead.
Stefan Krüger
InstallSite.org twitter facebook