Page 1 of 2 12>
Topic Options
#66116 - 2002-06-05 12:22 AM Removing Webshots!?
dbeiser Offline
Fresh Scripter

Registered: 2001-03-22
Posts: 34
Loc: Melbourne, FL, USA
Found a couple examples of scripts uninstalling webshots but they don't take into account that the webshots uninstall program prompts for a YES/NO confirmation.

I've tried the following, but the sendkeys doesn't happen until the prior command finishes, hence the yes/no never gets answered.

$HKLMSMWCV = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion"
$remove=readvalue("$HKLMSMWCV\Uninstall\Webshots","UninstallString")
shell("$remove")
sendkeys("{enter}")

I need a silent uninstall of webshots.

Thanks in advance
_________________________
Dave Melbourne, FL

Top
#66117 - 2002-06-05 12:38 AM Re: Removing Webshots!?
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Have you tried running the uninstall string with a /s or /q, etc. attached to the end? A lot of uninstall proggys have silent uninstalls as wells as installs.
Top
#66118 - 2002-06-05 12:57 AM Re: Removing Webshots!?
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
download scriptit from microsoft... or Autoit from hiddensoft??
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#66119 - 2002-06-05 03:14 AM Re: Removing Webshots!?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
You can use SetFocus() in an IF loop to wait for the particular window you need to SendKeys() to.

Or use the low-tech SLEEP to allow time for the windoow to appear. Down side of this is the user may pre-empt it with a NO.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#66120 - 2002-06-05 03:33 AM Re: Removing Webshots!?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
What OS are you tring to remove it from? Please post an update as to what OS you want to remove it from and what version of KiXtart you're using please.
Top
#66121 - 2002-06-05 04:34 AM Re: Removing Webshots!?
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Don't know if there is a silent uninstaller for this. Tried /? -h /?? etc. to no avail.

The key you are looing for is:
quote:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webshots

%windir%\WebshotsUninstall.exe

HTH,

- Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#66122 - 2002-06-05 04:47 AM Re: Removing Webshots!?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
Thanks Kent,

I would still like to know what OS version. Sometimes the install/unistall works different on different OS

Top
#66123 - 2002-06-05 05:59 AM Re: Removing Webshots!?
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
No deal... When I decided to eliminate it from my network, I tried everything, including calling/emailing webshots corp.

No silent uninstall, the only real solution is scriptit or autoit (or the manual del the reg keys, dirs, menu items, etc... )
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#66124 - 2002-06-05 01:18 PM Re: Removing Webshots!?
Will Hetrick Offline
Hey THIS is FUN

Registered: 2001-10-02
Posts: 320
Loc: Harrisburg, PA USA
I dug up my old webshots uninstall and this is what I had in a batch file
code:
  
\\server\netlogon\uninstal.exe /a /s \\server\netlogon\install.log

With the install.log as follows
code:
 
*** Installation Started 04/18/01 16:46 ***
Title: The Webshots Desktop Installation
Source: D:\webswim.exe
RegDB Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webshots
RegDB Val: Webshots!
RegDB Name: DisplayName
RegDB Root: 2
RegDB Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webshots
RegDB Val: C:\WINNT\WebshotsUninstall.exe
RegDB Name: UninstallString
RegDB Root: 2
RegDB Root: 1
RegDB TREE: SOFTWARE/Webshots/Webshots Desktop
File Copy: C:\Program Files\Webshots\Languages\English.dll
File Copy: C:\Program Files\Webshots\Unwise.exe
File Copy: C:\Program Files\Webshots\Swebexec.exe
File Copy: C:\WINNT\Webshots.scr
File copy: C:\WINNT\WebshotsUninstall.exe
File Copy: C:\Program Files\Webshots\WebshotsTray.exe
File Copy: C:\Program Files\Webshots\webshots.wav
File Copy: C:\Program Files\Webshots\collectn.wba
Shell Link: C:\Documents and Settings\%username%\Desktop\Webshots Desktop!.lnk
Made Dir: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Uninstall Webshots Desktop.lnk
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
File Copy: C:\WINNT\webshots.bmp
User Rights: Admin
*** Installation Started 4/18/2001 4:49:53 ***
Title: Webshots Installation
Source: D:\WEBSHOTS\WEBUNI~1.EXE
File Copy: C:\Program Files\Webshots\Uninstal.EXE
RegDB Key: Software\Microsoft\Windows\CurrentVersion\Uninstall\Webshots
RegDB Val: Webshots
RegDB Name: DisplayName
RegDB Root: 2
RegDB Old: Webshots!
RegDB Key: Software\Microsoft\Windows\CurrentVersion\Uninstall\Webshots
RegDB Val: "C:\Program Files\Webshots\UNINSTAL.EXE" "C:\Program Files\Webshots\INSTALL.LOG" "Webshots Uninstall"
RegDB Name: UninstallString
RegDB Root: 2
RegDB Old: C:\WINNT\WebshotsUninstall.exe
Skipped File: C:\Program Files\Webshots\Unwise.exe
Skipped File: C:\Program Files\Webshots\Swebexec.exe
Skipped File: C:\Program Files\Webshots\WebshotsTray.exe
Skipped File: C:\Program Files\Webshots\webshots.wav
Skipped File: C:\Program Files\Webshots\INSTALL.LOG
Skipped File: C:\Program Files\Webshots\Collections\Swimsuit Sampler.wbc
Skipped File: C:\WINNT\webshots.bmp
Skipped File: C:\WINNT\Webshots.scr
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Startup\Webshots.lnk
Made Dir: C:\Documents and Settings\All Users\Start Menu\Programs\Webshots Desktop!
Shell Link: C:\Documents and Settings\All Users\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\All Users\Start Menu\Programs\Webshots Desktop!\Uninstall Webshots Desktop.lnk
Shell Link: C:\Documents and Settings\%username%\Desktop\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Desktop\Webshots Desktop!.lnk
RegDB Key: Control Panel\Desktop
RegDB Val: C:\WINNT\webshots.bmp
RegDB Name: Wallpaper
RegDB Root: 1
RegDB Old: C:\WINNT\webshots.bmp
RegDB Key: Control Panel\Desktop
RegDB Val: C:\WINNT\webshots.scr
RegDB Name: scrnsave.exe
RegDB Root: 1
RegDB Old: c:\winnt\webshots.scr
RegDB Key: Software\Webshots\Webshots Desktop\General
RegDB Val: U987626799
RegDB Name: UserID
RegDB Root: 1
RegDB Old: U987626799
RegDB Key: Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: HasBeenRun
RegDB Type: 3
RegDB Root: 1
RegDB Old: 1
RegDB Key: Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: RunCount
RegDB Type: 3
RegDB Root: 1
RegDB Old: 1
RegDB Key: Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: CloseCount
RegDB Type: 3
RegDB Root: 1
RegDB Old: 1
RegDB Key: Software\Webshots\Webshots Desktop\QuickNoteDialogs
RegDB Val: 1
RegDB Name: DontShowDialog6
RegDB Type: 3
RegDB Root: 1
RegDB Old: 1
RegDB Key: .wbc
RegDB Val: Webshots.Collection
RegDB Old: Webshots.Collection
RegDB Key: .wbc
RegDB Val: application/x-webshots
RegDB Name: Content Type
RegDB Old: application/x-webshots
RegDB Key: .wbz
RegDB Val: Webshots.Extension
RegDB Old: Webshots.Extension
RegDB Key: .wbz
RegDB Val: application/x-webshots
RegDB Name: Content Type
RegDB Old: application/x-webshots
RegDB Key: wbc_auto_file\shell\open\command
RegDB Val: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Old: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Key: wbz_auto_file\shell\open\command
RegDB Val: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Old: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Key: Webshots.Collection
RegDB Val: 00000100
RegDB Name: EditFlags
RegDB Type: 4
RegDB Old: 00000100
RegDB Key: Webshots.Collection\shell\open\command
RegDB Val: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Old: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Key: Webshots.Extension
RegDB Val: 00000100
RegDB Name: EditFlags
RegDB Type: 4
RegDB Old: 00000100
RegDB Key: Webshots.Extension\shell\open\command
RegDB Val: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Old: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Key: SOFTWARE\Gator.com\Trickler\Sessions\3ADDFD2F
RegDB Val: 2001/04/18 16:46:39.796 Started: c:\docume~1\%username%\locals~1\temp\fsg\fsg.exe ver 1.0.1.2)
RegDB Name: 00000000
RegDB Root: 2
RegDB Old: 2001/04/18 16:46:39.796 Started: c:\docume~1\%username%\locals~1\temp\fsg\fsg.exe ver 1.0.1.2)
RegDB Key: SOFTWARE\Gator.com\Trickler\Sessions\3ADDFD2F
RegDB Val: 2001/04/18 16:46:39.796 Aborting: found prev Trickler (Trickler_3ADDFAD4).
RegDB Name: 00000001
RegDB Root: 2
RegDB Old: 2001/04/18 16:46:39.796 Aborting: found prev Trickler (Trickler_3ADDFAD4).
RegDB Key: SOFTWARE\Gator.com\Trickler\Sessions\3ADDFD2F
RegDB Val: 2001/04/18 16:46:39.796 Ended
RegDB Name: 00000002
RegDB Root: 2
RegDB Old: 2001/04/18 16:46:39.796 Ended
RegDB Key: SOFTWARE\Microsoft\Cryptography\RNG
RegDB Val: 834A55F3D0A9F1971F5D3803C757BC0DADC60DE6298AAB785A59202C1146FA0C8F15E4E547321DB2925FD22576D6F381C894236C1029A0518ACD1C2EE46FB63A3E74D81CEC5B460983B2BDC433222B45
RegDB Name: Seed
RegDB Type: 4
RegDB Root: 2
RegDB Old: 6645AB251595389A004AF65F7B55BC12C7CA08DEFBF6D0D2B1DF8C71DD5392C1166DEE862C9E3F75B752D5AED768C722E2795586A36B0E3A1155E2E0B8DED6D3310871434649C1F5EAB12C1B2C65692F
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Control Panel\Desktop
RegDB Val: C:\WINNT\webshots.bmp
RegDB Name: Wallpaper
RegDB Root: 3
RegDB Old: C:\WINNT\webshots.bmp
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Control Panel\Desktop
RegDB Val: C:\WINNT\webshots.scr
RegDB Name: scrnsave.exe
RegDB Root: 3
RegDB Old: C:\WINNT\webshots.scr
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Software\Webshots\Webshots Desktop\General
RegDB Val: U987626799
RegDB Name: UserID
RegDB Root: 3
RegDB Old: U987626799
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: HasBeenRun
RegDB Type: 3
RegDB Root: 3
RegDB Old: 1
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: RunCount
RegDB Type: 3
RegDB Root: 3
RegDB Old: 1
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: CloseCount
RegDB Type: 3
RegDB Root: 3
RegDB Old: 1
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Software\Webshots\Webshots Desktop\QuickNoteDialogs
RegDB Val: 1
RegDB Name: DontShowDialog6
RegDB Type: 3
RegDB Root: 3
RegDB Old: 1
INI File: C:\WINNT\webshots.ini
INI Sect: PATHS
INI Item: SaverPath
INI Val: C:\WINNT\WEBSHOTS.SCR
INI Old: C:\WINNT\WEBSHOTS.SCR
INI File: C:\WINNT\webshots.ini
INI Sect: PATHS
INI Item: ProgramPath
INI Val: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE
INI Old: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE
INI File: C:\WINNT\webshots.ini
INI Sect: Language
INI Item: DefaultResourceFile
INI Val: C:\PROGRA~1\WEBSHOTS\Languages\English.dll
INI Old: C:\PROGRA~1\WEBSHOTS\Languages\English.dll
INI File: C:\WINNT\webshots.ini
INI Sect: DailyPhoto
INI Item: LastReminder_Year
INI Val: 2001
INI Old: 2001
INI File: C:\WINNT\webshots.ini
INI Sect: DailyPhoto
INI Item: LastReminder_Month
INI Val: 4
INI Old: 4
INI File: C:\WINNT\webshots.ini
INI Sect: DailyPhoto
INI Item: LastReminder_Day
INI Val: 17
INI Old: 17
INI File: C:\WINNT\webshots.ini
INI Sect: DailyPhoto
INI Item: LastReminder_Hour
INI Val: 16
INI Old: 16
INI File: C:\WINNT\webshots.ini
INI Sect: DailyPhoto
INI Item: LastReminder_Min
INI Val: 46
INI Old: 46
INI File: C:\WINNT\webshots.ini
INI Sect: General
INI Item: AppWindowTitle
INI Val: The Webshots Desktop - www.webshots.com
INI Old: The Webshots Desktop - www.webshots.com
INI File: C:\WINNT\webshots.ini
INI Sect: Status
INI Item: NextImage
INI Val: 0
INI Old: 0
INI File: C:\WINNT\webshots.ini
INI Sect: Status
INI Item: CurCollection
INI Val: C:\PROGRA~1\WEBSHOTS\Collections\Swimsuit Sampler.wbc
INI Old: C:\PROGRA~1\WEBSHOTS\Collections\Swimsuit Sampler.wbc
INI File: C:\WINNT\webshots.ini
INI Sect: Status
INI Item: WallpaperCurrentImage
INI Val: 6
INI Old: 6
INI File: C:\WINNT\webshots.ini
INI Sect: Status
INI Item: WallpaperCurrentCollection
INI Val: C:\PROGRA~1\WEBSHOTS\Collections\Swimsuit Sampler.wbc
INI Old: C:\PROGRA~1\WEBSHOTS\Collections\Swimsuit Sampler.wbc
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: LastYear
INI Val: 2001
INI Old: 2001
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: LastMonth
INI Val: 4
INI Old: 4
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: LastDay
INI Val: 18
INI Old: 18
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: LastHour
INI Val: 16
INI Old: 16
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: LastMinute
INI Val: 46
INI Old: 46
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: CalendarDisplayDay
INI Val: 18
INI Old: 18
INI File: C:\WINNT\webshots.ini
INI Sect: Effects
INI Item: Picture Slide
INI Val: 0
INI Old: 0
INI File: C:\WINNT\webshots.ini
INI Sect: Effects
INI Item: Hot Blocks
INI Val: 0
INI Old: 0
User Rights: Admin
*** Installation Started 4/18/2001 5:35:32 ***
Title: Webshots Installation
Source: D:\WEBSHOTS\WEBUNI~1.EXE
Made Dir: C:\Program Files\Webshots
File Copy: C:\Program Files\Webshots\Uninstal.EXE
RegDB Key: Software\Microsoft\Windows\CurrentVersion\Uninstall\Webshots
RegDB Val: Webshots
RegDB Name: DisplayName
RegDB Root: 2
RegDB Key: Software\Microsoft\Windows\CurrentVersion\Uninstall\Webshots
RegDB Val: "C:\Program Files\Webshots\UNINSTAL.EXE" "C:\Program Files\Webshots\INSTALL.LOG" "Webshots Uninstall"
RegDB Name: UninstallString
RegDB Root: 2
File Copy: C:\Program Files\Webshots\Unwise.exe
File Copy: C:\Program Files\Webshots\Swebexec.exe
File Copy: C:\Program Files\Webshots\WebshotsTray.exe
File Copy: C:\Program Files\Webshots\webshots.wav
File Copy: C:\Program Files\Webshots\INSTALL.LOG
Made Dir: C:\Program Files\Webshots\Collections
File Copy: C:\Program Files\Webshots\Collections\Swimsuit Sampler.wbc
File Copy: C:\Program Files\Webshots\Collections\Animals.wbc
File Copy: C:\Program Files\Webshots\Collections\Christmas.wbc
File Copy: C:\Program Files\Webshots\Collections\valentine.wbc
File Copy: C:\Program Files\Webshots\Collections\Easter.wbc
File Copy: C:\Program Files\Webshots\Collections\Love.wbc
File Copy: C:\Program Files\Webshots\Collections\Tropical Fish.wbc
File Copy: C:\Program Files\Webshots\Collections\Tropical paradise.wbc
File Copy: C:\Program Files\Webshots\Collections\Castles.wbc
File Copy: C:\Program Files\Webshots\Collections\fireworks.wbc
File Copy: C:\Program Files\Webshots\Collections\butterflies.wbc
File Copy: C:\Program Files\Webshots\Collections\Winter Scenes.wbc
File Copy: C:\Program Files\Webshots\Collections\Nature.wbc
File Copy: C:\Program Files\Webshots\Collections\Las Vegas.wbc
File Copy: C:\Program Files\Webshots\Collections\hot air balloons.wbc
File Copy: C:\Program Files\Webshots\Collections\flowers.wbc
File Copy: C:\Program Files\Webshots\Collections\Roses.wbc
File Copy: C:\Program Files\Webshots\Collections\travel.wbc
File Copy: C:\WINNT\webshots.bmp
File Copy: C:\WINNT\Webshots.scr
Shell Link: C:\Documents and Settings\%username%\Start Menu\Programs\Startup\Webshots.lnk
Made Dir: C:\Documents and Settings\All Users\Start Menu\Programs\Webshots Desktop!
Shell Link: C:\Documents and Settings\All Users\Start Menu\Programs\Webshots Desktop!\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\All Users\Start Menu\Programs\Webshots Desktop!\Uninstall Webshots Desktop.lnk
Shell Link: C:\Documents and Settings\%username%\Desktop\Webshots Desktop!.lnk
Shell Link: C:\Documents and Settings\%username%\Desktop\Webshots Desktop!.lnk
RegDB Key: Control Panel\Desktop
RegDB Val: C:\WINNT\webshots.bmp
RegDB Name: Wallpaper
RegDB Root: 1
RegDB Key: Control Panel\Desktop
RegDB Val: C:\WINNT\webshots.scr
RegDB Name: scrnsave.exe
RegDB Root: 1
RegDB Key: Software\Webshots\Webshots Desktop\General
RegDB Val: U987626799
RegDB Name: UserID
RegDB Root: 1
RegDB Key: Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: HasBeenRun
RegDB Root: 1
RegDB Key: Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: RunCount
RegDB Root: 1
RegDB Key: Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: CloseCount
RegDB Root: 1
RegDB Key: Software\Webshots\Webshots Desktop\QuickNoteDialogs
RegDB Val: 1
RegDB Name: DontShowDialog6
RegDB Root: 1
RegDB Key: .wbc
RegDB Val: Webshots.Collection
RegDB Key: .wbc
RegDB Val: application/x-webshots
RegDB Name: Content Type
RegDB Key: .wbz
RegDB Val: Webshots.Extension
RegDB Key: .wbz
RegDB Val: application/x-webshots
RegDB Name: Content Type
RegDB Key: wbc_auto_file\shell\open\command
RegDB Val: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Key: wbz_auto_file\shell\open\command
RegDB Val: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Key: Webshots.Collection
RegDB Val: 00000100
RegDB Name: EditFlags
RegDB Key: Webshots.Collection\shell\open\command
RegDB Val: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Key: Webshots.Extension
RegDB Val: 00000100
RegDB Name: EditFlags
RegDB Key: Webshots.Extension\shell\open\command
RegDB Val: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE %1
RegDB Key: SOFTWARE\Gator.com\Trickler\Sessions\3ADDFD2F
RegDB Val: 2001/04/18 16:46:39.796 Started: c:\docume~1\%username%\locals~1\temp\fsg\fsg.exe ver 1.0.1.2)
RegDB Name: 00000000
RegDB Root: 2
RegDB Key: SOFTWARE\Gator.com\Trickler\Sessions\3ADDFD2F
RegDB Val: 2001/04/18 16:46:39.796 Aborting: found prev Trickler (Trickler_3ADDFAD4).
RegDB Name: 00000001
RegDB Root: 2
RegDB Key: SOFTWARE\Gator.com\Trickler\Sessions\3ADDFD2F
RegDB Val: 2001/04/18 16:46:39.796 Ended
RegDB Name: 00000002
RegDB Root: 2
RegDB Key: SOFTWARE\Microsoft\Cryptography\RNG
RegDB Val: 834A55F3D0A9F1971F5D3803C757BC0DADC60DE6298AAB785A59202C1146FA0C8F15E4E547321DB2925FD22576D6F381C894236C1029A0518ACD1C2EE46FB63A3E74D81CEC5B460983B2BDC433222B45
RegDB Name: Seed
RegDB Type: 4
RegDB Root: 2
RegDB Old: 7F3BB9B294D31AB31478183308F7C2B5C2997616AA88FBB209827E7D0B8C4BF95A12123CDA09418ADA86CF2EDC6C5D2D09BD366D6E2378352AEA952BFA8A94F88C9C1B18FEC0B6D770CE4CE90CBB3F95
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Control Panel\Desktop
RegDB Val: C:\WINNT\webshots.bmp
RegDB Name: Wallpaper
RegDB Root: 3
RegDB Old: C:\WINNT\webshots.bmp
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Control Panel\Desktop
RegDB Val: C:\WINNT\webshots.scr
RegDB Name: scrnsave.exe
RegDB Root: 3
RegDB Old: C:\WINNT\webshots.scr
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Software\Webshots\Webshots Desktop\General
RegDB Val: U987626799
RegDB Name: UserID
RegDB Root: 3
RegDB Old: U987626799
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: HasBeenRun
RegDB Type: 3
RegDB Root: 3
RegDB Old: 1
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: RunCount
RegDB Type: 3
RegDB Root: 3
RegDB Old: 1
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Software\Webshots\Webshots Desktop\General
RegDB Val: 1
RegDB Name: CloseCount
RegDB Type: 3
RegDB Root: 3
RegDB Old: 1
RegDB Key: S-1-5-21-326852099-1603424837-312552118-10107\Software\Webshots\Webshots Desktop\QuickNoteDialogs
RegDB Val: 1
RegDB Name: DontShowDialog6
RegDB Type: 3
RegDB Root: 3
RegDB Old: 1
INI New: Created INI
INI File: C:\WINNT\webshots.ini
INI Sect: PATHS
INI Item: SaverPath
INI Val: C:\WINNT\WEBSHOTS.SCR
INI File: C:\WINNT\webshots.ini
INI Sect: PATHS
INI Item: ProgramPath
INI Val: C:\PROGRA~1\WEBSHOTS\SWEBEXEC.EXE
INI File: C:\WINNT\webshots.ini
INI Sect: Language
INI Item: DefaultResourceFile
INI Val: C:\PROGRA~1\WEBSHOTS\Languages\English.dll
INI File: C:\WINNT\webshots.ini
INI Sect: DailyPhoto
INI Item: LastReminder_Year
INI Val: 2001
INI File: C:\WINNT\webshots.ini
INI Sect: DailyPhoto
INI Item: LastReminder_Month
INI Val: 4
INI File: C:\WINNT\webshots.ini
INI Sect: DailyPhoto
INI Item: LastReminder_Day
INI Val: 17
INI File: C:\WINNT\webshots.ini
INI Sect: DailyPhoto
INI Item: LastReminder_Hour
INI Val: 16
INI File: C:\WINNT\webshots.ini
INI Sect: DailyPhoto
INI Item: LastReminder_Min
INI Val: 46
INI File: C:\WINNT\webshots.ini
INI Sect: General
INI Item: AppWindowTitle
INI Val: The Webshots Desktop - www.webshots.com
INI File: C:\WINNT\webshots.ini
INI Sect: Status
INI Item: NextImage
INI Val: 0
INI File: C:\WINNT\webshots.ini
INI Sect: Status
INI Item: CurCollection
INI Val: C:\PROGRA~1\WEBSHOTS\Collections\Swimsuit Sampler.wbc
INI File: C:\WINNT\webshots.ini
INI Sect: Status
INI Item: WallpaperCurrentImage
INI Val: 6
INI File: C:\WINNT\webshots.ini
INI Sect: Status
INI Item: WallpaperCurrentCollection
INI Val: C:\PROGRA~1\WEBSHOTS\Collections\Swimsuit Sampler.wbc
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: LastYear
INI Val: 2001
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: LastMonth
INI Val: 4
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: LastDay
INI Val: 18
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: LastHour
INI Val: 16
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: LastMinute
INI Val: 46
INI File: C:\WINNT\webshots.ini
INI Sect: Wallpaper
INI Item: CalendarDisplayDay
INI Val: 18
INI File: C:\WINNT\webshots.ini
INI Sect: Effects
INI Item: Picture Slide
INI Val: 0
INI File: C:\WINNT\webshots.ini
INI Sect: Effects
INI Item: Hot Blocks
INI Val: 0
User Rights: Admin


I had this running through SMS to run the batch file. I went from having 150 copies of webshots running to olny 13. I do not know if it asked the user to uninstall but it seemed to work.
_________________________
You have at least 2 choices. Each choice changes your destiny. Choose wisely!

Top
#66125 - 2002-06-05 01:19 PM Re: Removing Webshots!?
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
What I haven't tried, is (on nt 2k) is to detect it's presence, and then use cacls to remove all permissions to the folder but for MIS groups.

It might be installed, but it certainly will not run.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#66126 - 2002-06-05 01:21 PM Re: Removing Webshots!?
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
notice gator in there... That is the number 1 reason I had permission to BAN it from my network.

NO spyware (except for ours...) [Big Grin]
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#66127 - 2002-06-05 03:51 PM Re: Removing Webshots!?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I've just been testing Ad-Aware from LavaSoft. Interesting program. I'm now going to figure out how to run it in an automated way to regularly clean up the spy-ware mess.
_________________________
There are two types of vessels, submarines and targets.

Top
#66128 - 2002-06-05 03:59 PM Re: Removing Webshots!?
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
it has a startup feature to scan and remove... Just like Antivirus... As well as automated updates.

Another winner for the admin toolbox.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#66129 - 2002-06-05 04:15 PM Re: Removing Webshots!?
dbeiser Offline
Fresh Scripter

Registered: 2001-03-22
Posts: 34
Loc: Melbourne, FL, USA
I'm currently running Kix32 version 3.63 in production, but plan on switching to the current version of 4 soon.

I need to come up with a way to uninstall webshots from both Win2K and Win NT workstations.

It appears I'm going to have to investigate the scriptit or autoit route.

Thanks,

[ 05 June 2002, 16:16: Message edited by: dbeiser ]
_________________________
Dave Melbourne, FL

Top
#66130 - 2002-06-06 12:01 AM Re: Removing Webshots!?
dbeiser Offline
Fresh Scripter

Registered: 2001-03-22
Posts: 34
Loc: Melbourne, FL, USA
Webshots ought to be SHOT!

The only way to get it to fully uninstall is to run their webshotsuninstall.exe program and it doesn't have any commandline options.

I downloaded autoit and wrote the following test scripts to uninstall webshots and it works, but when I try to call autoit from a kixtart script it hangs. Autoit shows up in the icon tray but never runs the script.

autoit script:

Send, c:\\winnt\\Webshotsuninstall.exe
Send, {ENTER}
WinWaitActive, Webshots Uninstaller, Are you SURE
Send, !y
WinWaitActive, The Webshots Desktop!, Would you please
Send, !n

Kixtart script calling it:

$dest="c:\temp"
cd $dest
shell "%COMSPEC% /C autoit.exe webshots.aut"
rd "c:\program files\webshots"

Thanks in advance,

Dave
_________________________
Dave Melbourne, FL

Top
#66131 - 2002-06-06 01:58 AM Re: Removing Webshots!?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
Well Dave, The Docs in the house and was feeling sorry for you so I wrote this script for you.

Then you go and post you're running KiXtart v3.63 [Frown]

Sorry, but I wrote this code to work with v4.02

Don't despair too much though, as it can easily be converted to work with v3.63

The KEYEXIST can be modified to EXISTKEY and the variable $xa=LEFT will need to be modified to find only the first 3 characters of the installed drive letter. i.e. C:\ or D:\ or E:\ etc...

WARNING!! The Surgeon General has determined that Schnapps Shots are better then WebShots so take a shot of Schnapps and then start working on this perscription of code. [Cool]

NOTE: Don't forget to get the PrcView program and modify the code to copy somewhere on your local machines where users have the right to write.

code:
;** RemoveWebShots.kix
;** v1.0 Only tested on Windows 2000
;** NOTE: Wallpaper and Screensaver are not reset on Win9x
;** You need to edit WIN.INI and SYSTEM.INI files to alter those settings on Win9x and this script does not do that.
;** This script works with KiXtart v4.02 and removes the WebShots program
;** Written By NTDOC 06/05/2002
;** Webshots Home Page: http://www.webshots.com
;** Script requires PrcView and KiXtart v4.02
;** PrcView is a process viewer utility that displays detailed information about processes running under Windows
;** Location to get a copy of PrcView is: http://www.xmlsp.com/pview/prcview.htm
;** Modify code so that PV.EXE and PSAPI.DLL is copied from your server to the local Workstation.
;** PSAPI.DLL is only needed for Windows NT/2000 systems, not for Windows 9x systems.

