Commits

Anonymous committed 3bd2336

CWS-TOOLING: integrate CWS dv10
2009-03-10 11:09:48 +0100 dv r269257 : #158915# Check msi version before checking patches, better logging
2009-02-27 14:48:58 +0100 dv r268594 : #i99154# Added missing string, removed wrong svn flags
2009-02-26 16:07:25 +0100 dv r268531 : Removed superfluous file
2009-02-26 13:49:01 +0100 dv r268514 : CWS-TOOLING: rebase CWS dv10 to trunk@268395 (milestone: DEV300:m42)
2009-02-26 08:13:32 +0100 dv r268479 : #i86963# Listen to dispose events for xPackages
2009-02-12 15:40:06 +0100 dv r267668 : #i99154# Added missing string
2009-02-03 11:47:11 +0100 dv r267308 : #i73966# Ask for confirmation when removing an extension
2009-01-30 09:27:52 +0100 dv r267175 : #158915# Check for already installed patches to allow launching the setup in maintainance mode

  • Participants
  • Parent commits 9017946

Comments (0)

Files changed (19)

desktop/source/deployment/gui/dp_gui.hrc

 
 #define RID_STR_UNSUPPORTED_PLATFORM            (RID_DEPLOYMENT_GUI_START+101)
 #define RID_WARNINGBOX_UPDATE_SHARED_EXTENSION  (RID_DEPLOYMENT_GUI_START+102)
-#define RID_WARNINGBOX_ADD_SHARED_EXTENSION     (RID_DEPLOYMENT_GUI_START+103)
+#define RID_WARNINGBOX_REMOVE_EXTENSION         (RID_DEPLOYMENT_GUI_START+103)
 #define RID_WARNINGBOX_REMOVE_SHARED_EXTENSION  (RID_DEPLOYMENT_GUI_START+104)
 #define RID_WARNINGBOX_ENABLE_SHARED_EXTENSION  (RID_DEPLOYMENT_GUI_START+105)
 #define RID_WARNINGBOX_DISABLE_SHARED_EXTENSION (RID_DEPLOYMENT_GUI_START+106)

desktop/source/deployment/gui/dp_gui_dialog.src

     "Click \'Cancel\' to stop the installation.";
 };
 
