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

Open readme.html file triggered by checkbox.


4 replies to this topic

thanatos83

thanatos83
  • Full Members
  • 40 posts

Posted 08 November 2010 - 21:37

Hi.

It is posible to run a html file like readme when you use a "SetupCompleteSuccess" dialog in installshield?

I know to launch a txt file using notepad but if some users uses a diferent browsers like firefox than internet explorer, how can i put in basic msi project to launch the html file using a defult browser by triggered in checkbox of "SetupCompleteSuccess"?

thanks.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 November 2010 - 13:33

Download the free program called shelexec.exe (note only one L) which calls the ShellExecute() Windows API. Specify your html ile on the command line and shelexec.exe will launch the default browser. Also works for other file types that have are associated with an application.

thanatos83

thanatos83
  • Full Members
  • 40 posts

Posted 11 November 2010 - 10:56

thanks Stefan, I'll try it when i have a little time. So first i should make a CA for New EXE and Path in property value? and command line like this:
shelexec.exe [INSTALLDIR]readme.html

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 November 2010 - 11:07

I would use "exe stored in binatry table". Specify the shelexec.exe as binary. Command line then would be [INSTALLDIR]readme.html

thanatos83

thanatos83
  • Full Members
  • 40 posts

Posted 12 November 2010 - 13:41

thanks for all Stefan, this tool is very useful.

Edited by thanatos83, 12 November 2010 - 13:42.