3,217
edits
Changes
m
no edit summary
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:
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
<package<br>
id="dreamweavermx2004"<br>
name="Macromedia Dreamweaver MX 2004"<br>
revision="1"<br>
reboot="true"<br>
priority="0"><br>
<check type="uninstall" condition="exists" path="Macromedia Dreamweaver MX 2004" /><br>
<install cmd='\\server\Admin\Non-MSI\dreamweaver\installers\macromedia-install.bat'><br>
<exit code="0" /><br>
</install><br>
<br>
<remove cmd='' /><br>
<br>
<upgrade cmd="" /><br>
<br>
</package>
</blockquote>
This is macromedia-install.bat - it has three lines:
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
\\server\Admin\Non-MSI\dreamweaver\installers\DW_Client_Installer\setup.exe -s -sms -f1"\\server\Admin\Non-MSI\dreamweaver\installers\DW_Client_Installer\setup.iss" -f2"C:\windows\temp\dreamweaver-install.log"<br>
\\server\Admin\Non-MSI\dreamweaver\installers\dwmx2004_701update_de\setup.exe -s -sms -f1"\\server\Admin\Non-MSI\dreamweaver\installers\dwmx2004_701update_de\setup.iss" -f2"C:\windows\temp\dreamweaver-update-install.log"<br>
regedit /s \\server\Admin\Non-MSI\dreamweaver\installers\macromedia-register.reg
</blockquote>
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:
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
Windows Registry Editor Version 5.00
[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"
</blockquote>
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]]
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:
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
<package<br>
id="dreamweavermx2004"<br>
name="Macromedia Dreamweaver MX 2004"<br>
revision="1"<br>
reboot="true"<br>
priority="0"><br>
<check type="uninstall" condition="exists" path="Macromedia Dreamweaver MX 2004" /><br>
<install cmd='\\server\Admin\Non-MSI\dreamweaver\installers\macromedia-install.bat'><br>
<exit code="0" /><br>
</install><br>
<br>
<remove cmd='' /><br>
<br>
<upgrade cmd="" /><br>
<br>
</package>
</blockquote>
This is macromedia-install.bat - it has three lines:
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
\\server\Admin\Non-MSI\dreamweaver\installers\DW_Client_Installer\setup.exe -s -sms -f1"\\server\Admin\Non-MSI\dreamweaver\installers\DW_Client_Installer\setup.iss" -f2"C:\windows\temp\dreamweaver-install.log"<br>
\\server\Admin\Non-MSI\dreamweaver\installers\dwmx2004_701update_de\setup.exe -s -sms -f1"\\server\Admin\Non-MSI\dreamweaver\installers\dwmx2004_701update_de\setup.iss" -f2"C:\windows\temp\dreamweaver-update-install.log"<br>
regedit /s \\server\Admin\Non-MSI\dreamweaver\installers\macromedia-register.reg
</blockquote>
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:
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
Windows Registry Editor Version 5.00
[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"
</blockquote>
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]]