Jump to content

WPI_2.7_Final by the Brain & Gresh


Recommended Posts


Hi bmn

You've got a mistake in WINNT.SIF

[GuiRunOnce]
%cdrom%\install\wpi.cmd
%cdrom%\install\install.cmd
%cdrom%\cleanup.cmd

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

Note: %cdrom% is not a windows environment variable.

you better move your wpi folder over to $OEM$\$1\Install\wpi

and call wpi.hta from wpi.cmd as

start /wait %systemdrive%\install\wpi\wpi.hta

See also the documentation on the WPI homepage,

Link to comment
Share on other sites

thnks for ur reply

i edited it as

GuiRunOnce]

%systemdrive%\install\wpi.cmd

%systemdrive%\install\install.cmd

%systemdrive%\cleanup.cmd

start /wait %systemdrive%\install\wpi\wpi.hta

and placed my softwares in root\$OEM$\$1\Install

and one more doubt is we r not at all mentioned that $OEM$\$1\Install\wpi folder address any where is it gone work?

Link to comment
Share on other sites

thnks for ur reply

i edited it as

GuiRunOnce]%systemdrive%\install\wpi.cmd

%systemdrive%\install\install.cmd

%systemdrive%\cleanup.cmd

start /wait %systemdrive%\install\wpi\wpi.hta

and placed my softwares in root\$OEM$\$1\Install

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

thanks

alex

Link to comment
Share on other sites

1.is my modification of winnt.sif is right?

GuiRunOnce]

%systemdrive%\install\wpi.cmd

%systemdrive%\install\install.cmd

%systemdrive%\cleanup.cmd

start /wait %systemdrive%\install\wpi\wpi.hta

and 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

Link to comment
Share on other sites

ok, so i downloaded 2.9.5

i 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

...............| WPI

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

Link to comment
Share on other sites

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=210

and pls try to post ur winnt.sif and config.js.i just want to check mine with urs as u already tested it.

Link to comment
Share on other sites

@bmn

Your changes to winnt.sif are wrong. I would suggest the following:

Winnt.sif:

[GuiRunOnce]
%systemdrive%\install\install.cmd
%systemdrive%\cleanup.cmd

Install.cmd should contain

start /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 OFF

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

exit

Link to comment
Share on other sites

@a06lp

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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