Jump to content

Dreamweaver mx 2004 install silent but open .htm


3S Doc

Recommended Posts

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"

Link to comment
Share on other sites


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:

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).

Link to comment
Share on other sites

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:

Thanks again.

Link to comment
Share on other sites

I did it with notebook :yes:

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.

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

@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:

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). :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

window.jpg

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...