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

Launching app from setup disk


3 replies to this topic

Jallen

Jallen
  • Members
  • 14 posts

Posted 01 August 2001 - 22:37

I would like to launch an application (which is stored on the CD) during installation. The application is a separate installation program (not using installshield) and I'd like to run it during my installation.

I've tried to use LaunchAppAndWait like so:

LaunchAppAndWait(SRCDISK ^ "MySetup.exe", "", WAIT)

but that doesn't work, the function fails and returns -1.

I've made sure that MySetup.exe is located in the same folder as the setup program (Disk1) so it should be able to locate the EXE fine.

Anyone know how to get this to work?

Jason A.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 02 August 2001 - 08:09

Try SRCDIR instead of SRCDISK

Jallen

Jallen
  • Members
  • 14 posts

Posted 02 August 2001 - 17:24

Awesome! That worked great :)

Thanks,

Jason A.