summaryrefslogtreecommitdiffstats
path: root/chrome/installer/setup
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-23 22:57:03 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-23 22:57:03 +0000
commit0912cc206d5acccd40d28d6e6100a69b1aad2810 (patch)
tree69e9483567c796474294730be8f84c495dd4f461 /chrome/installer/setup
parent32a61d0268edcef77e2d4300c9287414ecc52fe6 (diff)
downloadchromium_src-0912cc206d5acccd40d28d6e6100a69b1aad2810.zip
chromium_src-0912cc206d5acccd40d28d6e6100a69b1aad2810.tar.gz
chromium_src-0912cc206d5acccd40d28d6e6100a69b1aad2810.tar.bz2
Do not use installed folder as working directory for uninstall link.
BUG=10866 Review URL: http://codereview.chromium.org/93074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/setup')
-rw-r--r--chrome/installer/setup/setup.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/installer/setup/setup.cc b/chrome/installer/setup/setup.cc
index e59b702..ba40b6d 100644
--- a/chrome/installer/setup/setup.cc
+++ b/chrome/installer/setup/setup.cc
@@ -152,10 +152,9 @@ bool CreateOrUpdateChromeShortcuts(const std::wstring& exe_path,
}
LOG(INFO) << "Creating/updating uninstall link at " << uninstall_link;
- std::wstring target_folder = file_util::GetDirectoryFromPath(install_path);
ret = ret && file_util::CreateShortcutLink(setup_exe.c_str(),
uninstall_link.c_str(),
- target_folder.c_str(),
+ NULL,
arguments.c_str(),
NULL, setup_exe.c_str(), 0);
}