MSFN Forum: Asking for help with Installs - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Asking for help with Installs Rate Topic: -----

#1 User is offline   Nova 

  • Group: Members
  • Posts: 4
  • Joined: 11-January 05

Posted 11 January 2005 - 03:31 AM

Hello everyone, I am new to MSFN and have been reading up as much as I possibly can. I am in process of making an XP Sp2 Unattended cd. So far so good. 2 problems remaining to be solved in the process. Both Spybot 1.3 and Symantec Antivirus 9.0 fail during runonce. I get the errors cant find file.... They are both in the same install directory as the four other programs I have installing at first logon. This leads me to believe my directory structure is correct. I am down to sheer ignorance :) Would someone kindly view my file and provide feedback? Thanks in advance to one and all.

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
SET I=%SYSTEMDRIVE%\Install

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\002 /VE /D "DVD Decrypter 3.5.1.0" /f
REG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\DVDDecrypter\Setup.exe /S" /f

REG ADD %KEY%\003 /VE /D "DVD Shrink 3.2" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\Install\DVDShrink\Setup.exe /verysilent" /f

REG ADD %KEY%\004 /VE /D "Nero 6.6.0.1 Ultra" /f
REG ADD %KEY%\004 /V 1 /D "REGEDIT /S %systemdrive%\Install\Nero\register.reg" /f
REG ADD %KEY%\004 /V 2 /D "%systemdrive%\Install\Nero\nero6601.exe" /f

REG ADD %KEY%\005 /VE /D "Symantec" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Symantec AntiVirus.msi /S /v/qn" /f

REG ADD %KEY%\020 /VE /D "Spybot SD 1.3" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /f

REG ADD %KEY%\007 /VE /D "WinRAR 3.40 Corporate Edition" /f
REG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\WinRAR\wrar340.exe /s /W" /f

REG ADD %KEY%\008 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\008 /V 1 /D "REGEDIT /S %systemdrive%\Install\RegTweaks.reg" /f

REG ADD %KEY%\009 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\009 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /f

EXIT





Nova


#2 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,115
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 11 January 2005 - 03:54 AM

I've no idea about whether the switches are correct, but Symantec Code is missing quotes and backslashes due to spaces in filename.
REG ADD %KEY%\005 /VE /D "Symantec" /f
REG ADD %KEY%\005 /V 1 /D "\"%systemdrive%\Install\Symantec AntiVirus.msi\" /S /v/qn" /f


Also since you have used 'SET I=%SYSTEMDRIVE%\Install' should your lines not replace %SYSTEMDRIVE%\Install with %I%, for example:
REG ADD %KEY%\002 /VE /D "DVD Decrypter 3.5.1.0" /f
REG ADD %KEY%\002 /V 1 /D "%I%\DVDDecrypter\Setup.exe /S" /f


#3 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 January 2005 - 03:56 AM

Hello Nova,
Welcome to MSFN forums! :hello:

First, winrar does not need the "/W" switch (it doesn't do anything). Just the "/s" is enough.

For Symantec Anti-Virus, have you read this topic? link

About Spybot, I don't know, maybe someone else will come along who uses it. But I'd say there's no need to install that at all, if you are going to have your machine properly protected from the beginning with an anti-virus and firewall (and SP2, if its WinXP).

Do post back with how it works out. :thumbup

#4 User is offline   Nova 

  • Group: Members
  • Posts: 4
  • Joined: 11-January 05

Posted 11 January 2005 - 06:17 AM

Thanks for teh rapid replies. More reading... Sheesh. :) I am atempting one last cd recreation and VM install before sleeping. Been up all night. Thanks again for the link and code suggestions. This forum rocks!

Regards,

Nova

#5 User is offline   Smiley 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 23-June 04

Posted 11 January 2005 - 06:30 AM

Nova, on Jan 11 2005, 04:31 AM, said:

REG ADD %KEY%\020 /VE /D "Spybot SD 1.3" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /f

Shouldn't it be numbered 6 instead of 20?

REG ADD %KEY%\006 /VE /D "Spybot SD 1.3" /f
REG ADD %KEY%\006 /V 1 /D "%systemdrive%\Install\Spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /f

