Jump to content

Setup Slideshow


Recommended Posts

they can be put anywhere on the cd. thats why you have to put the path to slideshow.hta into slideshow.cmd

start %CDROM%%PATHTOSLIDESHOW%slideshow.hta

you simply replace this with your path e.g.

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:

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

Link to comment
Share on other sites


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...

);

.

-Then I edit slideshow.cmd and the code for that is:

start %CDROM%\slideshow\slideshow.hta

-Inside the Winnt.sif file, I imput the code under [guiunattend]:

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:

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

 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:

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

Link to comment
Share on other sites

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.

- 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

-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?

-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

Link to comment
Share on other sites

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

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"

);

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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

;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. :D

Link to comment
Share on other sites

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? :lol:

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

;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! B)

Link to comment
Share on other sites

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::realmad:

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 :D

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Edited by 123321
Link to comment
Share on other sites

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

Link to comment
Share on other sites

well, if it helps here is my winnt.sif and it does work

;
; 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"

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...