-WARNINGBOX RID_WARNINGBOX_ADD_SHARED_EXTENSION
-{
+WarningBox RID_WARNINGBOX_REMOVE_EXTENSION {
     Buttons = WB_OK_CANCEL;
     DefButton = WB_DEF_CANCEL;
-    Message[en-US] = "Make sure that no further users are working with the same "
-    "%PRODUCTNAME, when changing shared extensions in a multi user environment.\n"
-    "Click \'OK\' to install the extension.\n"
-    "Click \'Cancel\' to stop the installation.";
+    Message[en-US] = "You are about to remove the extension \'%NAME\'.\n"
+    "Click \'OK\' to remove the extension.\n"
+    "Click \'Cancel\' to stop removing the extension.";
 };
- 
+
 WARNINGBOX RID_WARNINGBOX_REMOVE_SHARED_EXTENSION
 {
     Buttons = WB_OK_CANCEL;

desktop/source/deployment/gui/dp_gui_dialog2.cxx

 
 #include "comphelper/anytostring.hxx"
 #include "cppuhelper/exc_hlp.hxx"
+#include "cppuhelper/implbase1.hxx"
 
 #include "comphelper/processfactory.hxx"
 #include "ucbhelper/content.hxx"
     CMD_UPDATE
 };
 
-class ExtensionBox_Impl : public ::svt::IExtensionListBox
+class ExtensionBox_Impl : public ::svt::IExtensionListBox,
+                          public ::cppu::WeakImplHelper1< ::com::sun::star::lang::XEventListener >
 {
     bool            m_bHasScrollBar;
     bool            m_bHasActive;
     void            enableButtons( bool bEnable );
 
     void            updateEntry( const uno::Reference< deployment::XPackage > &xPackage );
-    void            removeEntry( const uno::Reference< deployment::XPackage > &xPackage );
 
     void            prepareChecking( const uno::Reference< deployment::XPackageManager > &xPackageMgr );
     void            checkEntries();
             2. one extension can be installed as user and shared extension.
     */
     virtual void select( const OUString & sName );
+
     //===================================================================================
+    // XEventListener
+    virtual void SAL_CALL disposing( ::com::sun::star::lang::EventObject const & evt )
+        throw (::com::sun::star::uno::RuntimeException);
 };
 
 //------------------------------------------------------------------------------
 //------------------------------------------------------------------------------
 ExtensionBox_Impl::~ExtensionBox_Impl()
 {
+    typedef std::vector< TEntry_Impl >::iterator ITER;
+
+//    for ( ITER iIndex = m_vEntries.begin(); iIndex < m_vEntries.end(); ++iIndex )
+//        (*iIndex)->m_xPackage->removeEventListener( this );
+
+    m_vEntries.clear();
+
     delete m_pOptionsBtn;
     delete m_pEnableBtn;
     delete m_pRemoveBtn;
 }
 
 //------------------------------------------------------------------------------
-void ExtensionBox_Impl::removeEntry( const uno::Reference< deployment::XPackage > &xPackage )
-{
-    ::osl::ClearableMutexGuard aGuard( m_entriesMutex );
-    typedef std::vector< TEntry_Impl >::iterator ITER;
-
-    for ( ITER iIndex = m_vEntries.begin(); iIndex < m_vEntries.end(); ++iIndex )
-    {
-        if ( (*iIndex)->m_xPackage == xPackage )
-        {
-            long nPos = iIndex - m_vEntries.begin();
-
-            m_vEntries.erase( iIndex );
-
-            if ( IsReallyVisible() )
-                Invalidate();
-
-            if ( m_bHasActive )
-            {
-                if ( nPos < m_nActive )
-                    m_nActive -= 1;
-                else if ( ( nPos == m_nActive ) &&
-                          ( nPos == (long) m_vEntries.size() ) )
-                    m_nActive -= 1;
-
-                m_bHasActive = false;
-                //clear before calling out of this method
-                aGuard.clear();
-                selectEntry( m_nActive );
-            }
-            break;
-        }
-    }
-}
-
-//------------------------------------------------------------------------------
 long ExtensionBox_Impl::addEntry( const uno::Reference< deployment::XPackage > &xPackage,
                                   const uno::Reference< deployment::XPackageManager > &xPackageManager )
 {
     PackageState eState = m_pManager->getPackageState( xPackage );
 
     TEntry_Impl pEntry( new Entry_Impl( xPackage, xPackageManager, eState ) );
+    xPackage->addEventListener( this );
 
     ::osl::ClearableMutexGuard guard(m_entriesMutex);
     if ( m_vEntries.empty() )
     long nNewPos = -1;
     long nPos = 0;
     bool bNeedsUpdate = false;
-    bool bReselectActive = false;
     
     ::osl::ClearableMutexGuard guard(m_entriesMutex);
     typedef std::vector< TEntry_Impl >::iterator ITER;
     ITER iIndex = m_vEntries.begin();
     while ( iIndex < m_vEntries.end() )
     {
-        BOOL bNext = true;
         if ( (*iIndex)->m_bChecked == false )
         {
             bNeedsUpdate = true;
                 if ( nPos <= m_nActive )
                     m_nActive += 1;
             }
-            else
-            {
-                //We reach this point when we updated an extension.
-                iIndex = m_vEntries.erase( iIndex );
-                bNext = false;
-
-                if ( m_bHasActive )
-                {
-                    if ( nPos < m_nActive )
-                        m_nActive -= 1;
-                    else if ( nPos == m_nActive )
-                    {
-                        m_bHasActive = false;
-                        bReselectActive = true;
-                    }
-                }
-            }
         }
-        if ( bNext )
-            iIndex++;
+        iIndex++;
     }
     guard.clear();
 
 
     if ( nNewPos != - 1)
         selectEntry( nNewPos );
-    else if ( bReselectActive )
-    {
-        {
-            ::osl::MutexGuard guard2(m_entriesMutex);
-            if ( m_nActive >= (long) m_vEntries.size() )
-                m_nActive = (long) m_vEntries.size() - 1;
-        }
-        selectEntry( m_nActive );
-    }
 
     if ( bNeedsUpdate )
     {
 }
 
 //------------------------------------------------------------------------------
-/*void ExtensionBox_Impl::DataChanged( DataChangedEvent const & evt )
-{
-    SvTreeListBox::DataChanged( evt );
-    if (evt.GetType() == DATACHANGED_SETTINGS &&
-        (evt.GetFlags() & SETTINGS_STYLE) != 0 &&
-        m_hiContrastMode != (bool)GetDisplayBackground().GetColor().IsDark())
-    {
-        m_hiContrastMode = ! m_hiContrastMode;
-        
-        // Update all images as we changed from/to high contrast mode:
-        for ( SvLBoxEntry * entry = First(); entry != 0; entry = Next(entry) )
-        {
-            NodeImpl * node = NodeImpl::get(entry);
-            Image img( node->getIcon() );
-            SetExpandedEntryBmp( entry, img );
-            SetCollapsedEntryBmp( entry, img );
-        }
-        
-        // force redraw:
-        Invalidate();
-    }
-}
-*/
-//------------------------------------------------------------------------------
 void ExtensionBox_Impl::enableButtons( bool bEnable )
 {
     m_bInterfaceLocked = ! bEnable;
     }
 }
 
