Jump to content

Install Error with Portable App


Recommended Posts

Im trying to install a few portable applications from WPI. I have made my CMD files into EXEs with quick batch file compiler and I use this line in WPI - (%CDROM%\WPI\Exe\WinRAR.exe) to install.

But in the install list they just get red crosses next to them but if I was to double click on for example WinRAR.exe it will install fine.

Install Log -

WPI Installation Log File

Install process started at: 25 May 2007 15:38:02

Global variables:

%OSLANG%=ENU

%WPIPATH%=D:\WPI

%ROOT%=D:\

%CDROM%=D:\WPI

%DOSPATH%=

%SYSTEMDRIVE%=C:

%WINDIR%=C:\WINDOWS

%PROGRAMFILES%=C:\Program Files

%TEMP%=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp

%SYSDIR%=C:\WINDOWS\system32

%ALLUSERSPROFILE%=C:\Documents and Settings\All Users

%USERPROFILE%=C:\Documents and Settings\Administrator

%APPDATA%=C:\Documents and Settings\Administrator\Application Data

%COMMONPROGRAMFILES%=C:\Program Files\Common Files

List of programs to be installed:

WinRAR

--- New ---

-----

25 May 2007 15:38:03

Program: WinRAR

UID: WINRAR

Order: 000005

Category: Applications

25 May 2007 15:38:03

cmd1 *** Fail *** (returned code undefined): "D:\WPI\WPI\Exe\WinRAR.exe"

25 May 2007 15:38:03

Finished installation.

-----

Install process finished at: 25 May 2007 15:38:04

Example of CMD -

cmdow @ /hid

if exist d:\WPI set cdrom=d:

if exist e:\WPI set cdrom=e:

if exist f:\WPI set cdrom=f:

if exist g:\WPI set cdrom=g:

if exist h:\WPI set cdrom=h:

if exist i:\WPI set cdrom=i:

if exist j:\WPI set cdrom=j:

if exist k:\WPI set cdrom=k:

if exist l:\WPI set cdrom=l:

if exist m:\WPI set cdrom=m:

if exist n:\WPI set cdrom=n:

if exist o:\WPI set cdrom=o:

if exist p:\WPI set cdrom=p:

if exist q:\WPI set cdrom=q:

if exist r:\WPI set cdrom=r:

if exist s:\WPI set cdrom=s:

if exist t:\WPI set cdrom=t:

if exist u:\WPI set cdrom=u:

if exist v:\WPI set cdrom=v:

if exist w:\WPI set cdrom=w:

if exist x:\WPI set cdrom=x:

if exist y:\WPI set cdrom=y:

if exist z:\WPI set cdrom=z:

XCOPY "%CDROM%\WPI\Install\WinRAR\program\*.*" "%PROGRAMFILES%\[WinRAR]" /i /s /e /r /v /f /c /h /y

XCOPY "%CDROM%\WPI\Install\WinRAR\shortcut\*.*" "%ALLUSERSPROFILE%\Start Menu\Programs\" /i /s /e /r /v /k /f /c /h /y

END

Any help would be great.

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