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 Action with ShellExecute


1 reply to this topic

KRB

KRB
  • Members
  • 2 posts

Posted 07 April 2005 - 12:02

Hello,
In my setup I have a custom action which calls a function from DLL written in C++. In installation this function launches readme file before appearing InstallWelcome dialog. In a body of function there is only a call of ShellExecute and nothing more.
When install my product on Windows NT 4 SP6 with Windows Installer 2.0 after working this function ( as I see in Task Manager this function runs in separate process "msiexec", not in main process msiexec of this installation session ) Doctor Watson is started with access violation for this separate process. It's all OK with installation on NT4 with WinInstaller 1.x and other systems.
May be it is a known problem or no ?

Thanks and sorry for my english.

KRB

KRB
  • Members
  • 2 posts

Posted 07 April 2005 - 14:40

The problem was fixed by insert "Sleep(10000)" after ShellExecute