Skip to content
⌘ NSIS Forum Archive

Execute a HTML file

5 posts

b_avery@yahoo.c#

Execute a HTML file

How can I execute an HTML file which is held on my local machine?

Exec "$INSTDIR\screen.htm"

Does not work :-(
Dj Nyx#
you can make a test.cmd with the code:

start %1 
and call this with
Exec '"$INSTDIR\test.cmd" "$INSTDIR\screen.htm"' 
or you call the IE
 Exec '"$PROGRAMFILES\Internet Explorer\IEXPLORE.EXE" "$INSTDIR\screen.htm"' 
i hope this works...