R wrote:
> 
> my problem is now solved. I can run stand alone XPInstall, i.e. I can run
> the TestXPI.exe & get my DLLs installed in the required folder. But one
> disadvantage that I found in stanalone XPInstall is that The exe, (i.e.
> TestXPI.exe ) as well as the .xpi file have to be located in the
> mozilla/dist/win32_d.obj/bin folder. If there are located elsewhere the
> installation is unsuccessful. This is because the path of the xpi is hard
> coded in the code. Whereas if standalone XPInstall is not used &
> installation is done using the browser, then the xpi can be located
> anywhere, i.e. as long as the html & the xpi are located in the same folder,
> installation is successful.
> 
> Any comments on this? Or any suggestions as to how to make stand alone
> XPInstall directory independent?

TestXPI.exe was intended to be just that, a test tool. Not much effort was
put into it beyond the minimum required to test the feature of interest.

To turn it into a real xpinstall.exe standalone someone will have to do the
polish work of fixing things such as those you mention. I personally don't
see the problem with having the executable in the same directory as the
xpcom and javascript libraries since those are required by the tool, but
supporting full paths for archives and possibly alternate target directories
would be nice.

-Dan Veditz

Reply via email to