Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Setup Slideshow

- - - - -

  • Please log in to reply
87 replies to this topic

#26
Siginet

Siginet

    Windows XP PowerPacker Creator

  • Member
  • PipPipPipPipPip
  • 739 posts
  • Joined 22-January 05
Works like a charm. :) Thanks a lot!

Posted Image
For those of you interested in my next software venture you can check it out here:
www.ITTechware.com



How to remove advertisement from MSFN

#27
nodor

nodor
  • Member
  • 4 posts
  • Joined 30-September 03
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

#28
websee

websee

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 25-September 04
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
,
after the last entry. make sure you have a
);
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

#29
nodor

nodor
  • Member
  • 4 posts
  • Joined 30-September 03
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=-

#30
123321

123321

    Newbie

  • Member
  • 28 posts
  • Joined 27-February 05
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!

#31
websee

websee

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 25-September 04
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

#32
123321

123321

    Newbie

  • Member
  • 28 posts
  • Joined 27-February 05
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


#33
websee

websee

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 25-September 04
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

#34
123321

123321

    Newbie

  • Member
  • 28 posts
  • Joined 27-February 05
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"

);


#35
websee

websee

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 25-September 04
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

#36
123321

123321

    Newbie

  • Member
  • 28 posts
  • Joined 27-February 05
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

#37
websee

websee

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 25-September 04
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.

#38
123321

123321

    Newbie

  • Member
  • 28 posts
  • Joined 27-February 05

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.

<{POST_SNAPBACK}>



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)

#39
123321

123321

    Newbie

  • Member
  • 28 posts
  • Joined 27-February 05
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

#40
websee

websee

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 25-September 04
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?

#41
123321

123321

    Newbie

  • Member
  • 28 posts
  • Joined 27-February 05
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, 07 June 2005 - 04:35 PM.


#42
laza

laza
  • Member
  • 4 posts
  • Joined 07-March 05
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

#43
websee

websee

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 25-September 04
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"


#44
123321

123321

    Newbie

  • Member
  • 28 posts
  • Joined 27-February 05
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?

#45
websee

websee

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 25-September 04
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

#46
welard

welard

    Newbie

  • Member
  • 19 posts
  • Joined 15-October 04
Could u edit the code to run a vidio clip in sted of a slideshow?

#47
websee

websee

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 25-September 04
unfortunately this wont work, because i need to use windows media fpr this and wm is installed later in the setup process.

#48
welard

welard

    Newbie

  • Member
  • 19 posts
  • Joined 15-October 04
@websee
ok ty i can not get the slide show to work not sure y

#49
mediapla

mediapla

    Junior

  • Member
  • Pip
  • 76 posts
  • Joined 08-November 04
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 ?

#50
websee

websee

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 25-September 04
yes, simply run the slideshow after your driver installation




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN