Help - Search - Members - Calendar
Full Version: Setup Slideshow
MSFN Forums > Customizing Windows and Graphics > Setup Billboard Screens for Windows
Pages: 1, 2

   
Google Internet Forums Unattended CD/DVD Guide
websee
well, i didnt know exactly into which forum to put this, but i wasnt satisfiyed with the ability to edit the Setup Billboard.

so i decided to do it better.
i wanted to have a picture slideshow instead of the windows text, which can be edited, but it remains text.

so i made a small script that can be launched from DetachedProgram and replaces the windows text messages with your custom picture slideshow.

this should adjust itself to any setup resolution. even to widescreen ones.



look config.js to adjust the tiomeout (how often the images should be changed.)
unfortunately you have to make an imagelist and put it into filelist.js
CODE
var images = new Array(
"image1.jpg",
"image2.jpg"

);


you can also add your own text that is displayed above the images (any HTML tag can be used there), otherwise leave it empty. then no text is displayed. (you dont have to make an empty text entry for each image)

last but not least edit slideshow.cmd to enter the prper path to the slideshow and start slideshow.cmd form DetachedProgram in winnt.sif.

did i miss something?
any comments?
plz some feedback
ml20
nice. i will have to give this a run some day smile.gif
SaintLaur
Interesting, but can be aplied some gifs or can be changed with slideshow just some parts of entire picture ?
websee
you can add any image that can be viewed by internet explorer.
jpg, gif (even animated), bmp, png, ....

QUOTE (SaintLaur @ Apr 3 2005, 03:57 PM)
or can be changed with slideshow just some parts of entire picture ?
*

you can edit your images in photoshop first and then add them to the slideshow.
i do not exactly understand what you mean.
mikoinlove
nice nice nice woot.gif
that was one of my problems i was trying to solve
but can you explain "what should i do to preview the photos of the windows" in steps pleeeze.
and nice work thumbup.gif
websee
i dont exactly understand what you mean, but if you want to preview the slideshow, then you can simply do this by executing slideshow.hta (simply doubleclick on it)
stasys44
@ websee
start slideshow.cmd form DetachedProgram in winnt.sif.


Should I write section in winnt.sif:
[DetachedProgram]
???
websee
ok this should help

open up slideshow.cmd and replace %PATHTOSLIDESHOW% by the path where your slideshow folder will be located on the cdrom
eg if your slideshow resides in D:\slideshow\slideshow.hta your last line should look like:
CODE
start %CDROM%\slideshow\slideshow.hta

remember not to have any spaces in your folder names.
open up your winnt.sif and under [GuiUnattended] add the line
CODE
DetachedProgram="%systemdrive%\install\slideshow.cmd"

last but not least put slideshow.cmd into $OEM$\$1\install in your windows cd.

burn, enjoy
Bâshrat the Sneaky
Magnificent smile.gif

I will definetely include this! I hadn't even thought of this smile.gif

Thanks!

Bâshrat the Sneaky has added a bookmark
mikoinlove
now i do understand you welcome.gif
but can i do this without useing winnt.sif file and use the file TXTSETUP.SIF ????????????????? cool.gif
websee
no because TXTSETUP.SIF is not responsible for this kind of launches. as far as i can remember TXTSETUP.SIF is responsible for device drivers. only winnt.sif can launch a program at the very beginning of the installation througth detachedprogram
see http://unattended.msfn.org/global/timeline.htm for details
stasys44
@ websee
Thanks!

DetachedProgram="%systemdrive%\install\slideshow.cmd"
It's like to launch WPI; the difference - WPI comes in first reboot after Windows installation.
SaintLaur
Can be replaced this images with flash movies ? (like .swf for example)
websee
no, actually you can't

but this is a good idea, ill make file extra for u where you can embed flash, but it'll take some time, due to i am unfamiliar with embedding flash in html
Martijn
This reminds me of the good old ME days, during that setup there whas a sort of slide show too. Great idea to do this in xp!!
zzzz
Hi websee,

I haven't tried yet but I see in the picture you posted it's just a part of the screen. What variable do I need to change to make it expand to the whole screen? Like in this picture:



Do the pictures in the slideshow has to be in the same format as described in the section about WINNTBBU.DL_?

