diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-10-02 08:34:45 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-10-02 08:34:45 +0000 |
commit | 0f30e237889b8fb7a0b1680fc61ec000557b4a21 (patch) | |
tree | a8de536053cf7bac7f935129476f1eb640bf5467 | |
parent | 40043e054856d13e4f080c99ac575d47dea77ce9 (diff) |
CWS-TOOLING: integrate CWS native196_DEV300
-rw-r--r-- | setup_native/source/win32/customactions/shellextensions/layerlinks.cxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/setup_native/source/win32/customactions/shellextensions/layerlinks.cxx b/setup_native/source/win32/customactions/shellextensions/layerlinks.cxx index c1635da07..a9a346337 100644 --- a/setup_native/source/win32/customactions/shellextensions/layerlinks.cxx +++ b/setup_native/source/win32/customactions/shellextensions/layerlinks.cxx @@ -110,18 +110,9 @@ extern "C" UINT __stdcall CreateLayerLinks(MSIHANDLE handle) if ( IsSetMsiProperty(handle, TEXT("ADMININSTALL")) ) { - string sOooBaseVersion = GetMsiProperty(handle, TEXT("OOOBASEVERSION")); - string sBasisRootName = GetMsiProperty(handle, TEXT("BASISROOTNAME")); - if ( IsSetMsiProperty(handle, TEXT("SUNDIREXISTS")) ) - { - sBasisInstallPath = TEXT("..\\..\\") + sBasisRootName + TEXT("\\Basis ") + sOooBaseVersion; - } - else - { - sBasisInstallPath = TEXT("..\\") + sBasisRootName + TEXT("\\Basis ") + sOooBaseVersion; - } + sBasisInstallPath = TEXT("Basis"); sUreInstallPath = TEXT("..\\URE"); - } + } stripFinalBackslash(&sBasisInstallPath); stripFinalBackslash(&sUreInstallPath); |