Jump to content


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.
Photo

Custom Actions


2 replies to this topic

dkpham

dkpham
  • Members
  • 4 posts

Posted 25 October 2002 - 22:56

Hi,
Is it posible to call msiexec.exe in a custom action?  If not (which is what I suspect), how can I call an .exe that will launch msiexec.exe when setup exit?  What I want to do is at the end of my uninstallation, I want to call another uninstall.

Thanks,
David

yoavshabtai

yoavshabtai
  • Members
  • 19 posts

Posted 27 October 2002 - 16:10

Hi
It is posible to launch msiexec from a CA but only from the
UI sequence.

Here is
Code Sample

if (LaunchAppAndWait("MSIEXEC", sCommandLine, WAIT) < 0) then
MessageBox ("Unable to uninstall "+ szValueName +"\n.Please uninstall manually.",INFORMATION);
        endif;


Hope this will help
--Yoav

dkpham

dkpham
  • Members
  • 4 posts

Posted 28 October 2002 - 17:50

Thanks for responding so quickly.  I understand the code logic but I am not familiar with the function "LaunchAppAndWait".  What language is it?

David