Thanks in advance.
websee
there is no variable to expand it to the whole screen, because then you wont be able to see the text on the left. the one u have is made with editing winntbbu.dl_

QUOTE (websee @ Apr 5 2005, 04:15 AM)
you can add any image that can be viewed by internet explorer.
jpg, gif (even animated), bmp, png, ....
zzzz
OK, thanks.

I'm still waiting for someone to come up with a slideshow of winntbbu biggrin.gif tongue.gif
websee
hmm, a flash movie does not seem to work, because you must have flash installed in order to play flash movies, and u dont at the beginning of a windows installation. the only thing that should work is outputting ur flash mivie as .exe and then loading it directly into detachedprogram
laza
unsure.gif

Tried this but no work, winntbbu loaded instead.
must have done something wrong.
muiz
it wont start no.gif
websee
what is the error u get? and what did u do or not do?
muiz
i tried many things to start it, but ...no way
websee
if u dun tell me what u did i cannot tell what u did wrong
muiz
all u can imagine, to much to post here.

no matter what

it just dont work.....

CODE
start %CDROM%\slideshow\slideshow.hta
remember not to have any spaces in your folder names.
open up your winnt.sif and under [GuiUnattended] add the line
DetachedProgram="%systemdrive%\install\slideshow.cmd"
Siginet
Works like a charm. smile.gif Thanks a lot!
nodor
When I run slideshow.hta on the cd I get
error in the script on this page
line: 5
Char 1
Error Expected ')'
Code 0
URL file//D:\software\Slideshow\slideshow.hta
any thoughts on this?
nodor
websee
if you did not modify slideshow.hta then there must be an error in filelist.js
check it for errors. did you close the quotation marks? make sure you do not have a
CODE
,
after the last entry. make sure you have a
CODE
);
at the end of your filelist.
if you think that everything is all right then plz post your filelist.js and config.js here and ill look into it
nodor
Thanks websee

My mistake was really stupid.

I added a bunch of pics but forgot to add a comma to the end of the second one. works fine now. I appreciate your help.
-=Nodor=-
123321
Nice!!!

Please help!

you only mentined to put slideshow.cmd into the $oem$\$1\install folder,
but what about the other files and the images where do they go to?


Do they have to be in the $oem$\$1\install folder?
can they be input into another location because for me it does not work at all.

would you kindly give a step by step tutorial.

Pleeeeaasseeee!



Thank you so much!
websee
they can be put anywhere on the cd. thats why you have to put the path to slideshow.hta into slideshow.cmd
CODE
start %CDROM%%PATHTOSLIDESHOW%slideshow.hta

you simply replace this with your path e.g.
CODE
start %CDROM%\Software\Slideshow\slideshow.hta


filelist.js, config.js text.js and defaultback.jpg must be in the same folder like slideshow.hta
your images can theoretically be anywhere, but i prefere to put them in a seperate imgaes folder inside the slideshow folder. then you will have to write the paths to the images into filellist.js like this:
CODE
var images = new Array(
"images/image1.jpg",
"images/image2.jpg"

);


remember: slideshow.cmd uses windows file paths (use \ 'backslash' for folder seperations), but filelist.js uses web format for paths (use / 'normal slach' for folder seperations)

i hope this helps. if not feel free to ask questions
123321
Thank you for your info, but I am still having difficulities.

This is what I did, please tell me if I have made any mistakes.

- I copy all the slideshow files including the images I want for the slideshow
into the path: $OEM$\$1\install.
-Inside the filelist.js_ I input the image's name such as you have it in your example
Image1, Image2, Image3, etc...(my images names are Image1, Image2, Image3, etc...) In the end I imput the code...
CODE
);
.
-Then I edit slideshow.cmd and the code for that is:
CODE
start %CDROM%\slideshow\slideshow.hta

-Inside the Winnt.sif file, I imput the code under [guiunattend]:
CODE
DetachedProgram="%systemdrive%\install\slideshow.cmd"

-I also change the "defaultback" image from the original pixel size to
739x637 because I want all the images to be the same size when the slide show starts.
-I also created a directory label "slideshow" and copy that into my XP folder (not into the I386 folder), with all the slideshow commands, as well as the images because
since the code:
CODE
start %CDROM%\slideshow\slideshow.hta
was mentions in one of your post, I thought I have to create a directory label "slideshow" into my XP folder.

when I burn it and test it, the slideshow does not work.

It would be nice to say provide steps on what is it exactly you made this work.
Please, please, please!

If I happen to have successfully made it work, how long will it take for that slideshow to appear? (In your image post, I saw that your slideshow started working even before windows setup starts installing.)

I also got some other commands under: [guiunattended]
does
CODE
 DetachedProgram="%systemdrive%\install\slideshow.cmd"

must be at the end of the command or can it be anywhere else.

This is how my [guiunattended] looks like:
CODE
[GuiUnattended]
   DetachedProgram="%systemdrive%\install\slideshow.cmd"    
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=35
   OemSkipWelcome=1
websee
to test your slideshow simply doubleclick slideshow.hta to see if it works the way you want it to look. and yes it should appear directly at the beginning of the setup.

QUOTE (123321 @ Jun 3 2005, 09:56 PM)
- I copy all the slideshow files including the images I want for the slideshow
into the path: $OEM$\$1\install.

only slideshow.hta is required in $OEM$\$1\install

QUOTE (123321 @ Jun 3 2005, 09:56 PM)
-Inside the  filelist.js_ I input the image's name such as you have it in your example
Image1, Image2, Image3, etc...(my images names are Image1, Image2, Image3, etc...)

it must be named "filelist.js" not "filelist.js_". and could you plz post your filelist.js?

QUOTE (123321 @ Jun 3 2005, 09:56 PM)
-I also change the "defaultback" image from the original pixel size to
739x637 because I want all the images to be the same size when the slide show starts.

this is not required at all because the program automatically changes the size of all your images including defaultback.jpg to the appropriate size to fit your monitor resolution.

remember: do not make any changes to slideshow.hta

if nothing helps, mail me your files (slideshow.hta, slideshow.cmd, filelist.js, config,js and text.js) without the images to websee@gmx.net and ill look into what you could have done wrong
123321
Sorry, the file is name filelist.js not filelist.js_.

The thing is that I've been testing out that CD in my 2nd partition because I do
not want to format my C:\. Does this have any problems as to preventing my
slideshow from working?

Oh and here are my files.

Filelist.js
CODE
var images = new Array(
"image1.jpg",
"image2.jpg",
"image3.jpg",
"image4.jpg",
"image5.jpg",
"image6.jpg",
"image7.jpg",
"image8.jpg",
"image9.jpg",
"image10.jpg",
"image11.jpg",
"image12.jpg",
"image13.jpg",
"image14.jpg",
"image15.jpg",
"image16.jpg",
"image17.jpg",
"image18.jpg",
"image19.jpg",
"image20.jpg",
"image21.jpg",
"image22.jpg",
"image23.jpg",
"image24.jpg",
"image25.jpg",
"image26.jpg",
"image27.jpg",
"image28.jpg",
"image29.jpg",
"image30.jpg"

);
websee
well this looks good. perhaps you made a misteke in the path to slideshow.hta

test your slideshow in a native windows by running slideshow.hta and tell me if you get any errors
123321
When i click on slideshow.hta there are no errors and it runs perfectly.

Well here are my files for the slideshow

This is slide show.cmd

CODE
cmdow @ /HID
@echo off

IF EXIST C:\win51ip.SP2 set CDROM=C:
IF EXIST D:\win51ip.SP2 set CDROM=D:
IF EXIST E:\win51ip.SP2 set CDROM=E:
IF EXIST F:\win51ip.SP2 set CDROM=F:
IF EXIST G:\win51ip.SP2 set CDROM=G:
IF EXIST H:\win51ip.SP2 set CDROM=H:
IF EXIST I:\win51ip.SP2 set CDROM=I:
IF EXIST J:\win51ip.SP2 set CDROM=J:
IF EXIST K:\win51ip.SP2 set CDROM=K:
IF EXIST L:\win51ip.SP2 set CDROM=L:
IF EXIST M:\win51ip.SP2 set CDROM=M:
IF EXIST N:\win51ip.SP2 set CDROM=N:
IF EXIST O:\win51ip.SP2 set CDROM=O:
IF EXIST P:\win51ip.SP2 set CDROM=P:
IF EXIST Q:\win51ip.SP2 set CDROM=Q:
IF EXIST R:\win51ip.SP2 set CDROM=R:
IF EXIST S:\win51ip.SP2 set CDROM=S:
IF EXIST T:\win51ip.SP2 set CDROM=T:
IF EXIST U:\win51ip.SP2 set CDROM=U:
IF EXIST V:\win51ip.SP2 set CDROM=V:
IF EXIST W:\win51ip.SP2 set CDROM=W:
IF EXIST X:\win51ip.SP2 set CDROM=X:
IF EXIST Y:\win51ip.SP2 set CDROM=Y:
IF EXIST Z:\win51ip.SP2 set CDROM=Z:

start %CDROM%\Install\slideshow.hta


i also created a folder label "install" and put it into my xp CD.
inside the "install" folder are my images and the files for slideshow, except
for slideshow.cmd, since you mentioned that it can be in %oem%\$1\install

could there be something wrong with my winnt.sif?

here is my winnt.sif

CODE
;SetupMgrTag

