Kaydet (Commit) 538d29f5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Undo basis/brand split: move presets/ from basis to brand.

Also let utl::Bootstrap::locateBaseInstallation return
$BRAND_BASE_DIR instead of $OOO_BASE_DIR, so that things match again.
üst b6ba12c7
...@@ -1186,13 +1186,10 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable ...@@ -1186,13 +1186,10 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
::utl::Bootstrap::PathStatus aState; ::utl::Bootstrap::PathStatus aState;
::rtl::OUString sVal ; ::rtl::OUString sVal ;
rtl::OUString basis; rtl::OUString basis(RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR"));
aState = utl::Bootstrap::locateBaseInstallation( sVal ); rtl::Bootstrap::expandMacros(basis);
if( aState==::utl::Bootstrap::PATH_EXISTS ) { if( basis.isEmpty() ) {
basis = ConvertOSLtoUCBURL( sVal ); LOG_ERROR( "SubstitutePathVariables::SetPredefinedPathVariables", "Bootstrap code has no value for OOO_BASE_DIR!");
}
else {
LOG_ERROR( "SubstitutePathVariables::SetPredefinedPathVariables", "Bootstrap code has no value for instpath!");
} }
aState = utl::Bootstrap::locateUserData( sVal ); aState = utl::Bootstrap::locateUserData( sVal );
......
...@@ -172,9 +172,9 @@ End ...@@ -172,9 +172,9 @@ End
Directory gid_Dir_User Directory gid_Dir_User
#if defined MACOSX #if defined MACOSX
ParentID = gid_Brand_Dir_BasisLink; ParentID = gid_Dir_Bundle_Contents;
#else #else
ParentID = gid_Dir_Ooo_Basis; ParentID = gid_Dir_Brand_Root;
#endif #endif
DosName = "presets"; DosName = "presets";
End End
......
...@@ -244,7 +244,7 @@ extern "C" UINT __stdcall RemoveExtensions(MSIHANDLE handle) ...@@ -244,7 +244,7 @@ extern "C" UINT __stdcall RemoveExtensions(MSIHANDLE handle)
return ERROR_SUCCESS; return ERROR_SUCCESS;
} }
// Removing complete directory "Basis\presets\bundled" // Removing complete directory "Basis\prereg\bundled"
std::_tstring sCacheDir = sInstDir + TEXT("share\\prereg\\bundled"); std::_tstring sCacheDir = sInstDir + TEXT("share\\prereg\\bundled");
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
#define BOOTSTRAP_ITEM_VERSIONFILE "Location" #define BOOTSTRAP_ITEM_VERSIONFILE "Location"
#define BOOTSTRAP_ITEM_BUILDID "buildid" #define BOOTSTRAP_ITEM_BUILDID "buildid"
#define BOOTSTRAP_ITEM_BASEINSTALLATION "BaseInstallation" #define BOOTSTRAP_ITEM_BASEINSTALLATION "BRAND_BASE_DIR"
#define BOOTSTRAP_ITEM_USERINSTALLATION "UserInstallation" #define BOOTSTRAP_ITEM_USERINSTALLATION "UserInstallation"
#define BOOTSTRAP_ITEM_SHAREDIR "SharedDataDir" #define BOOTSTRAP_ITEM_SHAREDIR "SharedDataDir"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment