If you need to figure out the path of the currently executing app, use Environment.CurrentDirectory If your updater program has to find out where the app has been installed, write the path to the registry during installation and read it from there during the update.
Cheers, विक्रम
Be yourself, no matter what they say. - Sting, Englishman in New York.