acen2006 Posted May 25, 2007 Share Posted May 25, 2007 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 FileInstall process started at: 25 May 2007 15:38:02Global 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 FilesList 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:04Example of CMD -cmdow @ /hidif 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 /yXCOPY "%CDROM%\WPI\Install\WinRAR\shortcut\*.*" "%ALLUSERSPROFILE%\Start Menu\Programs\" /i /s /e /r /v /k /f /c /h /yENDAny help would be great. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 25, 2007 Share Posted May 25, 2007 Your getting a double WPI\WPI remove one of these from your commands Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now