Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by cardguy1000

  1. Line 123 should be If $UseWPA Then ControlCommand($handle, "", 7424,'Check', '') ;Use WPA using control command instead of control click, since it's a toggle field that way if you have previously gone into the wizard and checked wpa the script won't then uncheck wpa because of the remembered setting as the controlcommand function does not toggle the check box but instead tells it to just check it.
  2. ;Install program and update (Should be in same directory as script and named as used below) RunWait(@ScriptDir & '\spybotsd152.exe /verysilent /components="" /tasks="" /norestart') RunWait(@ScriptDir & '\spybotsd_includes.exe /S') ;Configure spybot to not show the wizard, legal notice, or update reminder RegWrite('HKEY_CURRENT_USER\Software\Safer Networking Limited\SpybotSnD', 'WizardRun', 'REG_DWORD', 1) IniWrite(@AppDataCommonDir & '\Spybot - Search & Destroy\Configuration.ini','Main', 'Legals', 1) IniWrite(@AppDataCommonDir & '\Spybot - Search & Destroy\Configuration.ini', 'Automation\WebUpdate','RemindUpdate', 0) ;Setup a scheduled task $adminUsername = 'Administrator' $adminPassword = 'password' If _isLaptop() Then $scanTime = '16:00:00';HH:MM:SS Else $scanTime = '04:00:00';HH:MM:SS EndIf Run(@ComSpec & " /c " & 'schtasks /create /tn "Spybot Daily Scan" /tr "' & FileGetShortName(@ProgramFilesDir & '\Spybot - Search & Destroy\SpybotSD.exe') & ' /AUTOCHECK /AUTOFIX /AUTOCLOSE" /sc daily /st ' & $scanTime & ' /ru ' & @ComputerName & '\' & $adminUsername &' /rp ' & $adminPassword) ;If there is an internet connection autoupdate and immunize, otherwise just immunize If Ping('www.google.com') Then Run(@ProgramFilesDir & '\Spybot - Search & Destroy\SpybotSD.exe /autoimmunize /autoupdate /autoclose') TrayTip('Updating Definitions', 'Please while the latest Spybot definitions are downloaded', 10) If WinWait('Information', 'OK',120) Then ControlClick('Information', 'OK','TButton1') WinWait('Spybot - Search & Destroy', '&Check for problems') WinClose('Spybot - Search & Destroy', '&Check for problems') EndIf Else Run(@ProgramFilesDir & '\Spybot - Search & Destroy\SpybotSD.exe /autoimmunize /autoclose') TrayTip('Error Downloading Updates', 'It appears you are not connected to the internet, skipping detection updates...',5) Sleep(5000) EndIf Func _isLaptop() $objWMIService = ObjGet("winmgmts:\\" & @ComputerName & "\root\cimv2") $colChassis = $objWMIService.ExecQuery("Select * from Win32_SystemEnclosure") For $objChassis In $colChassis For $ChassisType In $objChassis.ChassisTypes Switch $ChassisType Case 8 to 14 Return True Case Else Return False EndSwitch Next Next EndFunc
  3. CCleaner 2.08 Without Yahoo Toolbar I couldn't find any command line options to install ccleaner without the Yahoo! Toolbar, so I used the standard silent switch /s to install ccleaner silently with the toolbar and then I run the corresponding silent paramaters to uninstall the yahoo toolbar immediately following. RunWait(@ScriptDir & '\ccsetup208.exe /S') RunWait(@ProgramFilesDir & '\Yahoo!\Common\unyt.exe /s') Run(@SystemDir & '\regsvr32 /u ' & FileGetShortName(@ProgramFilesDir) & '\Yahoo!\Common\YINSTH~1.DLL /s') TrayTip('CCleaner 2.08', 'CCleaner Installation Complete', 5) Sleep(5000) ccleanerSilent.au3
  4. I just made an autoIT script to register the program, if your interested just first obtain your setup.iss file and place in your folder with setup.exe as well as the attached autoIT script. Edit your script with your serial number, and run... DreamweaverSilent.au3
  5. MHz, very sexy script indeed, exactly what I was looking for thanks!
  6. Hey guys, I'm trying to make some installation scripts that will mount an image with Vitual Clone Drive, then the script will open the setup.exe within that Virtual Drive I've found out that you can: Run(@ProgramFilesDir & 'VCDmount.exe C:\MyFolder\disk1.iso') and it'll automount that iso. Next I need to launch the setup.exe file on the mounted ISO (not the autorun.exe) My question is this: Is there a way to find out which drive letter the virtual clone drive is using (through code) so I could just call X:\setup.exe (assuming x is the drive letter), I know I could just look in my computer and use that in the code, but then if I reformat, add a drive, or the like my drive letter will change.
  7. Teatimer is installed with spybot but not enabled by default, just silently install it then add the following to the registry to enable. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run] "SpybotSD TeaTimer"="C:\\Program Files\\Spybot - Search & Destroy\\TeaTimer.exe"
  8. Hey guys, for some reason I am unable to have the icons installed when installing silently. My INI file is shown below, although I've tried many different combinations including the non INI method. What I would like to do is have the desktop icon, quick launch icon, and start menu icon installed. I've tried using the XALLSHORT=1 option, as well as just the independent XDesktop=1, XQuickLaunch=1, and XStartmenu=1 all within both the INI also have tried the immediatly following the start /wait Winamp5.0.8.msi /qb. No matter if the options are there or not NO icons are installed, the program installs fine to my %programfiles%\winamp directory and can be run, with all the registration info set in INI being issued, but no Icons in start menu, desktop, or quicklaunch. Whenver installed without /qb or /qn but rather manually it installs icons peferctly. Could someone please help. [SETUP] XMODERNSKIN=1 XALLSHORT=1 XFULL=1 XNAME=Winamper XKEY=XXXXX-XXXXX-XXXXX-XXXXX
  9. Does anyone know how the option to auto arrange desktop icons is set? I used regshot to monitor the registry and it noticed no changes. Anyone know how this can be done so that it can be added into a script? Thanks

  • Create New...