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

Error in launching Internet Explorer


3 replies to this topic

irinaca

irinaca
  • Members
  • 7 posts

Posted 01 November 2002 - 07:59

I try to present a html file as a Readme at the end of setup. I made a simple CA for this. When Internet Explorer opens, I get a message "Internet Explorer Compatibility Error" - "This is beeing run in compatibility mode and not all features are enabled", with an OK button. Otherwise, the page appears correctly. I have Internet Explorer 6. Any ideas?

Thx,
I.

schworak

schworak
  • Members
  • 7 posts

Posted 01 November 2002 - 19:42

How is it you are launching IE?

Have you tried a custom action?

Try this...

set IE = CreateObject("internetexplorer.application")
IE.visible=true
IE.Navigate "http://www.yoursite.com"
set IE = Nothing


I have use this as an inline script and it works quite well. You can also do an ON ERROR RESUME NEXT at the start if you don't care about errors.

irinaca

irinaca
  • Members
  • 7 posts

Posted 01 November 2002 - 22:42

Thank you for your answer, it seems to work, only...the html is installed with the application. I cannot figure out how to
navigate to [INSTALLDIR] in that script.

I appreciate your help.

Weissenborn

Weissenborn
  • Full Members
  • 27 posts

Posted 03 September 2003 - 17:07

function MyFunc(szUrl)
object IE;
begin

set IE = CreateObject("internetexplorer.application");

if(!IsObject (IE)) then
MessageBox("Could not find Microsoft Internet Explorer on this PC!", SEVERE);
else
IE.visible = TRUE;
IE.Navigate(szUrl);
set IE = NOTHING;
endif;

end;