I'm basing it off of the guide to the APM format (http://www.autopatch...cumentation.zip).
OOo uses an MSI with some custom switches, which I'm not using.
The latest version is 2.4.1
My problem is that OOo installs itself in a dirctory by version number, a fresh install of version 2.2 will install in C:\Program Files\OpenOffice.org 2.2\ by default. But any upgrades will install in the same directory so upgrading to 2.4 would also install in C:\Program Files\OpenOffice.org 2.2\.
I can tie the module to the version easily enough but what if the user is using the module to upgrade?
Here's my module so far:
[AutoPatcher 5.6 Module] [General] Title=OpenOffice.org Description=A free open source office suite Author=OpenOffice.org ModuleAuthor=Angel Blue01 WebPage=http://www.openoffice.org ReleaseDate=20080612 [Behavior] ParentID=WINDOWS_CRITICAL_PARENT_ENU UniqueID=OOO_24 Critical=False AutoExpand=False Depends= TimeToInstall=200 TimeToRemove=200 RequiresReboot=False [DetectionRegistry] RegistryPath=HKLM\SOFTWARE\OpenOffice.org\OpenOffice.org\2.4\Novell KeyName=PackageVersion KeyValue=2.4.1 [OperatingSystem] WindowsVersion=ANY SystemLanguage=1033 [SystemComponents] InternetExplorer=ANY WindowsMediaPlayer=ANY DotNetFramework=ANY WindowsInstaller=ANY DirectX=ANY MSNMessenger=ANY [OfficeComponents] Word=ANY Excel=ANY PowerPoint=ANY Outlook=ANY Publisher=ANY Visio=ANY Project=ANY OneNote=ANY FrontPage=ANY InfoPath=ANY Access=ANY SharePointDesigner=ANY Groove=ANY [Installation] "Module:\OpenOfficeorg.msi /qn /S" [Removal] "Module:\WindowsXP-KB925902-x86-ENU.exe" /quiet /norestart /overwriteoem /uninstall [Slipstream] "Module:\openoffice.exe" /qn /integrate:"share:"
As you can see I didn't change some values because I don't know what to put there.
Can someone please help?











