Help - Search - Members - Calendar
Full Version: Dreamweaver mx 2004 install silent but open .htm
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
3S Doc
Hi all,

After a long search, I wil ask it here.
Below my code for the silent install of DreamWeaver MX 2004.
It installs silent, but after the install it opens a welcome/readme form, it is a .htm form, is there something for to close this automatic??

ECHO.
ECHO Registering DreamWeaver MX 2004
ECHO Please wait...
REGEDIT /S %systemdrive%\install\dreamweaver.reg
ECHO.
ECHO Installing DreamWeaver MX 2004
ECHO Please wait...
start /wait %systemdrive%\install\Programs\Dreamweaver\Setup.exe -s -f1"%systemdrive%\install\Programs\Dreamweaver\setup.iss"
prathapml
What program does it use to open the HTM?
You need to see what browser you've set to open HTML files, and if you haven't changed the defaults, it most likely is opening in Internet Explorer.

So, the next line after the setup.exe is done, can be this:
CODE
taskkill /F /IM iexplore.exe
That is to kill the IE process, and will work if this is on winXP pro. If you're doing this on winXP home edition, or win2k instead, you need to download a 3rd party tool to do this (like pskill from SysInternals.com).
3S Doc
Thanks prathapml,

This wil help, and yes I'm using XP Pro with IEexplorer.
I thought that it would be somthing like that, only my English isn't so good.
I couldn't find the English/Dutch name for the browser in this case thus iexplorer.exe I wouldn't forget it....... blushing.gif

Thanks again.
totoymola
How did you make your dreamveaver.reg?
3S Doc
I did it with notebook yes.gif

well I will give my sample:

CODE

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\7\Registration]
"Serial Number"="XXXXX-XXXXX-XXXXX-XXXXX"
"Validation"="XXXXXXXXXXXXXXXX"
"Register"="1"
"Location"="C:\\Program Files\\Macromedia\\Dreamweaver MX 2004\\Dreamweaver.exe"
"UserName"="What Ever"
"Company"="Someone.org"

Like you can see by looking at the use of setup.iss I did first a install on my pc with the regular DreamWeaver setup.exe /R after this in C:\Windows was my setup.iss don't forget this, after register the program, I export in regedit the [HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\7\Registration]

I hope this is enough for you.
totoymola
Ok. Thanks. But what is the validation? Is it the same as the serial number?
prathapml
No, the validation is done by itself (when it activates).
I believe what he is telling is that you need to export those keys, from "[HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\7\Registration]" in your registry. You can't do the validation part manually (atleast not in a legal way).
3S Doc
Hi,

Yes indeed, after the install, and after registering Dreamweaver, I export the "[HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\7\Registration]" in my registry. That is the way I did it.
twilli48
So is the cure for stopping dreamweaver opening the .html file:

taskkill /F /IM iexplore.exe

Can this be done in the RunOnceEx.cmd file? If so is that all I will have to put in to make it kill the IE window? If it will be different on the RunOnceEx.cmd does anyone know what the code for that would be?

Thanks,

Tracy
prathapml
@twilli48
yes, that is all you need to put even in your runonceEX method of using it. Of course, remember to increment the sub-branch.

