bmn Posted October 31, 2004 Posted October 31, 2004 following r my config.js and winnt.sif pls have a look and let me know if theres any mistakehttp://m.domaindlx.com/fever16/config.jshttp://m.domaindlx.com/fever16/WINNT.SIFand i placed my softwares in root/install folderand wpi in root/install/wpipls reply methanks
hasi001 Posted October 31, 2004 Posted October 31, 2004 Hi bmnYou've got a mistake in WINNT.SIF[GuiRunOnce]%cdrom%\install\wpi.cmd%cdrom%\install\install.cmd%cdrom%\cleanup.cmdYou can't use %cdrom% there.put the .cmd Files in $OEM$\$1\Install and call them as[GuiRunOnce]%systemdrive%\install\wpi.cmd%systemdrive%\install\install.cmd%systemdrive%\cleanup.cmdNote: %cdrom% is not a windows environment variable.you better move your wpi folder over to $OEM$\$1\Install\wpiand call wpi.hta from wpi.cmd asstart /wait %systemdrive%\install\wpi\wpi.htaSee also the documentation on the WPI homepage,
bmn Posted October 31, 2004 Posted October 31, 2004 thnks for ur replyi edited it asGuiRunOnce]%systemdrive%\install\wpi.cmd%systemdrive%\install\install.cmd%systemdrive%\cleanup.cmdstart /wait %systemdrive%\install\wpi\wpi.htaand placed my softwares in root\$OEM$\$1\Installand one more doubt is we r not at all mentioned that $OEM$\$1\Install\wpi folder address any where is it gone work?
Guest tonytony Posted October 31, 2004 Posted October 31, 2004 Hi! Please let me know where to download :-) Thanks
alan9456 Posted November 1, 2004 Posted November 1, 2004 Dowload at the homepage.Downloading doesn't work.I can not download it.
hasi001 Posted November 1, 2004 Posted November 1, 2004 Sorry. Killed the link. Download works again.
bmn Posted November 1, 2004 Posted November 1, 2004 hey waiting for ur replies(abt above topic)pls help me
Rodent Posted November 1, 2004 Posted November 1, 2004 thnks for ur replyi edited it asGuiRunOnce]%systemdrive%\install\wpi.cmd%systemdrive%\install\install.cmd%systemdrive%\cleanup.cmdstart /wait %systemdrive%\install\wpi\wpi.htaand placed my softwares in root\$OEM$\$1\Installand one more doubt is we r not at all mentioned that $OEM$\$1\Install\wpi folder address any where is it gone work?sorry, i cant decrypt your message,could you please explain again, what your problem ist?thanksalex
bmn Posted November 1, 2004 Posted November 1, 2004 1.is my modification of winnt.sif is right?GuiRunOnce]%systemdrive%\install\wpi.cmd%systemdrive%\install\install.cmd%systemdrive%\cleanup.cmdstart /wait %systemdrive%\install\wpi\wpi.htaand placed my softwares in root\$OEM$\$1\Install------------------------------------------------------------------------------2.in winnt.sif or any where we r not giving that $OEM$\$1\Install\wpi address. imean path.so i want to know is it work? how the setup can detect it
a06lp Posted November 2, 2004 Posted November 2, 2004 ok, so i downloaded 2.9.5i am trying to move all my files to run from CD (instead of waiting for everything to be copied over to HDD).Here's my basic setup:C:\XPCD.....| i386.....| Applications.....| $OEM$..........| Install...............| WPIHowever, I cannot test my installers anymore. I thought I read (in this thread somewhere) that this setup would work, and WPI would install the apps from "XPCD" dir as if the whole "XPCD" dir was the root of the CD???What's wrong?The error message I always get is "Windows cannot find D:\...."But why is it looking in D:\ (my CD-Rom drive)??? I thought it is supposed to look WHEREVER wpi is?
a06lp Posted November 2, 2004 Posted November 2, 2004 hmm...I think I solved the problem by changing all of my:cmd1[pn]=['cdrom','Applications\\...']tocmd1[pn]=['%cdrom%\\Applications\\...']Interesting.
bmn Posted November 2, 2004 Posted November 2, 2004 so is it working now? bcz hasi001 said that installing directly from cd is not possiblle have a look at this--http://www.msfn.org/board/index.php?showtopic=28125&st=210and pls try to post ur winnt.sif and config.js.i just want to check mine with urs as u already tested it.
hasi001 Posted November 2, 2004 Posted November 2, 2004 @bmnYour changes to winnt.sif are wrong. I would suggest the following:Winnt.sif:[GuiRunOnce]%systemdrive%\install\install.cmd%systemdrive%\cleanup.cmdInstall.cmd should containstart /wait %systemdrive%\install\wpi\wpi.hta... so you do not need to call WPI from wpi.cmd if you call it from install.cmd. There's no need for wpi.cmd anymore.Btw. I didn't say, that installing directly from CD wouldn't work. Of course you could search for the install-cd drive letter in the install.cmd script and run wpi from cd.example install.cmd (calls wpi and cleanup):@ECHO OFFIF EXIST D:\WIN51 set CDROM=D:IF EXIST E:\WIN51 set CDROM=E:IF EXIST F:\WIN51 set CDROM=F:IF EXIST G:\WIN51 set CDROM=G:IF EXIST H:\WIN51 set CDROM=H:IF EXIST I:\WIN51 set CDROM=I:IF EXIST J:\WIN51 set CDROM=J:start /wait %CDROM%\install\WPI\WPI.HTA%CDROM%\install\cleanup.cmdexit
hasi001 Posted November 2, 2004 Posted November 2, 2004 @a06lpYes, there's 2 ways to set a program's command-line.1st has 2 paramters (e.g.['cdrom','path\\prog'],2nd only 1 parameter ['%cdrom%\\path\\prog']Both call the same prog, but only the 2nd (new style) works with my extensions. So you better change your config.js to the new style. The old style is just for compatibility for <=2.7 versions. I'll remove that type of commands in one of the next versions.
Recommended Posts