X-Savior Posted March 11, 2005 Share Posted March 11, 2005 Hi There,Has anyone figured a was to do a silent install for 3D Mark 2003 & 2005 and PC Mark 2004? I have gone about the long way for PC Mark 2004 & 3D 2003. I installed it an a test machine. Then copied all the files and went through the registry and got all the entries for the programs. They work fine but I am not sure how it will work with a non C: install and the Uninstall sometimes does not work right. I tried this with 3D Mark 2005 but no sucess. There is things going on with Common Files and such. It get really weird. There has to be an simple solution. I know they are Install Shield but they are packed with some kind of wizard. I can't catch all the files in a temp folder. Data2.cab appears out of no where for the install and I have searched everywhere. Any Help would be greatly appreciated. Link to comment Share on other sites More sharing options...
S0mE0nesMiNd1 Posted March 11, 2005 Share Posted March 11, 2005 Yeap - http://unattended.msfn.org Link to comment Share on other sites More sharing options...
X-Savior Posted March 11, 2005 Author Share Posted March 11, 2005 Thank you for being specific...I have looked already. The problem with the install shield is that these programs are not in their "Setup.exe" uncompressed format. I have searched and found no help on this topic either. It is does NOT work to create an .iss file for the install. This was the first method I tried with nothing. The install begins and then terminates quickly. It does not install, no error either. (When I use the -R command with the created .iss) This method worked fine for 3D Mark 2001SE and PC Mark 2002. But WHen it became Futuremark they changed their install package style.Anyone with more help on this? Link to comment Share on other sites More sharing options...
S0mE0nesMiNd1 Posted March 11, 2005 Share Posted March 11, 2005 Personal Made Scripts - This is for the main Setup.Since this is for the First Setup of the two, it will look for Setup1.exe.Script1.au3 Link to comment Share on other sites More sharing options...
S0mE0nesMiNd1 Posted March 11, 2005 Share Posted March 11, 2005 Personal Made Scripts - This is for the update Patch.Since this is the second setup of the two, it will look for Setup2.exeScript2.au3 Link to comment Share on other sites More sharing options...
Alex_N Posted March 11, 2005 Share Posted March 11, 2005 I'm having troubles also and I don't want to use AutoIt if I can avoid to... Maybe I missed a step... Here is the content of my RunOnceEx.cmd:REG ADD %KEY%\010 /VE /D "Futuremark 3DMark 2003" /f REG ADD %KEY%\010 /V 1 /D "%APPS%\3DMark_2003\3DM03.exe -s -f1\"%APPS%\setup.iss\" -f2\"%LOGS%\3DM03.log\"" /fREG ADD %KEY%\010 /V 2 /D "REGEDIT /S %APPS%\3DMark_2003\3DM03.reg" /fIt doesn't work as the install launches and exists with an error code -5 (File not found from Installshied doc). %APPS% and %LOGS% are valid and working (as other applications use them).If I create a shortcut and try it on my machine, it suceeds using the following cmdline in the shortcut:"C:\3DMark_2003\3DM03.exe" -s -f1"C:\setup.iss" -f2"C:\3DM03.log"Anyone seing a mistake I've done? Link to comment Share on other sites More sharing options...
vcBlackBox Posted March 11, 2005 Share Posted March 11, 2005 @Alex_NNo mistakes that I can see, but I don't think you can use a variable with InstallShield switches. Maybe, you could try adding another \ , like thisREG ADD %KEY%\010 /V 1 /D "%APPS%\3DMark_2003\3DM03.exe -s -f1\"%APPS%\\setup.iss\" -f2\"%LOGS%\\3DM03.log\"" /f and see if that helps any.Otherwise, I would just use an absolute path to the root directory, and then have a cleanup script delete or move those files afterwards.I just think InstallShield applications are overly complicated and really annoying for unattended installs. Link to comment Share on other sites More sharing options...
X-Savior Posted March 12, 2005 Author Share Posted March 12, 2005 Yea, I agree I havn't setup using runonceex.cmdI have done my whole setup with usual way. I will try what you guys suggest in my Start.cmd.The Setup.iss you use, you made it from the 3DMark (Single File) install? Link to comment Share on other sites More sharing options...
Alex_N Posted March 14, 2005 Share Posted March 14, 2005 No mistakes that I can see, but I don't think you can use a variable with InstallShield switches. Maybe, you could try adding another \ , like thisREG ADD %KEY%\010 /V 1 /D "%APPS%\3DMark_2003\3DM03.exe -s -f1\"%APPS%\\setup.iss\" -f2\"%LOGS%\\3DM03.log\"" /f and see if that helps any.<{POST_SNAPBACK}>I'll try that but really ackward thing is that 3DMark2005 installation works fine using the same line:REG ADD %KEY%\050 /VE /D "Futuremark 3DMark2003 3.6.0" /f REG ADD %KEY%\050 /V 1 /D "%APPS%\3DMark2003\3DM03.exe -s -f1\"%APPS%\3DMark2003\setup.iss\" -f2\"%LOGS%\3DM03.log\"" /fREG ADD %KEY%\050 /V 2 /D "REGEDIT /S %APPS%\3DMark2003\3DM03.reg" /fREG ADD %KEY%\055 /VE /D "Futuremark 3DMark2005 1.2.0" /f REG ADD %KEY%\055 /V 1 /D "%APPS%\3DMark2005\3DM05.exe -s -f1\"%APPS%\3DMark2005\setup.iss\" -f2\"%LOGS%\3DM05.log\"" /fREG ADD %KEY%\055 /V 2 /D "REGEDIT /S %APPS%\3DMark2005\3DM05.reg" /fThe Setup.iss you use, you made it from the 3DMark (Single File) install?<{POST_SNAPBACK}>Yup, generated running the installshield .exe with -r Link to comment Share on other sites More sharing options...
X-Savior Posted March 17, 2005 Author Share Posted March 17, 2005 Hi There,Ok, I got it to work for 3DMark 2003, PCMark 2004 and 3DMark 2005.Here is what I used in my Start.cmdECHO.ECHO ------------------------------------------------------------------------------ECHO Starting Installation Of System Benchmark Programs (Fully Registered)ECHO ------------------------------------------------------------------------------ECHO.ECHO Installing Futuremark 3D Mark 2001 SE (Version 330)ECHO Please wait...start /wait %systemdrive%\install\Applications\3DMark2001SE\Setup.exe /sECHO.ECHO Installing Futuremark 3D Mark 2003 (Version 360)ECHO Please wait...start /wait C:\install\Applications\3DMark2003\3D2003-350.exe -s -f1"C:\install\Applications\3DMark2003\Setup.iss"start /wait C:\install\Applications\3DMark2003\360-Patch\3D2003-360.exe -s -f1"C:\install\Applications\3DMark2003\360-Patch\Setup.iss"ECHO.ECHO Installing Futuremark 3D Mark 2005 (Version 120)ECHO Please wait...start /wait C:\install\Applications\3DMark2005\3D2005-100.exe -s -f1"C:\install\Applications\3DMark2005\Setup.iss"start /wait C:\install\Applications\3DMark2005\110-Patch\3D2005-110.exe -s -f1"C:\install\Applications\3DMark2005\110-Patch\Setup.iss"start /wait C:\install\Applications\3DMark2005\120-Patch\3D2005-120.exe -s -f1"C:\install\Applications\3DMark2005\120-Patch\Setup.iss"ECHO.ECHO Installing Futuremark PC Mark 2002ECHO Please wait...start /wait %systemdrive%\install\Applications\PCMark2002\Setup.exe /sECHO.ECHO Installing Futuremark PC Mark 2004 (Version 130)ECHO Please wait...start /wait C:\install\Applications\PCMark2004\PC2004-120.exe -s -f1"C:\install\Applications\PCMark2004\Setup.iss"start /wait C:\install\Applications\PCMark2004\130-Patch\PC2004-130.exe -s -f1"C:\install\Applications\PCMark2004\130-Patch\Setup.iss"ECHO.Hope that looks ok. This should be useful for someone. Link to comment Share on other sites More sharing options...
Alex_N Posted March 17, 2005 Share Posted March 17, 2005 Hmmm... I don't see how that differs to my parameters, except that I don't use the same method (RunOnceEx.cmd).Could you paste your 3DMark2005 Setup.iss file (as the -3 error code is something missing in the answer file for silent installation)?Thanks Link to comment Share on other sites More sharing options...
X-Savior Posted March 18, 2005 Author Share Posted March 18, 2005 Yea, no problem. I had trouble with your setup but stumbled accoss that way and it did work. I think it was something about the log file or something.Yea, here is my iss for 3DMark2005.Also, I am starting to look at using RunOnceEx very soon. Kinda looking at an Overhaul of the install for my 2.0 version of the DVD. I am about to release 1.0 - Final. I have finished testing 1.0 - Beta 3 and everything seems good. setup.iss Link to comment Share on other sites More sharing options...
Alex_N Posted March 18, 2005 Share Posted March 18, 2005 Thanks for the file, I'll compare with mine.Congrats on your DVD (BTW: Remove the serial in the file) Link to comment Share on other sites More sharing options...
X-Savior Posted March 19, 2005 Author Share Posted March 19, 2005 It's not my serial so it doesn't bother me. 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