+//------------------------------------------------------------------------------
+// XEventListener
+void ExtensionBox_Impl::disposing( lang::EventObject const & rEvt )
+    throw ( uno::RuntimeException )
+{
+    uno::Reference< deployment::XPackage > xPackage( rEvt.Source, uno::UNO_QUERY );
+
+    if ( xPackage.is() )
+    {
+        ::osl::ClearableMutexGuard aGuard( m_entriesMutex );
+        typedef std::vector< TEntry_Impl >::iterator ITER;
+    
+        for ( ITER iIndex = m_vEntries.begin(); iIndex < m_vEntries.end(); ++iIndex )
+        {
+            if ( (*iIndex)->m_xPackage == xPackage )
+            {
+                long nPos = iIndex - m_vEntries.begin();
+    
+                m_vEntries.erase( iIndex );
+    
+                if ( IsReallyVisible() )
+                    Invalidate();
+    
+                if ( m_bHasActive )
+                {
+                    if ( nPos < m_nActive )
+                        m_nActive -= 1;
+                    else if ( ( nPos == m_nActive ) &&
+                              ( nPos == (long) m_vEntries.size() ) )
+                        m_nActive -= 1;
+    
+                    m_bHasActive = false;
+                    //clear before calling out of this method
+                    aGuard.clear();
+                    selectEntry( m_nActive );
+                }
+                break;
+            }
+        }
+    }
+}
+
 // -----------------------------------------------------------------------
 IMPL_LINK( ExtensionBox_Impl, ScrollHdl, ScrollBar*, pScrBar )
 {
 }
 
 //------------------------------------------------------------------------------
+bool ExtMgrDialog::removeExtensionWarn( const OUString &rExtensionName ) const
+{
+    const ::vos::OGuard guard( Application::GetSolarMutex() );
+    WarningBox aInfo( const_cast< ExtMgrDialog* >(this), getResId( RID_WARNINGBOX_REMOVE_EXTENSION ) );
+
+    String sText( aInfo.GetMessText() );
+    sText.SearchAndReplaceAllAscii( "%NAME", rExtensionName );
+    aInfo.SetMessText( sText );
+
+    return ( RET_OK == aInfo.Execute() );
+}
+
+//------------------------------------------------------------------------------
 bool ExtMgrDialog::enablePackage( const uno::Reference< deployment::XPackageManager > &xPackageManager,
                                   const uno::Reference< deployment::XPackage > &xPackage,
                                   bool bEnable )
     if ( !xPackageManager.is() || !xPackage.is() )
         return false;
 
+    if ( !IsSharedPkgMgr( xPackageManager ) || m_bDeleteWarning )
+    {
+        if ( ! removeExtensionWarn( xPackage->getDisplayName() ) )
+            return false;
+    }
+
     if ( ! continueOnSharedExtension( xPackageManager, RID_WARNINGBOX_REMOVE_SHARED_EXTENSION, m_bDeleteWarning ) )
         return false;
 
     m_pExtensionBox->updateEntry( xPackage );
 }
 
-//------------------------------------------------------------------------------
-void ExtMgrDialog::removeEntry( const uno::Reference< deployment::XPackage > &xPackage )
-{
-    const vos::OGuard aGuard( Application::GetSolarMutex() );
-    m_pExtensionBox->removeEntry( xPackage );
-}
-
 // -----------------------------------------------------------------------
 IMPL_LINK( ExtMgrDialog, HandleAddBtn, void*, EMPTYARG )
 {

desktop/source/deployment/gui/dp_gui_dialog2.hxx

     bool continueOnSharedExtension( const ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackageManager > &,
                                     const USHORT nResID,
                                     bool &bHadWarning ) const;
+    bool removeExtensionWarn( const ::rtl::OUString &rExtensionTitle ) const;
 
     DECL_DLLPRIVATE_LINK( HandleAddBtn, void * );
     DECL_DLLPRIVATE_LINK( HandleUpdateBtn, void * );
                                     const ::com::sun::star::uno::Reference< ::com::sun::star::task::XAbortChannel > &xAbortChannel);
     void            updateProgress( const long nProgress );
     void            updatePackageInfo( const ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage > &xPackage );
