cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

Installing Firefox and IE Addon with installshield

Hi

Can anyone tell the method to install a Firefox and IE addon with installshield premium 2009?

Thanks in Advance
Preeti
Labels (1)
0 Kudos
(4) Replies
Not applicable

Is it at all possible to do so with installshield?


Anyone has any experience in this?
0 Kudos
J_anitha
Level 8

Preeti,

Use LaunchAppAndWait() API for installing the applications.

anitha
0 Kudos
Not applicable

Hello Anitha

I used LaunchAppAndWait and it worked good.

Here is what I did :
=============================================
STRING FIREFOX = "C:\\program files\\ Mozilla\\firefox.exe"

STRING FirefoxAddon = svEnvVar + "\\InfoWare.xpi";

nWait = WAIT;
if (LaunchAppAndWait (FIREFOX, FirefoxAddon, nWait) < 0) then
MessageBox ("Unable to launch Firefox addon.",SEVERE);
endif;
==============================================

However I have to currently give the firefox path hard coded and if in the target system firefox is at some other path this function will fail..

How can I get the installed path of firefox in the target system?
Using findallfiles will not return the full path, I cannot find a function which search a file and gives its full path ? Is there any method to remove this hard coded value ?? other wise the purpose of this installation will fail

Thanks
0 Kudos
girishkatti123
Level 7

Hi,
You can include the exe as part of your installer in the supporting file and you just need to specify the path like
SCRDIR^"exe name". This would resolve problem of hardcoding the path.
0 Kudos