IPB

Google Frontpage Forums Unattended CD/DVD Guide

> 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

2 Pages V  < 1 2 >  
Reply to this topicStart new topic
> Ms Antispyware, Why wont this install?
redfive19
post Jul 13 2005, 09:26 PM
Post #11


Junior
*

Group: Members
Posts: 96
Joined: 17-August 04
From: USA
Member No.: 27892
Country Flag


CODE
RunWait(@ScriptDir & '\' & "MicrosoftAntiSpywareInstall.exe" & ' /s /v"/qn"')
Opt("TrayIconDebug", 1)
#include <process.au3>
FileChangeDir(@ProgramFilesDir & "\Microsoft AntiSpyware")
If ProcessExists("gcasServ.exe") Then
    ProcessClose("gcasServ.exe")
EndIf

Run("gcasDTserv.exe -Embedding")
Run("gcasServ.exe")
FileDelete(@DesktopDir & "\Microsoft AntiSpyware.*")
FileDelete(@DesktopCommonDir & "\Microsoft AntiSpyware.*")
SplashOff()
If @IPAddress1 <> "0.0.0.0" Then
    run(@Programfilesdir & "\Microsoft AntiSpyware\GIANTAntiSpywareMain.exe update")
    WinWaitActive("Microsoft AntiSpyware AutoUpdater", "")
    Sleep(2000)
    $close = ControlCommand("Microsoft AntiSpyware AutoUpdater", "", "ThunderRT6UserControlDC4", "IsEnabled", "")
    Do
 Call("waitaround")
 Sleep(100)
    Until $close = 1
    
    WinClose("Microsoft AntiSpyware AutoUpdater", "")
EndIf


Exit

Func waitaround()
    $close = ControlCommand("Microsoft AntiSpyware AutoUpdater", "", "ThunderRT6UserControlDC4", "IsEnabled", "")
EndFunc


There's my autoit script that'll do it all.

That will install ms antispyware & get rid of your 110 error. If you have an IP
Address, it will update to the newest defs.
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Jul 13 2005, 09:37 PM
Post #12


WPI Guru
Group Icon

Group: Software Developers
Posts: 6516
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


Nice script thank you for sharing.
Go to the top of the page
 
+Quote Post
edusnow
post Jul 14 2005, 07:18 AM
Post #13


Newbie


Group: Members
Posts: 30
Joined: 22-June 05
From: Lisboa
Member No.: 61508
Country Flag


Thanks,...
I will try.

snow
Go to the top of the page
 
+Quote Post
cardinal808
post Jul 15 2005, 06:02 AM
Post #14





Group: Members
Posts: 1
Joined: 6-July 05
Member No.: 63304
Country Flag


If some one is interested, this is the working script

msiexec.exe /qb /i MicrosoftAntiSpyware.msi
Go to the top of the page
 
+Quote Post
edusnow
post Jul 21 2005, 12:09 PM
Post #15


Newbie


Group: Members
Posts: 30
Joined: 22-June 05
From: Lisboa
Member No.: 61508
Country Flag


""msiexec.exe /qb /i MicrosoftAntiSpyware.msi""

i´ll steal have the same 101 error wacko.gif

thanks
snow
Go to the top of the page
 
+Quote Post
redfive19
post Jul 21 2005, 02:39 PM
Post #16


Junior
*

Group: Members
Posts: 96
Joined: 17-August 04
From: USA
Member No.: 27892
Country Flag


My autoit script installs silently and fixes the 101 error, but to each his own. Good luck with the MSI because as edusnow said, it will give the 101 error unless you're install it OVER a previous installation. big difference.
Go to the top of the page
 
+Quote Post
redfive19
post Jul 21 2005, 02:40 PM
Post #17


Junior
*

Group: Members
Posts: 96
Joined: 17-August 04
From: USA
Member No.: 27892
Country Flag


My autoit script installs silently and fixes the 101 error, but to each his own. Good luck with the MSI because as edusnow said, it will give the 101 error unless you're install it OVER a previous installation. big difference.
Go to the top of the page
 
+Quote Post
edusnow
post Jul 21 2005, 05:02 PM
Post #18


Newbie


Group: Members
Posts: 30
Joined: 22-June 05
From: Lisboa
Member No.: 61508
Country Flag


Hi,... redfive 19
You have right. In the second try the 101 error desapears. Can you explain more how autoit works. I dónt know no.gif nothing about it,... to i try. tongue.gif

thanks
snow
Go to the top of the page
 
+Quote Post
fanatf1
post Jul 22 2005, 01:12 AM
Post #19


Junior
*

Group: Members
Posts: 89
Joined: 22-April 05
From: Siberia
Member No.: 53117
Country Flag


You say put reg file in $OEM$/$$ and run it from cmdlines as
CODE
REGEDIT /s MenuOrder.reg


But i heard that we must put this files in $OEM$ folde near the cmdlines!!

I have a lot regs in $OEM$ folder (which need to execute AFTER first logon)
like this
CODE
[COMMANDS]
"RunOnceEx.cmd"
"useraccounts.cmd"
"REGEDIT /S regtweaks.reg"
"REGEDIT /S ACDsee.reg"
"REGEDIT /s menuorder.reg"


Here the question: Can i make some folder in $OEM$ (like REGS) and put all regs (include menuorder.reg) in it. My cmdlines STILL work after that and apply regs from folder REGS? And how to write a command in cmdlines to REGS folder?

Help please !

EDIT: Or maybe you have better way to apply REGs (with keys, settings) which need to by applyed AFTER first logon?

It would be GREAT!

This post has been edited by fanatf1: Jul 22 2005, 01:15 AM
Go to the top of the page
 
+Quote Post
edusnow
post Jul 22 2005, 09:02 AM
Post #20


Newbie


Group: Members
Posts: 30
Joined: 22-June 05
From: Lisboa
Member No.: 61508
Country Flag


Redfive19,... you are my men! thumbup.gif
I use your script,... and off course,... it works. Erros 101 ?- What is that? whistling.gif

thanks
snow

next: ssh and wsftp_le unsure.gif
Go to the top of the page
 
+Quote Post
JasonGW
post Jul 26 2005, 10:23 AM
Post #21


Member
**

Group: Members
Posts: 216
Joined: 5-August 04
Member No.: 26290



QUOTE (JasonGW @ May 2 2005, 11:15 AM)
QUOTE (TheeBeets @ May 2 2005, 02:38 AM)
Thx had a look at the other topic and download the script and well test out in Ms Virt Mach, Cheers
*


CODE
REG ADD %KEY%\085 /VE /D "Microsoft AntiSpyware" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\MSAS\MSASInstall.exe /S /v/qn" /f
REG ADD %KEY%\085 /V 2 /D "%systemdrive%\Progra~1\Micros~1\gcasDtServ.exe /regserver" /f


Put that in your RunOnceEx.cmd file

Jason
*



I don't tend to quote myself, but this, my friend, works perfectly for me *every* time. I have the absolute newest, truest, bluest version of MSAS and the same setup that worked 6 months ago works fine today.

Jason
Go to the top of the page
 
+Quote Post
tbma
post Jul 26 2005, 10:48 AM
Post #22


Newbie


Group: Members
Posts: 18
Joined: 4-June 05
Member No.: 59019
Country Flag


QUOTE (JasonGW @ Jul 26 2005, 08:23 AM)
I don't tend to quote myself, but this, my friend, works perfectly for me *every* time. I have the absolute newest, truest, bluest version of MSAS and the same setup that worked 6 months ago works fine today.

Jason
*


This will work, unless somebody have folders named "Microsoft blah-blah etc." in "Program Files" already (i.e some other Microsoft products installed).
In that case "Progra~1\Micros~1" will point to some other place, and this installation will fail... with error 101.

/offtopic on
Is anybody experimented with MsAS command line switches?
I have found -LaunchMode N (where N is a number), as well as known switches -scan -withui -withreultui,
but but I haven't figured out -schedule yet.
/offtopic off

This post has been edited by tbma: Jul 26 2005, 10:50 AM
Go to the top of the page
 
+Quote Post
JasonGW
post Jul 26 2005, 04:23 PM
Post #23


Member
**

Group: Members
Posts: 216
Joined: 5-August 04
Member No.: 26290



QUOTE (tbma @ Jul 26 2005, 10:48 AM)
QUOTE (JasonGW @ Jul 26 2005, 08:23 AM)
I don't tend to quote myself, but this, my friend, works perfectly for me *every* time. I have the absolute newest, truest, bluest version of MSAS and the same setup that worked 6 months ago works fine today.

Jason
*


This will work, unless somebody have folders named "Microsoft blah-blah etc." in "Program Files" already (i.e some other Microsoft products installed).
In that case "Progra~1\Micros~1" will point to some other place, and this installation will fail... with error 101.

/offtopic on
Is anybody experimented with MsAS command line switches?
I have found -LaunchMode N (where N is a number), as well as known switches -scan -withui -withreultui,
but but I haven't figured out -schedule yet.
/offtopic off
*



If they have other stuff with the name Microsoft, they will have 8.3 names sequentially in alphabetical order. Even with Microsoft Office, Microsoft Project, Microsoft Visio, Microsoft Publisher and Microsoft Antispyware installed, antispyware will *still* be micros~1, unless Microsoft Activesync is installed first.

In any case, resolution is simple: Install MS Antispyware BEFORE you install those other apps. Setting the install to kick off earlier in the RunOnceEx.cmd is a 30 second job.

Jason
Go to the top of the page
 
+Quote Post
tbma
post Jul 26 2005, 05:34 PM
Post #24


Newbie


Group: Members
Posts: 18
Joined: 4-June 05
Member No.: 59019
Country Flag


QUOTE (JasonGW @ Jul 26 2005, 02:23 PM)
In any case, resolution is simple: Install MS Antispyware BEFORE you install those other apps. Setting the install to kick off earlier in the RunOnceEx.cmd is a 30 second job.

Jason
*

It creates short name every time it creates a file, not dynamically. So they will be named in order of creation.

On my machine for example:
QUOTE
MICROS~3    Microsoft ActiveSync
MICROS~4    Microsoft AntiSpyware
MICROS~1    microsoft frontpage
MICROS~2    Microsoft Office


How about even simplier resolution? Just use long names? DOS is officially dead at least 5 years now newwink.gif
Go to the top of the page
 
+Quote Post
blinkdt
post Jul 31 2005, 02:20 AM
Post #25


Somewhat Knowledgeable
Group Icon

Group: Supreme Sponsors
Posts: 580
Joined: 30-September 03
From: Fox Valley, WI
Member No.: 7533
OS: Vista Business x64
Country Flag


@redfive19: nice work on the autoupdate feature, I'll definitely be putting that into all of my installs, worked like a charm.
Go to the top of the page
 
+Quote Post
redfive19
post Aug 23 2005, 12:25 PM
Post #26


Junior
*

Group: Members
Posts: 96
Joined: 17-August 04
From: USA
Member No.: 27892
Country Flag


well I am getting to the back to this topic a little late but I am glad it worked for you! you can find out more about autoit by downloading it here:

www.autoitscript.com

All I did was read the help file. Did the tutorials in it and it kind of took off from there. I've been using it since March......

good luck
Go to the top of the page
 
+Quote Post
InTheWayBoy
post Aug 23 2005, 04:53 PM
Post #27


Friend of MSFN
*****

Group: Members
Posts: 709
Joined: 16-August 04
From: Jax, FL
Member No.: 27839
OS: XP Pro x86
Country Flag


CODE
RunWait ( "msiexec /qn /i setup.msi" )

Sleep ( 5000 )

Run ( @ProgramFilesDir & "\Microsoft AntiSpyware\gcasDtServ.exe /regserver" )

FileDelete ( @DesktopCommonDir & "\Microsoft AntiSpyware.lnk" )


That's an AuotIT script that does it all for you...just like it was previously mentioned. You have to have the .msi already extracted. What this does is install the program, wait five seconds, runs the necessary command to fix the stupid error with a silent install, and then deletes the icon on the desktop. After I reboot it autoruns and works fine.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

2 Pages V  < 1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 21st November 2009 - 07:07 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy