3S Doc Posted October 7, 2004 Share Posted October 7, 2004 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 2004ECHO Please wait...REGEDIT /S %systemdrive%\install\dreamweaver.regECHO.ECHO Installing DreamWeaver MX 2004ECHO 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 More sharing options...
prathapml Posted October 7, 2004 Share Posted October 7, 2004 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.exeThat 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 More sharing options...
3S Doc Posted October 7, 2004 Author Share Posted October 7, 2004 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....... Thanks again. Link to comment Share on other sites More sharing options...
totoymola Posted October 7, 2004 Share Posted October 7, 2004 How did you make your dreamveaver.reg? Link to comment Share on other sites More sharing options...
3S Doc Posted October 7, 2004 Author Share Posted October 7, 2004 I did it with notebook well I will give my sample:CODEWindows 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 More sharing options...
totoymola Posted October 7, 2004 Share Posted October 7, 2004 Ok. Thanks. But what is the validation? Is it the same as the serial number? Link to comment Share on other sites More sharing options...
prathapml Posted October 8, 2004 Share Posted October 8, 2004 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 More sharing options...
3S Doc Posted October 8, 2004 Author Share Posted October 8, 2004 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 More sharing options...
twilli48 Posted October 9, 2004 Share Posted October 9, 2004 So is the cure for stopping dreamweaver opening the .html file:taskkill /F /IM iexplore.exeCan 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 More sharing options...
prathapml Posted October 9, 2004 Share Posted October 9, 2004 @twilli48yes, 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" /fREG ADD %KEY%\025 /V 1 /D "your command to install dwMX2004" /fREG ADD %KEY%\025 /V 2 /D "taskkill /F /IM iexplore.exe" /fTo 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 More sharing options...
twilli48 Posted October 11, 2004 Share Posted October 11, 2004 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" /fREG ADD %KEY%\011 /V 1 /D "%SystemDrive%\Install\Applications\dreamweaver\setup.exe -s" /fREG ADD %KEY%\011 /V 2 /D "taskkill /F /IM iexplore.exe" /fI am going to try this later tonight or tomorrow. I hope it works.Thanks prathapml!Tracy Link to comment Share on other sites More sharing options...
Cykasm Posted October 12, 2004 Share Posted October 12, 2004 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. Link to comment Share on other sites More sharing options...
twilli48 Posted October 14, 2004 Share Posted October 14, 2004 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.000File=Response File[File Transfer]OverwrittenReadOnly=NoToAll[{05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-DlgOrder]Dlg0={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdWelcome-0Count=6Dlg1={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdLicense-0Dlg2={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdAskDestPath-0Dlg3={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdAskOptions-0Dlg4={05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdStartCopy-0Dlg5={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 2004Result=1[{05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdAskOptions-0]Component-type=stringComponent-count=8Component-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=DreamweaverVersion=7Company=MacromediaLang=0009[{05BB2EC5-6BEF-4DDC-9E75-BEE7B161157A}-SdFinish-0]Result=1bOpt1=0bOpt2=0I don't know if that helped but that is all I use and or did.Tracy Link to comment Share on other sites More sharing options...
Cykasm Posted October 14, 2004 Share Posted October 14, 2004 I will test it now.Thanks. Link to comment Share on other sites More sharing options...
twilli48 Posted October 14, 2004 Share Posted October 14, 2004 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" /fREG ADD %KEY%\011 /V 1 /D "%SystemDrive%\Install\Applications\dreamweaver\setup.exe -s" /fREG ADD %KEY%\011 /V 2 /D "taskkill /F /IM iexplore.exe" /fREG ADD %KEY%\012 /VE /D "Fireworks" /fREG ADD %KEY%\012 /V 1 /D "%SystemDrive%\Install\Applications\fireworks\setup.exe -s" /fREG ADD %KEY%\013 /VE /D "Flash MX 2004" /fREG ADD %KEY%\013 /V 1 /D "%SystemDrive%\Install\Applications\flash\setup.exe -s" /fREG ADD %KEY%\014 /VE /D "Freehand MX 2004" /fREG ADD %KEY%\014 /V 1 /D "%SystemDrive%\Install\Applications\freehand\setup.exe -s" /fREG ADD %KEY%\015 /VE /D "Registering Macromedia Products" /fREG ADD %KEY%\015 /V 1 /D "REGEDIT /S %systemdrive%\install\macromedia.reg" /fI don't know if that really makes a difference but just maybe it could.Tracy Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now