Hi, It's been said that the key below should include the full path to where the main app file is located. But how can I be sure the directory the final user will choose for installing the application? get setRegistry ("HKEY_CLASSES_ROOT\EbookFacil\Shell\Open\command\", ""C: \Program Files\EbookFacil\EbookFacil.exe%1") Thanks in advance Eduardo Volpi __________________________________________________________________________ Compras de Natal com facilidade e segurança? ShoppingBOL http://shopping.bol.com.br Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.