-    void            removeEntry( const ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage > &xPackage );
 
     void            prepareChecking( const ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackageManager > &xPackageManager );
     void            checkEntries();

desktop/win32/source/setup/makefile.mk

 APP1NOSAL=		TRUE
 APP1TARGET=		loader2
 
-APP1STDLIBS=	$(GDI32LIB) $(ADVAPI32LIB) $(SHELL32LIB)
+APP1STDLIBS=	$(GDI32LIB) $(ADVAPI32LIB) $(SHELL32LIB) $(MSILIB)
 .IF "$(COM)"!="GCC"
 APP1STDLIBS+=	libcmt.lib
 .ENDIF

desktop/win32/source/setup/setup.cpp

 #include <time.h>
 #include <mbctype.h>
 #include <locale.h>
-
+#include <Msiquery.h>
+#include <MsiDefs.h>
 #include "strsafe.h"
 
 #include "setup.hxx"
     m_bRegNoMsoTypes  = false;
     m_bRegAllMsoTypes = false;
     m_bIsMinorUpgrade = false;
+    m_bSupportsPatch  = false;
 
     m_bIgnoreAlreadyRunning = false;
 }
 }
 
 //--------------------------------------------------------------------------
+void SetupAppX::AddFileToPatchList( TCHAR* pPath, TCHAR* pFile )
+{
+    if ( m_pPatchFiles == NULL )
+    {
+        m_pPatchFiles = new TCHAR[ MAX_STR_LENGTH ];
+        StringCchCopy( m_pPatchFiles, MAX_STR_LENGTH, TEXT("\"") );
+    }
+    else
+        StringCchCat( m_pPatchFiles, MAX_STR_LENGTH, TEXT(";") );
+
+    StringCchCat( m_pPatchFiles, MAX_STR_LENGTH, pPath );
+    StringCchCat( m_pPatchFiles, MAX_STR_LENGTH, pFile );
+}
+
+//--------------------------------------------------------------------------
 boolean SetupAppX::GetPatches()
 {
     boolean bRet = true;
     
         if ( hFindPatches != INVALID_HANDLE_VALUE )
         {
-            bool fNextFile = false;
-            m_pPatchFiles = new TCHAR[ MAX_STR_LENGTH ];
-            StringCchCopy( m_pPatchFiles, MAX_STR_LENGTH, TEXT("\"") );
-            StringCchCat( m_pPatchFiles, MAX_STR_LENGTH, pBaseDir );
-            StringCchCat( m_pPatchFiles, MAX_STR_LENGTH, aFindFileData.cFileName );
+            if ( ! IsPatchInstalled( pBaseDir, aFindFileData.cFileName ) )
+                AddFileToPatchList( pBaseDir, aFindFileData.cFileName );
     
             while ( FindNextFile( hFindPatches, &aFindFileData ) )
             {
-                StringCchCat( m_pPatchFiles, MAX_STR_LENGTH, TEXT(";") );
-                StringCchCat( m_pPatchFiles, MAX_STR_LENGTH, pBaseDir );
-                StringCchCat( m_pPatchFiles, MAX_STR_LENGTH, aFindFileData.cFileName );
+                if ( ! IsPatchInstalled( pBaseDir, aFindFileData.cFileName ) )
+                    AddFileToPatchList( pBaseDir, aFindFileData.cFileName );
             }
-            StringCchCat( m_pPatchFiles, MAX_STR_LENGTH, TEXT("\"") );
+
+            if ( m_pPatchFiles != NULL )
+                StringCchCat( m_pPatchFiles, MAX_STR_LENGTH, TEXT("\"") );
+
             FindClose( hFindPatches );
         }
     }
                     Log( TEXT( " Found MSI version <%s>, no update needed\r\n" ), pMsiVersion );
                     bNeedUpdate = false;
                 }
+                if ( aInfo.dwMajorVersion >= 3 )
+                    m_bSupportsPatch = true;
+                else
+                    Log( TEXT("Warning: Patching not supported! MSI-Version <%s>\r\n"), pMsiVersion );
             }
         }
         
                                    _tsetlocale( LC_ALL, NULL ), _getmbcp() );
         }
         if ( pText )
