Jump to content

Recommended Posts


Posted
Am I doing something wrong as I get the following message:

" 'D' is not recognized as an internal or external command "    and " 'Destroy' is not recognized as an internal or external command "

my script is:

start /wait %systemdrive%\packages\spybot\spybotsd14.exe /VERYSILENT

ECHO Spybot Search & Destroy 1.4 Installed!

ECHO.

...

Am i not right in thinking you should not use & in a echo statement as it performs some sort of command?

Try changing it to:

start /wait %systemdrive%\packages\spybot\spybotsd14.exe /VERYSILENT
ECHO Spybot - Search and Destroy 1.4 Installed!
ECHO.

instead and see what happens :)

Don't think theres anything wrong regarding the spybot install part ;)

Let us know if that works for ya :)

Regards,

N.

Posted
Am i not right in thinking you should not use & in a echo statement as it performs some sort of command?

Try changing it to:

start /wait %systemdrive%\packages\spybot\spybotsd14.exe /VERYSILENT
ECHO Spybot - Search and Destroy 1.4 Installed!
ECHO.

instead and see what happens :)

Don't think theres anything wrong regarding the spybot install part ;)

Let us know if that works for ya :)

Regards,

N.

You were right!!!

The **** "&" was messing it up! I changed it to

ECHO ** Installing Spybot Search n Destroy ***

and it works fine now!

None of my other ECHO statements have and "&" following them and since this is the first time installing Spybot I had never seen this before..

Thanks!

  • 3 weeks later...
Posted

I just used the same commands I used for Spybot 1.3 and it installed without any problems:

spybotsd14.exe /verysilent /SP- /components="main,skins"
Posted
How Do I use the .iss file for setup?

You need to have Inno Setup installed. ISTool would be helpful also. You need to use Innounp.exe -x spybotsd14.exe to unpack the installer. This will unpack the files to the current directory. An .ISS file will also be created. You can use the .ISS file to lead you to edit that one, or replace it, and edit to suit. Then use Inno Setup to compile it, back into an installer.

  • 2 months later...
Posted
Am I doing something wrong as I get the following message:

" 'D' is not recognized as an internal or external command "    and " 'Destroy' is not recognized as an internal or external command "

my script is:

start /wait %systemdrive%\packages\spybot\spybotsd14.exe /VERYSILENT

ECHO Spybot Search & Destroy 1.4 Installed!

ECHO.

what gives??

You must use " " ...

start /wait "" %systemdrive%\packages\spybot\spybotsd14.exe /VerySilent
ECHO Spybot Search & Destroy 1.4 Installed!
ECHO.

++

Posted
You were right!!!

The **** "&" was messing it up!  I changed it to

ECHO ** Installing Spybot Search n Destroy ***

and it works fine now!

@sonic If the first parameter is not the title and does not use "" then "" is not required.

Posted
how would you get the includes to silently install as well?

Using ISTool, in the Install Run section add this in the filename section, replace {tmp} with the dir you extract to

{tmp}\spybotsd_includes.exe

and this

/S

in the parameters section, the includes will be run after the installation.

  • 2 weeks later...
  • 1 month later...
Posted
Am I doing something wrong as I get the following message:

" 'D' is not recognized as an internal or external command " and " 'Destroy' is not recognized as an internal or external command "

my script is:

start /wait %systemdrive%\packages\spybot\spybotsd14.exe /VERYSILENT

ECHO Spybot Search & Destroy 1.4 Installed!

ECHO.

what gives??

you can try to insert double quote character.

start /wait %systemdrive%\packages\spybot\spybotsd14.exe /VERYSILENT
ECHO "Spybot Search & Destroy 1.4 Installed!"
ECHO.

  • 1 year later...
Posted

Hello Everyone,

I have made an AutoIt script to deal with update :thumbup

Run('spybotsd14.exe /verysilent /easymode /autoupdate /noicons')
WinWait("File Download","")

While 1

;No Internet Connection
If WinExists("File Download","Error sending request.") Then
ControlClick("File Download","Error sending request.","Button2")
ExitLoop
EndIf

;Downloading Update
If WinExists("File Download","spybotsd_includes.exe (1 of 1)") Then
ControlClick("File Download","spybotsd_includes.exe (1 of 1)","Static9")
WinWait("Spybot - Search & Destroy Include updates Setup: Installation Folder","Nullsoft Install System v2.25 ")
ControlClick("Spybot - Search & Destroy Include updates Setup: Installation Folder","Nullsoft Install System v2.25 ","Button2")
WinWait("Spybot - Search & Destroy Include updates Setup ","< &Back")
ControlClick("Spybot - Search & Destroy Include updates Setup ","< &Back","Button2")
ExitLoop
EndIf

WEnd

  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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