[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended

[GuiUnattended]
 DetachedProgram="%systemdrive%\Install\slideshow.cmd"

[Shell]
CustomDefaultThemeFile="%WinDir%\Resources\Themes\FairySugar.theme"


I created a folder label "install" and put all the images including the slideshow files except slideshow.cmd, and burn it into my XP CD, but it still does not work, i just do not get it!

Also i am using a DVD disc, does that have anything to do with it?

btw: thank you so much for your help and patience. biggrin.gif
websee
well, this should work if you put all your slideshow files except slideshow.cmd (which goes into $oem$\$1\install) into the install folder on your cd.
123321
QUOTE (websee @ Jun 5 2005, 04:51 AM)
well, this should work if you put all your slideshow files except slideshow.cmd (which goes into $oem$\$1\install) into the install folder on your cd.
*



Heh, actually I did do that, but some how it does not work.

I wonder is my PC have anything against me? laugh.gif

Oh well, would you please tell me if there is any mistake with my winnt.sif.
could there be a error on it, to make it not work properly?

The thing is that all I want it the slideshow to work and that is it. No other automated stuff.

Here is my winnt.sif
CODE
;SetupMgrTag

[Data]
  AutoPartition=0
  MsDosInitiated="0"
  UnattendedInstall="Yes"

[Unattended]
  UnattendMode=FullUnattended

[GuiUnattended]
DetachedProgram="%systemdrive%\Install\slideshow.cmd"

[Shell]
CustomDefaultThemeFile="%WinDir%\Resources\Themes\FairySugar.theme"



Never mind, I think i'll just take a closer look at my mistakes and
maybe some day it will work.
As for now i have other important things to do.

Thanks for your help! cool.gif
123321
Okay it seems that I really want this thing to work, but somehow it just not work for me
and it is really p***ing me off! realmad.gif realmad.gif

I've tried everything!

Would any of you please tell me what is it your guys and gals did to make it work?

In the ref.chm file, does the detachedprogram command line, does it need any
arguments such as /n/s because in the ref.chm they did not say a god ****. thing about what does those aruguments do or what they meant!


Anyone who have successfully made this thing work, please help/

Thanks in advanced biggrin.gif
websee
do you do this on a windows xp sp2 cd? or on any other windows installation. it was designed for windows xp sp2. if not create an empty text file, name it win51ip.SP2 and put it in the root of ur cd. this coluld also be the case.


try entering %SYSTEMROOT%\system32\cmd.exe into detached program and see if you get a command prompt at the start of the installation just to test detachedprogram
look into ur windows installation and check if there is a file slideshow.cmd in a directory called install. perhaps it did not copy properly?
123321
I am using a xp with sp2 cd.

And nope the detachedprogram just does not run even with the
command prompt command option.

Is there any other way to make this work?


edit: When I check out my drive, I do see the directory install with
the command "slideshow.cmd" copy successfully during the text-mode
part of the xp setup.
laza
I'm having the same trouble as you 123321.

;SetupMgrTag
[Data]
MsDosInitiated = "No"
AutoPartition=0
UnattendedInstall="Yes"

[Unattended]
OemPreinstall = "Yes"
UnattendMode=FullUnattended
OemSkipEula=Yes
Repartition=No
FileSystem=NTFS
UnattendSwitch=Yes
TargetPath=\WINDOWS
WaitForReboot=No
KeyboardLayout="US"

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=No
OEMSkipRegional=1
TimeZone=260
OemSkipWelcome=1
DetachedProgram="%systemdrive%\install\slideshow.cmd"

C:\Install\slideshow.cmd is there

winntbbu.dll just cuts in as per normal install.

I cannot think of any thing else to try.
All the other commands in the answer file work fine.

laza
websee
well, if it helps here is my winnt.sif and it does work
CODE
;
; Generated by websee
;

[Data]
    AutoPartition=0
    MsDosInitiated = 0
    UnattendedInstall = Yes
    AutomaticUpdates=no

[Unattended]
    UnattendMode = FullUnattended
    UnattendSwitch = Yes
    OemPreinstall = Yes
    OemSkipEula = Yes
    Repartition=No
    FileSystem = *
    WaitForReboot = No
    TargetPath = "\WINNT"
    DriverSigningPolicy = Ignore
    NonDriverSigningPolicy = Ignore
    Hibernation = No
    KeyboardLayout="German"
     OemPnPDriversPath="Drivers\66.93_win2kxp_english;Drivers\dvb217g;Drivers\logitechmw961enu;Drivers\logitechit215enu;Drivers\hpt3xx"

[SystemFileProtection]
    SFCQuota = 0

[GuiUnattended]
    AdminPassword=""
    AutoLogon = Yes
    DetachedProgram = "%SYSTEMDRIVE%\install\slideshow.cmd"
    TimeZone = 110
    OEMSkipRegional = 1
    OemSkipWelcome = 1

[Display]
    BitsPerPel=32
    Xresolution=1024
    Yresolution=768
    Vrefresh=85

[Networking]
    InstallDefaultComponents=Yes

[Components]
    Deskpaper = off
    Templates = off
    Zonegames = off
    Hearts = off
    Freecell = off
    Games = off
    Minesweeper = off
    solitaire = off
    spider = off
    iis_common = on
    iis_ftp = on
    iis_inetmgr = on
    iis_www = on
    msmsgs=off
    msnexplr=off
    upnp = on
    IAS = on
    OEAccess = off

[UserData]
    FullName="YourName"
    OrgName=""
    ComputerName="MyComputer"
    ProductKey = *

[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
Mode = 0

[Shell]
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Default.theme"

[GuiRunOnce]
Command0=%systemdrive%\install\GuiRunOnce.cmd

[SetupParams]
UserExecute = "%systemdrive%\install\t9setup.cmd"
123321
okay, I'll try your winnt.sif
and see if it works, but your and my are almost exactly the same, except
for the keyboard, timezone, and custom theme layout.


Weird, that yours work any my does not.

While searching on the web for some additional help
by typing "detachedprogram" in Google web search.
A link to the "MSFN" forum section discussing the command
"DetachedProgram": most people have difficulities with "detachedprogram"
Also it does not support "cmd" commands. Only about 2 or 3 people have manage
to make it work while most of the others can not.

Is there something special with your CD?
websee
i do not know, i have a regular windows xp cd that i patched myself to sp2, well actually i now use a dvd, but thats not the point. i never really had problems using detached program, but i install most of my drivers and programs from [setup params] as you can see from my winnt.sif

if you try my winnt.sif, you should delete the [components] part, cuz then you wont have some programs you could be missing later, like paint and games, but u will have instead iis installed. and of couse enter a valid cd-key
welard
Could u edit the code to run a vidio clip in sted of a slideshow?
websee
unfortunately this wont work, because i need to use windows media fpr this and wm is installed later in the setup process.
welard
@websee
ok ty i can not get the slide show to work not sure y
mediapla
i allways use a program under detachdedprograms to install my compressed driver archiv. Is it possible to run a second cmd-file at this time or can i use the start /wait parameter to run the slideshow after the driver installation ?
websee
yes, simply run the slideshow after your driver installation
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.