+        {
             _ftprintf( m_pLogFile, pMessage, pText );
+            OutputDebugStringFormat( pMessage, pText );
+        }
         else
+        {
             _ftprintf( m_pLogFile, pMessage );
+            OutputDebugStringFormat( pMessage );
+        }
 
         fflush( m_pLogFile );
     }
     return m_pAppTitle;
 }
 
+
+//--------------------------------------------------------------------------
+boolean SetupAppX::IsPatchInstalled( TCHAR* pBaseDir, TCHAR* pFileName )
+{
+    if ( !m_bSupportsPatch )
+        return false;
+
+    PMSIHANDLE hSummaryInfo;
+    int nLen = lstrlen( pBaseDir ) + lstrlen( pFileName ) + 1;
+    TCHAR *szDatabasePath = new TCHAR [ nLen ];
+    TCHAR sBuf[80];
+
+    StringCchCopy( szDatabasePath, nLen, pBaseDir );
+    StringCchCat( szDatabasePath, nLen, pFileName );
+
+    UINT nRet = MsiGetSummaryInformation( NULL, szDatabasePath, 0, &hSummaryInfo );
+
+    if ( nRet != ERROR_SUCCESS )
+    {
+        StringCchPrintf( sBuf, 80, TEXT("ERROR: IsPatchInstalled: MsiGetSummaryInformation returned %u.\r\n"), nRet );
+        Log( sBuf );
+        return false;
+    }
+
+    UINT    uiDataType;
+    LPTSTR  szPatchID = new TCHAR[ 64 ];
+    DWORD   cchValueBuf = 64;
+    nRet = MsiSummaryInfoGetProperty( hSummaryInfo, PID_REVNUMBER, &uiDataType, NULL, NULL, szPatchID, &cchValueBuf );
+
+    if ( nRet != ERROR_SUCCESS )
+    {
+        StringCchPrintf( sBuf, 80, TEXT("ERROR: IsPatchInstalled: MsiSummaryInfoGetProperty returned %u.\r\n"), nRet );
+        Log( sBuf );
+        return false;
+    }
+
+	nRet = MsiGetPatchInfo( szPatchID, INSTALLPROPERTY_LOCALPACKAGE, NULL, NULL );
+
+    StringCchPrintf( sBuf, 80, TEXT("  GetPatchInfo for (%s) returned (%u)\r\n"), szPatchID, nRet );
+    Log( sBuf );
+
+	delete []szPatchID;
+
+    if ( nRet == ERROR_BAD_CONFIGURATION )
+        return false;
+    else if ( nRet == ERROR_INVALID_PARAMETER )
+        return false;
+    else if ( nRet == ERROR_MORE_DATA )
+        return true;
+    else if ( nRet == ERROR_SUCCESS )
+        return true;
+    else if ( nRet == ERROR_UNKNOWN_PRODUCT )
+        return false;
+    else if ( nRet == ERROR_UNKNOWN_PROPERTY )
+        return false;
+    else return false;
+
+	return false;
+}
+
 //--------------------------------------------------------------------------
 //--------------------------------------------------------------------------
 LanguageDataX::LanguageDataX( LPTSTR pData )

desktop/win32/source/setup/setup.hxx

     boolean     m_bRegNoMsoTypes :1;
     boolean     m_bRegAllMsoTypes :1;
     boolean     m_bIsMinorUpgrade :1;
+    boolean     m_bSupportsPatch :1;
 
     FILE       *m_pLogFile;
 
     boolean     InstallMsi( LPCTSTR pInstaller );
 
     boolean     IsTerminalServerInstalled() const;
-
+    void        AddFileToPatchList( TCHAR* pPath, TCHAR* pFile );
+    boolean     IsPatchInstalled( TCHAR* pBaseDir, TCHAR* pFileName );
 public:
                     SetupAppX();
                    ~SetupAppX();

desktop/win32/source/setup/setup_main.cxx

         if ( ! pSetup->ReadProfile() )
             throw pSetup->GetError();
 
+        if ( ! pSetup->CheckVersion() )
+            throw pSetup->GetError();
+
         if ( ! pSetup->IsAdminInstall() )
             if ( ! pSetup->GetPatches() )
                 throw pSetup->GetError();
 
-        if ( ! pSetup->CheckVersion() )
-            throw pSetup->GetError();
-
         // CheckForUpgrade() has to be called after calling GetPatches()!
         if ( ! pSetup->CheckForUpgrade() )
             throw pSetup->GetError();

instsetoo_native/inc_ooolangpack/windows/msi_languages/CustomAc.ulf