#6 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 11 January 2005 - 06:33 AM

@ Smiley
it really shouldnt matter so long as all of the numbers in the group are the same and no other group is using it.

@nova
You may have already done this, but I always test out the syntax of my installs at a command line prior to tossing it into runonceex and having that test it for the 1st time. This way you can play around with the syntax and find out exactly what works...

#7 User is offline   Smiley 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 23-June 04

Posted 11 January 2005 - 08:16 AM

Since it is numbered 20 shouldn't it run after the cleanup, which I am assuming deletes the spybot install in the %systemdrive%\install folder.

#8 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 January 2005 - 12:33 PM

Woo!
That's called having a very good eye ;)

That's right, the "020" should be "006". Nova please check once again in VMware with this modification and tell us whether it works now.

#9 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 11 January 2005 - 04:29 PM

Smiley, on Jan 11 2005, 08:16 AM, said:

Since it is numbered 20 shouldn't it run after the cleanup, which I am assuming deletes the spybot install in the %systemdrive%\install folder.

Ha.. thats exactly right. I guess thats the other cirumstance where the order does matter... nice catch!

#10 User is offline   Nova 

  • Group: Members
  • Posts: 4
  • Joined: 11-January 05

Posted 11 January 2005 - 07:52 PM

Smiley, on Jan 11 2005, 06:30 AM, said:

Nova, on Jan 11 2005, 04:31 AM, said:

REG ADD %KEY%\020 /VE /D "Spybot SD 1.3" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /f

Shouldn't it be numbered 6 instead of 20?

REG ADD %KEY%\006 /VE /D "Spybot SD 1.3" /f
REG ADD %KEY%\006 /V 1 /D "%systemdrive%\Install\Spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /f

Smiley, thanks very much. Spybot now installs. I am still having some difficulties with Symantec. The install now triggers as I left out the proper directory in the command for install (Corrected). However I now get a pop up box saying that an option needs to be added to the msiexec. I am using the /q /p /n at teh end of the string. options. In other words the install still fails. I tired to get screen capture of the vm with the message. Heh, that didnt work either. I am much closer now thanks to you folks.

Best Regards,

Nova

#11 User is offline   Nova 

  • Group: Members
  • Posts: 4
  • Joined: 11-January 05

Posted 12 January 2005 - 04:31 AM

Ahhh! Finally success has found me. Must be a mistake. lol :)

I found that using a "msi" file does not like to have a space in the name of the "msi" file name. Out of the box the installer for Symantec 9.0 CE is named
"Symantec Ativirus.msi. Simply deleting the space in the name was part of the answer. (I then chose a shorter name as I am a lousy typist (lazy). Then to use the proper syntax was also helpful. Hehehee. Last but not least this is what was used for silent install on my Unattended_Xp cd for my install of SAV,

REG ADD %KEY%\005 /VE /D "Sav" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Sav\sav9.msi /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /f

Thanks go to Prathapml, Smiley, Yzowl, and Durex for your guidance, speedy replies, enthusiasm, and finally the re-inforcement to complete the task at hand. I wish I had joined this forum sooner. Next project is to fill the little bit of space left on the cd (about 16 megs) and add additional reg tweaks. There are some settings for the desktop etc., I would like to integrate into the uA_CD.


Respectfully,

Nova

#12 User is offline   Sarge 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 11-January 05

Posted 25 January 2005 - 07:23 AM

Nova, on Jan 11 2005, 03:31 AM, said:

REG ADD %KEY%\007 /VE /D "WinRAR 3.40 Corporate Edition" /f
REG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\WinRAR\wrar340.exe /s /W" /f

ok just bout this, im used to installing Winrar 3.2, but have got this 3.4 version now that im gonna integrate.
Just wondering when i install it, it appears to go straight into teh directory of where teh setup file is.
THis will be an issue wont it???

#13 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 25 January 2005 - 07:57 AM

you switch is wrong

/s is the correct switch

pls read this new guide i made http://www.msfn.org/...showtopic=37499

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy