Help - Search - Members - Calendar
Full Version: Webshots Desktop
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
muslim
how can i install this app unttended

Webshots Desktop

i was tried


wssetup.exe /s But it was wrong

can any one help me now plz
mazin
Happy RAMADAN.

I think it could be installed via a script (JS or VBS).
muslim
thank you my friend mazin for ramadan

but how can i do that
thank you
crahak
You could also use AutoIt or repackage it... I never tried to install it unattended but I might have a peek.
muslim
but how laugh.gif biggrin.gif
mazin
Webshots Desktop v2.0

Put the following files in this directory: X:\XPCD\$OEM$\$1\Install\Webshots\

1- wbsamp.exe (downloaded EXE = 2.10 MB)
2- webshots.js
3- webshots.reg

QUOTE (your batch)
cls
@echo off
ECHO.
ECHO Webshots Desktop 2.0
start /wait %systemdrive%\Install\Webshots\webshots.js
del "%UserProfile%\Desktop\Webshots Desktop.lnk"
REGEDIT /S %systemdrive%\Install\Webshots\webshots.reg
ECHO.

QUOTE (webshots.js)
var WshShell = WScript.CreateObject ("WScript.Shell");
WshShell.RUN ("%systemdrive%\\Install\\Webshots\\wbsamp.exe");
WScript.Sleep(10000);//time to extract EXE
WshShell.AppActivate("Welcome");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(500);
WshShell.SendKeys ("{TAB 3}");
WScript.Sleep(500);
WshShell.SendKeys (" ");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(15000);//time to install
WshShell.RUN ("taskkill /F /IM webshots.scr");

QUOTE (webshots.reg)
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"SCRNSAVE.EXE"=""

[HKEY_CURRENT_USER\Software\Webshots\The Webshots Desktop\User Options]
"ShowSplash"=dword:00000000

[HKEY_CURRENT_USER\Software\Webshots\The Webshots Desktop\User Options]
"DetectCamera"=dword:00000000

[HKEY_CURRENT_USER\Software\Webshots\The Webshots Desktop\User Options]
"NotifyNewPhotos"=dword:00000000

[HKEY_CURRENT_USER\Software\Webshots\The Webshots Desktop\User Options]
"UseAsWallpaper"=dword:00000001

[HKEY_CURRENT_USER\Software\Webshots\The Webshots Desktop\User Options]
"WallpaperCycleIndex"=dword:00000003

[HKEY_CURRENT_USER\Software\Webshots\The Webshots Desktop\User Options]
"CalFutureMonthsIndex"=dword:00000000


_________ WallpaperCycleIndex values _______

0 = never
1 = 15 minutes
2 = 30 miutes
3 = 01 hours
4 = 04 hours
5 = 24 hours
Sanjay
Thanks Mazin, this works great.
Webshots Tweaks:
CODE
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Webshots\The Webshots Desktop\User Options]
; Off = 0
; On = 1
"ShowSplash"=dword:00000000
"DetectCamera"=dword:00000000
"NotifyNewPhotos"=dword:00000000
"UseAsScreenSaver"=dword:00000001
"UseAsWallpaper"=dword:00000001
"WallpaperShowTitle"=dword:00000000
;---- WallpaperCycleIndex values
; 0 = never
; 1 = 15 minutes
; 2 = 30 miutes
; 3 = 01 hours
; 4 = 04 hours
; 5 = 24 hours
"WallpaperCycleIndex"=dword:00000005
"ShowCal"=dword:00000000
;--- Calendar Size
; Small = 0
; Medium = 1
; Large = 2
"CalTextSizeIndex"=dword:00000000
;--- Week Starts On
; Sunday = 0
; Monday = 1
"CalStartDayIndex"=dword:00000001
;--- Transition Effects
; Off = 0
; ON = 1
"EffEnabled"=dword:00000001
;--- Transition Speed
; Long = 0
; Medium = 1
; Short = 2
"EffBasicSpeed"=dword:00000001
"EffBasicChosen"="start#Angle Sweeps#Plus Sweeps#Scanner Sweeps#Picture Slide#Weave Lines#Scroll Blocks#Scramble#Raindrops#Dripping Paint#"
The Glimmerman
Run the setup [wbsamp.exe]
Do nothing and goto your temp directory
You will see a directory 'WebshotsTemp'.
In that dir U will see 2 files;

1) WebshotsAutoCollection.wbp
2) wssetup.exe

Move them 2 the install dir
Make a batchfile with this in it.

CODE
CLS
@ECHO OFF
TITLE Webshots Desktop 2.0

START /WAIT %SYSTEMDRIVE%\Install\Webshots\wssetup.exe /S
TaskKill /F /IM webshots.scr
DEL /F "%USERPROFILE%\Desktop\Webshots Desktop.lnk"
REGEDIT /S %SYSTEMDRIVE%\Install\Webshots\webshots.reg
ECHO.


welcome.gif good luck
mazin
QUOTE (The Glimmerman @ Oct 31 2004, 02:25 AM)
1) WebshotsAutoCollection.wbp
2) wssetup.exe

Yeah...this is what I posted here: http://www.msfn.org/board/index.php?showto...ndpost&p=213626
Sanjay
QUOTE (The Glimmerman @ Oct 31 2004, 05:55 AM)
Run the setup [wbsamp.exe]
Do nothing and goto your temp directory
You will see a directory 'WebshotsTemp'.
In that dir U will see 2 files;

1) WebshotsAutoCollection.wbp
2) wssetup.exe

Move them 2 the install dir
Make a batchfile with this in it.

CODE
CLS
@ECHO OFF
TITLE Webshots Desktop 2.0

START /WAIT %SYSTEMDRIVE%\Install\Webshots\wssetup.exe /S
TaskKill /F /IM webshots.scr
DEL /F "%USERPROFILE%\Desktop\Webshots Desktop.lnk"
REGEDIT /S %SYSTEMDRIVE%\Install\Webshots\webshots.reg
ECHO.

This does not work. Well it works in basically installing Webshots, but it does not install any sample pictures and therefore Webshots is turned off by default due to the unavailability of any pictures to Webshots. The Script above by Mazin works fine on the other hand.
mazin
Yes! I PMed that method to muslim (the poster) and he reported the same result, too. Extraction method didn't work.
I think we can stick to that script unless there's news.

However, there's a good idea if you have a lot of pics other than those installed by default. Especially, if you frequently download pics and don't want to lose them when formatting your system drive.

Have you tried something like that?
Sanjay
QUOTE (mazin @ Nov 1 2004, 02:44 AM)
Yes! I PMed that method to muslim (the poster) and he reported the same result, too. Extraction method didn't work.
I think we can stick to that script unless there's news.

However, there's a good idea if you have a lot of pics other than those installed by default. Especially, if you frequently download pics and don't want to lose them when formatting your system drive.

Have you tried something like that?

I have lots of pics in my Webshots Data folder in My Documents. After I am done with my unattended installation I cut and paste the Favorites folder into the My Documents folder (C:\Documents and Settings\User\My Documents). I then cut and move the 'My Documents' Folder to 'D:\User\My Documents'. This way every time I reformat I do not lose My Documents or anything inside it including the 'Webshots Data folder with all my pictures.

By the way what is the lowest amount of time that you have had success with in the script:
CODE
WScript.Sleep(10000);//time to extract EXE

WScript.Sleep(15000);//time to install

I tried the following succesfully:
CODE
WScript.Sleep(4000);//time to extract EXE

WScript.Sleep(5000);//time to install
I suppose this is something that would be somewhat dependent on the computer speed, right?
mazin
QUOTE
- After installation:

1- Open Webshots, go to Options --> Advanced. Press "Move Photos...".
In the "Folder name" field, type D:\WebShots, and press "Select".

- For unattended installation:

2- Add this line to your batch file:

RD /S /Q "%UserProfile%\My Documents\Webshots Data"

3- Add this tweak to your webshots.reg:

[HKEY_CURRENT_USER\Software\Webshots\The Webshots Desktop\General]"Photo Storage Folder"="D:\\WebShots\\"

- You need to do the first step only once.
- Steps 2 & 3 are done every unattended installation.


This is how I do it.

And yes, your intervals (4000, 5000) are quite enough.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.