BoardBabe Posted October 6, 2004 Share Posted October 6, 2004 I'm trying to install Adobe Photoshop CS and Illustrator CS, but cant make it work. It installs from DVD without copying installation files to HDD first...RunOnceEx.cmdcmdow @ /HID@echo offIF EXIST D:\WIN51 set CDROM=D:IF EXIST E:\WIN51 set CDROM=E:IF EXIST F:\WIN51 set CDROM=F:IF EXIST G:\WIN51 set CDROM=G:IF EXIST H:\WIN51 set CDROM=H:IF EXIST I:\WIN51 set CDROM=I:IF EXIST J:\WIN51 set CDROM=J:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installerer programvare" /fREG ADD %KEY%\005 /VE /D "Enhetsdrivere" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\$OEM$\installer_drivere.cmd" /fREG ADD %KEY%\010 /VE /D "Microsoft .NET Framework v1.1 SP1" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Drivers\NetFramework\netfx.msi /QB" /fREG ADD %KEY%\010 /V 2 /D "%Systemdrive%\Drivers\NetFramework\NDP1.1sp1-KB867460-X86.exe /Q" /fREG ADD %KEY%\015 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\Programvare\MSN\MsnMsgs.msi /QB" /fREG ADD %KEY%\020 /VE /D "Microsoft Office 2003 Professional" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%\Programvare\Office2003\PRO11.msi /QB" /fREG ADD %KEY%\025 /VE /D "Adobe Acrobat Reader 6" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\Programvare\AdobeReader6\installer.cmd" /fREG ADD %KEY%\030 /VE /D "Adobe Illustrator CS" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\Programvare\IllustratorCS\setup.exe -S" /fREG ADD %KEY%\035 /VE /D "Adobe Photoshop CS" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%\Programvare\PhotoshopCS\setup.exe -S" /fREG ADD %KEY%\040 /VE /D "WinRAR 3.40" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\Programvare\WinRAR\wrar340no.exe /s" /fREG ADD %KEY%\045 /VE /D "Stomp RecordNow Max 4.5" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\Programvare\RecordNow\Setup.exe /QB REBOOT=SUPRESS" /fREG ADD %KEY%\050 /VE /D "Ahead Nero Burning Rom 6.3.125" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\Programvare\Nero\nero63120.exe /silent=1 /silent /no_ui /setlang=NOR /nocancel /noreboot /sn=\"XXXX-XXXX-XXXX-XXXX-XXXX-XXXX\" /write_sn" /fREG ADD %KEY%\050 /V 2 /D "%CDROM%\Programvare\Nero\nero63125.exe /silent=1 /silent /no_ui /setlang=NOR /nocancel /noreboot" /fREG ADD %KEY%\055 /VE /D "K-Lite Mega Codec Pack 1.12" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\Programvare\CodecPack\klmcodec112.exe /verysilent /loadinf=\"%CDROM%\Programvare\CodecPack\silent.inf\"" /fREG ADD %KEY%\060 /VE /D "BSplayer Pro v1.02.812" /fREG ADD %KEY%\060 /V 1 /D "%CDROM%\Programvare\BSplayer\bsplayerpro100.812.exe /S" /fREG ADD %KEY%\065 /VE /D "DaemonTools 3.47" /fREG ADD %KEY%\065 /V 1 /D "%CDROM%\Programvare\DaemonTools\daemon.msi /quiet /passive /qn /norestart REBOOT=ReallySuppress" /fREG ADD %KEY%\080 /VE /D "Sletter midlertidige filer" /fREG ADD %KEY%\080 /V 1 /D "%CDROM%\$OEM$\cleanup.cmd" /fEXITI filled out the abcpy.inis with my product key fname and lname, as well as set NO for all dialogues and progress bar etc. I also made a setup.iss included in both setup dirs.What this resultet in on virtual pc test machine was that in installation dir I got no illustrator CS, but a Photoshop CS file of 80kb, with no extension!!!?so neither isntalled. However if i run that exact command locally it installs it perf. Link to comment Share on other sites More sharing options...
CoffeeFiend Posted October 6, 2004 Share Posted October 6, 2004 You cannot install installshield apps from CD/DVD with just -s, you also need at the very least -f2 for the logfile, and preferably -f1 too (some days it works perfect without it for them but it's given me problems numerous times. doesn't hurt to add it too)in a batchfile it would look like this:"%CDROM%\Programvare\PhotoshopCS\setup.exe" -S -f1"%CDROM%\Programvare\PhotoshopCS\setup.iss" -f2"%SystemRoot%\Photoshop.log"it's up to you to convert to proper RunOnceEx syntax now This will work 100% all of the time. The log file will be created where -f2 points. If you got more problems, look up the error code in the logfile. Link to comment Share on other sites More sharing options...
BoardBabe Posted October 6, 2004 Author Share Posted October 6, 2004 that will be something likeREG ADD %KEY%\035 /V 1 /D "\"%CDROM%\Programvare\PhotoshopCS\Photoshop\setup.exe\" -S -f1\"%CDROM%\Programvare\PhotoshopCS\Photoshop\setup.iss\" -f2\"%SystemRoot%\Install\Photoshop.log\"" /fright? Link to comment Share on other sites More sharing options...
MHz Posted October 6, 2004 Share Posted October 6, 2004 Perhaps like thisREG ADD %KEY%\035 /V 1 /D "%CDROM%\Programvare\PhotoshopCS\Photoshop\setup.exe -S -f1 %CDROM%\Programvare\PhotoshopCS\Photoshop\setup.iss -f2 %SystemRoot%\Install\Photoshop.log" /f Link to comment Share on other sites More sharing options...
BoardBabe Posted October 6, 2004 Author Share Posted October 6, 2004 how about if there is a space in the path?As in illustrator:REG ADD %KEY%\035 /V 1 /D "\"%CDROM%\Programvare\IllustratorCS\Adobe Illustrator CS\setup.exe\" -S -f1\"%CDROM%\Programvare\IllustratorCS\Adobe Illustrator CS\setup.iss\" -f2\"%SystemRoot%\Install\Illustrator.log\"" /fEdited: typo Link to comment Share on other sites More sharing options...
CoffeeFiend Posted October 6, 2004 Share Posted October 6, 2004 how about if there is a space in the path?As in illustrator:REG ADD %KEY%\035 /V 1 /D "\"%CDROM%\Programvare\IllustratorCS\Adobe Illustrator CS\setup.exe\" -S -f1\"%CDROM%\Programvare\IllustratorCS\Adobe Illustrator CS\setup.iss\" -f2\"%SystemRoot%\Install\Illustrator.log\"" /fEdited: typo This one looks good to me Link to comment Share on other sites More sharing options...
BoardBabe Posted October 6, 2004 Author Share Posted October 6, 2004 I just tested a real formatIt didnt install neither photoshop nor illustrator CS with the above! Link to comment Share on other sites More sharing options...
CoffeeFiend Posted October 6, 2004 Share Posted October 6, 2004 I just tested a real formatIt didnt install neither photoshop nor illustrator CS with the above!Ok, then go check what the logfiles say. You can also try installing it silent from the command line (or start>run) to see if your .iss file and all is good... Link to comment Share on other sites More sharing options...
BoardBabe Posted October 7, 2004 Author Share Posted October 7, 2004 I really can't get that to work, nor do i get a log filestart /wait "%CDROM%\Programvare\PhotoshopCS\photoshop\setup.exe" -S -f1"%CDROM%\Programvare\PhotoshopCS\photoshop\setup.iss" -f2"%SystemDrive%\Photoshop.log"trying this in a batch.. It says cant find -S Link to comment Share on other sites More sharing options...
Radimus Posted October 7, 2004 Share Posted October 7, 2004 start /wait "" PhotoshopCS\Setup.exe /s /sms /f2c:\Photoshop.logmake sure that the info in abcpy.ini is correct Link to comment Share on other sites More sharing options...
BoardBabe Posted October 7, 2004 Author Share Posted October 7, 2004 whats the /sms for? it worked! but whats it for? Link to comment Share on other sites More sharing options...
king_attila Posted October 19, 2004 Share Posted October 19, 2004 Hello,i have a problem with the "abcpy.ini". I don't know how to integrate the serialnumber and the installation type. Can somebody post the structure of that file, because I need it for an Adobe Illustrator 10 unattended installation. If i use the "setup.iss" file to config install type and serial i always get:[InstallShield Silent]Version=v6.00.000File=Log File[ResponseResult]ResultCode=-3I don't know why, because imho i've configured the installation correct.Or can someone post step by step how to build an unattended silent installation for Adobe Illustrator 10.Big Thanks. 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