Difference between revisions of "Dreamweaver MX 2004"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Reverted edit of 212.85.24.35, changed back to last version by WPKGSysop)
m
Line 8: Line 8:
  
 
First the entry for packages.xml:
 
First the entry for packages.xml:
 
+
<source lang="xml">
 
     <package
 
     <package
 
         id="dreamweavermx2004"
 
         id="dreamweavermx2004"
Line 18: Line 18:
 
         <install cmd='%SOFTWARE%\dreamweaver\installers\macromedia-install.bat' />
 
         <install cmd='%SOFTWARE%\dreamweaver\installers\macromedia-install.bat' />
 
     </package>
 
     </package>
 
+
</source>
  
 
This is macromedia-install.bat - it has three lines:
 
This is macromedia-install.bat - it has three lines:
 
+
<source lang="dos">
 
  %SOFTWARE%\dreamweaver\installers\DW_Client_Installer\setup.exe -s -sms -f1"%SOFTWARE%\dreamweaver\installers\DW_Client_Installer\setup.iss" -f2"C:\windows\temp\dreamweaver-install.log"
 
  %SOFTWARE%\dreamweaver\installers\DW_Client_Installer\setup.exe -s -sms -f1"%SOFTWARE%\dreamweaver\installers\DW_Client_Installer\setup.iss" -f2"C:\windows\temp\dreamweaver-install.log"
 
   
 
   
Line 27: Line 27:
 
   
 
   
 
  regedit /s %SOFTWARE%\dreamweaver\installers\macromedia-register.reg
 
  regedit /s %SOFTWARE%\dreamweaver\installers\macromedia-register.reg
 
+
</source>
  
 
We need one more trick - register our Macromedia Dreamweaver MX 2004 installation (so that the user is not notified "You have to register to use this software").<br>
 
We need one more trick - register our Macromedia Dreamweaver MX 2004 installation (so that the user is not notified "You have to register to use this software").<br>
 
Put this into a macromedia-register.reg file, it will be added to the registry with the above macromedia-install.bat file:
 
Put this into a macromedia-register.reg file, it will be added to the registry with the above macromedia-install.bat file:
  
 
+
<source lang="reg">
 
  [HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\7\Registration]
 
  [HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\7\Registration]
 
   
 
   
Line 42: Line 42:
 
   
 
   
 
  "Location"="C:\\Programme\\Macromedia\\Dreamweaver MX 2004\\Dreamweaver.exe"
 
  "Location"="C:\\Programme\\Macromedia\\Dreamweaver MX 2004\\Dreamweaver.exe"
 
+
</source>
  
 
So install your Dreamweaver MX 2004 manually, register it, launch regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\7\Registration key, and see what are the correct values for you ("Serial Number" and "Validation").
 
So install your Dreamweaver MX 2004 manually, register it, launch regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\7\Registration key, and see what are the correct values for you ("Serial Number" and "Validation").
  
 
[[category:Silent Installers|Dreamweaver MX 2004]]
 
[[category:Silent Installers|Dreamweaver MX 2004]]

Revision as of 18:25, 8 February 2008

This is a silent installer for Macromedia Dreamweaver MX 2004.

I couldn't figure out how to uninstall it silently.

As the installation contains an update, it is placed in a batch file.

A reboot is necessary, as after the installation an Internet Explorer window opens (with a brief description of Macromedia Dreamweaver MX 2004) - so if we don't reboot, a user which sits in front of the workstation could potentially do something harmful, as this Internet Explorer runs with SYSTEM privileges.

First the entry for packages.xml:

    <package
        id="dreamweavermx2004"
        name="Macromedia Dreamweaver MX 2004"
        revision="1"
        reboot="true"
        priority="0">
        <check type="uninstall" condition="exists" path="Macromedia Dreamweaver MX 2004" />
        <install cmd='%SOFTWARE%\dreamweaver\installers\macromedia-install.bat' />
    </package>

This is macromedia-install.bat - it has three lines:

 %SOFTWARE%\dreamweaver\installers\DW_Client_Installer\setup.exe -s -sms -f1"%SOFTWARE%\dreamweaver\installers\DW_Client_Installer\setup.iss" -f2"C:\windows\temp\dreamweaver-install.log"
 
 %SOFTWARE%\dreamweaver\installers\dwmx2004_701update_de\setup.exe -s -sms -f1"%SOFTWARE%\dreamweaver\installers\dwmx2004_701update_de\setup.iss" -f2"C:\windows\temp\dreamweaver-update-install.log"
 
 regedit /s %SOFTWARE%\dreamweaver\installers\macromedia-register.reg

We need one more trick - register our Macromedia Dreamweaver MX 2004 installation (so that the user is not notified "You have to register to use this software").
Put this into a macromedia-register.reg file, it will be added to the registry with the above macromedia-install.bat file:

 [HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\7\Registration]
 
 "Serial Number"="XXXXXX-XXXXX-XXXXX-XXXXX"
 
 "Validation"="ABCDEFGHIJKLMNOP"
 
 "Register"="2"
 
 "Location"="C:\\Programme\\Macromedia\\Dreamweaver MX 2004\\Dreamweaver.exe"

So install your Dreamweaver MX 2004 manually, register it, launch regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\7\Registration key, and see what are the correct values for you ("Serial Number" and "Validation").