Something like this should do the trick:
 

<

Property Id=' FIREFOX_INSTALL_PATH'>

  <

RegistrySearch Name=' Install Directory' Root=' HKLM' Id= 'FirefoxInstallPath' Type='raw'  Key='SOFTWARE\Mozilla\Mozilla Firefox\2.0b2 (en-US)\Main '/>
</Property>
 
and then have the following as a child of the ProgramFilesFolder element.

<

Directory Name="Mozilla Firefox" Id="FIREFOX_INSTALL_PATH ">

</
Directory>Set it up so that your component is a child of the <Directory element>.  If you create a log, you'll see that each directory actually gets a property, and its location can be manipulated via that
 
Hope that helps

 
On 9/20/06, vbtricks <[EMAIL PROTECTED]> wrote:

Salut,

I'm trying to install a self-written plugin for firefox using wix. What I
have to do is basically read out the folder, firefox is installed to from
the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\2.0b2 (en-US)\Main
field: Install Directory

and then copy the extension to a subfolder of the one gotten from above. Can
this be done using the standard WiX conditions or do I need to write a
plugin?


Thanks in advance,

Stefan
--
View this message in context: http://www.nabble.com/Installing-extension-for-firefox-tf2305983.html#a6409786
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to