string[] arguments = Environment.GetCommandLineArgs();
// gets you the full info of the application statring parameters
C:WINDOWSUninstaller.exe "C:Program FilesApplication name" "username" "C:Documents and SettingsAll UsersStart MenuProgramsapplication name"