From 8810aa8908ed7887616d86dd5fb821fcfa92f444 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 3 Jun 2022 17:50:22 -0500 Subject: Update Burn algorithm for picking elevated temp path to use SystemTemp. --- src/libs/dutil/WixToolset.DUtil/inc/pathutil.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/libs/dutil/WixToolset.DUtil/inc/pathutil.h') diff --git a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h index 875cfafb..f36e6ebc 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h @@ -204,6 +204,15 @@ DAPI_(HRESULT) PathGetTempPath( __out_z LPWSTR* psczTempPath ); +/******************************************************************* + PathSystemWindowsSubdirectory - returns the path to the Windows folder + or a subdirectory of that folder that is backslash terminated. +*******************************************************************/ +DAPI_(HRESULT) PathSystemWindowsSubdirectory( + __in_z_opt LPCWSTR wzSubdirectory, + __out_z LPWSTR* psczFullPath + ); + /******************************************************************* PathGetSystemTempPaths - returns the paths to system temp folders that are backslash terminated with higher preference first. -- cgit v1.2.3-55-g6feb