For example:
CODE
REG ADD %KEY%\025 /VE /D "whatever" /f
REG ADD %KEY%\025 /V 1 /D "your command to install dwMX2004" /f
REG ADD %KEY%\025 /V 2 /D "taskkill /F /IM iexplore.exe" /f
To be specific, the integer that comes after "/V" in the command should be higher than previous one (just reminding, that's all). smile.gif
twilli48
I tried to respond alot soon but my pc crashed, anyway this is what my file will look like (well just the dreamweaver part):

REG ADD %KEY%\011 /VE /D "Dream Weaver MX 2004" /f
REG ADD %KEY%\011 /V 1 /D "%SystemDrive%\Install\Applications\dreamweaver\setup.exe -s" /f
REG ADD %KEY%\011 /V 2 /D "taskkill /F /IM iexplore.exe" /f

I am going to try this later tonight or tomorrow. I hope it works.

Thanks prathapml!

Tracy
Cykasm
With your Dreamweaver silent install how did you stop this opening?



I've made my iss file and it gets all the way through then stops here.
I've tried remaking it a few times.
twilli48
QUOTE (Cykasm @ Oct 12 2004, 12:25 PM)
With your Dreamweaver silent install how did you stop this opening?



I've made my iss file and it gets all the way through then stops here.
I've tried remaking it a few times.

I made the iss file and I did not get this box.

Here is my iss file contents:

Version=v6.00.000
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-DlgOrder]
Dlg0={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdWelcome-0
Count=6
Dlg1={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdLicense-0
Dlg2={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdAskDestPath-0
Dlg3={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdAskOptions-0
Dlg4={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdStartCopy-0
Dlg5={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdFinish-0
[{05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdWelcome-0]
Result=1
[{05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdLicense-0]
Result=1
[{05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdAskDestPath-0]
szDir=C:\Program Files\Macromedia\Dreamweaver MX 2004
Result=1
[{05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdAskOptions-0]
Component-type=string
Component-count=8
Component-0=Active Server Pages (asp)
Component-1=JavaServer Pages (jsp)
Component-2=ColdFusion (cfm, cfc)
Component-3=ASP.NET (aspx, ascx)
Component-4=PHP (php, php3, php4)
Component-5=JavaScript (js)
Component-6=Cascading Style Sheets (css)
Component-7=Extensible Markup Language (xml)
Result=1
[{05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdStartCopy-0]
Result=1
[Application]
Name=Dreamweaver
Version=7
Company=Macromedia
Lang=0009
[{05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0

I don't know if that helped but that is all I use and or did.

Tracy
Cykasm
I will test it now.

Thanks.
twilli48
If that does not work and you are installing other Macromedia products, it could be the order on installing them. I am not for sure though. Here is the order in which I installed them:

REG ADD %KEY%\011 /VE /D "Dream Weaver MX 2004" /f
REG ADD %KEY%\011 /V 1 /D "%SystemDrive%\Install\Applications\dreamweaver\setup.exe -s" /f
REG ADD %KEY%\011 /V 2 /D "taskkill /F /IM iexplore.exe" /f

REG ADD %KEY%\012 /VE /D "Fireworks" /f
REG ADD %KEY%\012 /V 1 /D "%SystemDrive%\Install\Applications\fireworks\setup.exe -s" /f

REG ADD %KEY%\013 /VE /D "Flash MX 2004" /f
REG ADD %KEY%\013 /V 1 /D "%SystemDrive%\Install\Applications\flash\setup.exe -s" /f

REG ADD %KEY%\014 /VE /D "Freehand MX 2004" /f
REG ADD %KEY%\014 /V 1 /D "%SystemDrive%\Install\Applications\freehand\setup.exe -s" /f

REG ADD %KEY%\015 /VE /D "Registering Macromedia Products" /f
REG ADD %KEY%\015 /V 1 /D "REGEDIT /S %systemdrive%\install\macromedia.reg" /f

I don't know if that really makes a difference but just maybe it could.

Tracy
Cykasm
Mine didnt like your iss file.

I will edit it a bit and have another go.

Takes so **** long in virtual pc though.

Thanks for helping me.
twilli48
QUOTE (Cykasm @ Oct 15 2004, 12:48 PM)
Mine didnt like your iss file.

I will edit it a bit and have another go.

Takes so **** long in virtual pc though.

Thanks for helping me.

I used virtual pc once. Then I got VMWARE. Much better than virtual pc from MS faster!!! Let m ekow if you get it to work.

Tracy
nivek7
I have a problem. For some reason, it opens notepad instead of IE for the readme. What do I do?
CoffeeFiend
just taskkill notepad.exe instead of iexplore.exe (or whatever app that actually opens)
homiebrah
A sample of my code, for reference, if needed. If not, shift-delete it away...

CODE
HKLM,"%RunOnceEx%\install06",01,,"d:\macromedia\authorware\setup.exe /S"
HKLM,"%RunOnceEx%\install06",02,,"d:\macromedia\contribute\Setup.exe /S"
HKLM,"%RunOnceEx%\install06",03,,"d:\macromedia\dreamweavermx\setup.exe /S"
HKLM,"%RunOnceEx%\install06",04,,"pskill iexplore.exe"
HKLM,"%RunOnceEx%\install06",05,,"d:\macromedia\fireworksmx\setup.exe /S"
HKLM,"%RunOnceEx%\install06",07,,"d:\macromedia\freehandmx\setup.exe /S"
HKLM,"%RunOnceEx%\install06",09,,"regedit /s d:\macromedia\settings1.reg"
HKLM,"%RunOnceEx%\install06",10,,"regedit /s d:\macromedia\settings2.reg"
HKLM,"%RunOnceEx%\install06",11,,"d:\macromedia\update\contribute\setup.exe /S"
HKLM,"%RunOnceEx%\install06",12,,"d:\macromedia\update\dreamweaver\setup.exe /S"
HKLM,"%RunOnceEx%\install06",13,,"d:\macromedia\update\fireworks\setup.exe /silent"
HKLM,"%RunOnceEx%\install06",14,,"pskill iexplore.exe"
HKLM,"%RunOnceEx%\install06",16,,"d:\macromedia\update\flashpaper\setup.exe /silent"
HKLM,"%RunOnceEx%\install06",17,,"d:\macromedia\macromedia1.exe"
HKLM,"%RunOnceEx%\install06",17,,"d:\macromedia\macromedia2.exe"
craggus2000
How can you register Authorware silently? I've put the 7.0.2 update on and it asks for the serial number again confused.gif

When i re-import my reg file it doesn't make any difference!
cardguy1000
I just made an autoIT script to register the program, if your interested just first obtain your setup.iss file and place in your folder with setup.exe as well as the attached autoIT script. Edit your script with your serial number, and run...




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.