-[OOO_CUSTOMACTION_1]
-en-US  = "A newer version of [ProductName] was found. To install an older version, the newer version needs to be removed first."
-
-[OOO_CUSTOMACTION_2]
-en-US  = "The same version of this product is already installed."
-
-[OOO_CUSTOMACTION_3]
-en-US = "An older version of [ProductName] was found. To install a newer version, the older version needs to be removed first."
-
-[OOO_CUSTOMACTION_4]
-en-US = "Please exit [DEFINEDPRODUCT] [DEFINEDVERSION] and the [DEFINEDPRODUCT] [DEFINEDVERSION] Quickstarter before you continue. If you are using a multi-user system, also make sure that no other user has [DEFINEDPRODUCT] [DEFINEDVERSION] open."
-

instsetoo_native/inc_ooolangpack/windows/msi_templates/CustomAc.idt

 SetUreInstallLocation	51	UREINSTALLLOCATION	[UREDIRECTORYGID]
 NewProductFound	19		OOO_CUSTOMACTION_1
 SameProductFound	19		OOO_CUSTOMACTION_2
-RunningOffice	19		"Please exit [DEFINEDPRODUCT] [DEFINEDVERSION] and the [DEFINEDPRODUCT] [DEFINEDVERSION] Quickstarter before you continue. If you are using a multi-user system, also make sure that no other user has [DEFINEDPRODUCT] [DEFINEDVERSION] open."
+RunningOffice	19		OOO_CUSTOMACTION_4

instsetoo_native/inc_ooolangpack/windows/msi_templates/InstallE.idt

 RemoveODBC		1200
 RemoveRegistryValues		1300
 RemoveShortcuts		1600
-RunningOffice	OFFICERUNS="1" And VersionNT < 600	65
+RunningOffice	OFFICERUNS="1"	135
 RMCCPSearch	Not CCP_SUCCESS And CCP_TEST	250
 SameProductFound	SAMEPRODUCTS	120
 ScheduleReboot	ISSCHEDULEREBOOT	3125

instsetoo_native/inc_ooolangpack/windows/msi_templates/codes_broo.txt

File contents unchanged.

instsetoo_native/inc_ooolangpack/windows/msi_templates/codes_ooodev.txt

File contents unchanged.

instsetoo_native/inc_ooolangpack/windows/msi_templates/ooodev_patchcodes.txt

File contents unchanged.

instsetoo_native/inc_openoffice/windows/msi_languages/CustomAc.ulf

 
 [OOO_CUSTOMACTION_3]
 en-US = "An older version of [ProductName] was found. To install a newer version, the older version needs to be removed first."
+
+[OOO_CUSTOMACTION_4]
+en-US = "Please exit [DEFINEDPRODUCT] [DEFINEDVERSION] and the [DEFINEDPRODUCT] [DEFINEDVERSION] Quickstarter before you continue. If you are using a multi-user system, also make sure that no other user has [DEFINEDPRODUCT] [DEFINEDVERSION] open."

instsetoo_native/inc_openoffice/windows/msi_templates/CustomAc.idt

 ResetLanguageSelected	51	LANG_SELECTED	0
 SetApplicationSelected	51	APP_SELECTED	1
 ResetApplicationSelected	51	APP_SELECTED	0
-RunningOffice	19		"Please exit [DEFINEDPRODUCT] [DEFINEDVERSION] and the [DEFINEDPRODUCT] [DEFINEDVERSION] Quickstarter before you continue. If you are using a multi-user system, also make sure that no other user has [DEFINEDPRODUCT] [DEFINEDVERSION] open."
+RunningOffice	19		OOO_CUSTOMACTION_4

instsetoo_native/inc_openoffice/windows/msi_templates/codes_ooodev.txt

File contents unchanged.

svx/uiconfig/layout/layout.mk

 # TODO: move to solenv/inc
 # copies: sw/uiconfig/layout svx/uiconfig/layout
 
-TRALAY=$(AUGMENT_LIBRARY_PATH) tralay
+TRALAY=tralay
 XML_DEST=$(DLLDEST)
 XML_LANGS=$(alllangiso)
 

sw/uiconfig/layout/layout.mk

 # TODO: move to solenv/inc
 # copies: sw/uiconfig/layout svx/uiconfig/layout
 
-TRALAY=$(AUGMENT_LIBRARY_PATH) tralay
+TRALAY=tralay
 XML_DEST=$(DLLDEST)
 XML_LANGS=$(alllangiso)