BREAK ON ;rem out this line to prevent user from terminating the script.
$ProgramFiles=READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "ProgramFilesDir")
IF EXIST("$ProgramFiles\Webshots\WebshotsTray.exe")
$WebShotActive=1
GOSUB "STOPSHOT"
GOSUB "REMOVE"
RETURN
ENDIF
RETURN

:STOPSHOT

$StartMenu=READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Start Menu")
$StartUpFolder=READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Startup")
$DeskTop=READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Desktop")
$CurrentSaver=READVALUE("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE")
$CurrentWallpaper=READVALUE("HKEY_CURRENT_USER\Control Panel\Desktop", "Wallpaper")
$StartValue="HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main"
$CurrentWebPage=READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Start Page")
$DefaultWebPage="http://www.google.com" ; URL you want the user's home page set to after the removal"
$WebShotFullURL="http://www.webshots.com/r/internal/start/client/RAND"
$WebShotPage="http://www.webshots.com"
$EndWebShots = '%windir%\pv.exe -k -f WebshotsTray.exe'
$xa=LEFT($ProgramFiles, 3)
$xb= $xa +"PROGRA~1\Webshots\Swebexec.exe"
IF @INWIN=1
$SSName="%windir%\system32\ssmyst.scr"
$BitMap="%windir%\Soap Bubbles.bmp"
$NewSaver=WRITEVALUE("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "$SSName", "REG_SZ")
$DefaultWallpaper=WRITEVALUE("HKEY_CURRENT_USER\Control Panel\Desktop", "Wallpaper", "$BitMap", "REG_SZ")
ENDIF
IF INSTR(READVALUE($StartValue,"Start Page"),$WebShotPage)
$x=WRITEVALUE($StartValue,"Start Page", "$DefaultWebPage", "REG_SZ")
ENDIF

SELECT
CASE @INWIN=2
IF (EXIST("%WINDIR%\PV.EXE") = 0)
COPY "C:\PVIEW\PV.EXE" %WINDIR%
ENDIF
IF $WebShotActive
SHELL $EndWebShots
ENDIF
CASE @INWIN=1
IF INGROUP("\\@WKSTA\Administrators")<>0 ; Verifies user is an Administrator on the system
IF (EXIST("%WINDIR%\PV.EXE") = 0)
COPY "C:\PVIEW\PV.EXE" %WINDIR%
IF (EXIST("%WINDIR%\PSAPI.DLL")= 0)
COPY "C:\PVIEW\PSAPI.DLL" %WINDIR%
ENDIF
ENDIF
IF $WebShotActive
SHELL $EndWebShots
ENDIF
ELSE
; abort out, user is not a local admin. Can't remove with this account. Add code to log if you want to.
RETURN
ENDIF
ENDSELECT
RETURN

:REMOVE
$x=DELTREE("HKEY_CURRENT_USER\Software\Webshots")
$x=DELTREE("HKEY_CLASSES_ROOT\.wbc")
$x=DELTREE("HKEY_CLASSES_ROOT\.wbp")
$x=DELTREE("HKEY_CLASSES_ROOT\.wbz")
$x=DELTREE("HKEY_CLASSES_ROOT\wbc_auto_file")
$x=DELTREE("HKEY_CLASSES_ROOT\Webshots.Collection")
$x=DELTREE("HKEY_CLASSES_ROOT\Webshots.Extension")
$x=DELTREE("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webshots")
$x=DELVALUE("HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator\User Trusted External Applications", "$xb")
$x=DELVALUE("HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator\Viewers", "application/x-webshots")

IF @INWIN=1
$RemoveFiles='%comspec% /c RD /S /Q "$ProgramFiles\Webshots"'
$RemoveTemp='%comspec% /c RD /S /Q "%temp%\WebshotsTemp"'
$RemoveWSMenu='%comspec% /c RD /S /Q "$StartMenu\Programs\Webshots Desktop!"'
ELSE
$RemoveFiles='%comspec% /c %WINDIR%\COMMAND\DELTREE /Y "$ProgramFiles\Webshots" '
$RemoveTemp='%comspec% /c %WINDIR%\COMMAND\DELTREE /Y "%temp%\WebshotsTemp" '
$RemoveWSMenu='%comspec% /c %WINDIR%\COMMAND\DELTREE /Y "$StartMenu\Programs\Webshots Desktop!" '
ENDIF
SHELL "$RemoveFiles >nul 2>nul"
SHELL "$RemoveTemp >nul 2>nul"
SHELL "$RemoveWSMenu >nul 2>nul"
DEL "$Desktop\Webshots Desktop!.lnk"
DEL "$StartUpFolder\Webshots.lnk"
DEL "%WINDIR%\WEBSHOT*.BMP"
DEL "%WINDIR%\Webshots.scr"
DEL "%WINDIR%\Webshots.ini"
DEL "%WINDIR%\WebshotsForAdministrator.bmp"
DEL "%WINDIR%\WebshotsUninstall.exe"
RETURN


Top
#66132 - 2002-06-06 02:05 AM Re: Removing Webshots!?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Hey Dave, I think that Doc gave a 5 star rating
performance with this script, eh ?

Top
#66133 - 2002-06-06 02:13 AM Re: Removing Webshots!?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If I still had five stars left to give, then DOC would certainly get all five.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#66134 - 2002-06-06 02:16 AM Re: Removing Webshots!?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
Gee - Thanks guys. [Big Grin] You're making me blush
Top
#66135 - 2002-06-06 02:20 AM Re: Removing Webshots!?
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I think that script deserved a vote and acted accordingly.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
Page 1 of 2 12>


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 483 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.076 seconds in which 0.029 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org