Hi all,
I working on a conf with WPI, interesting concept....
Well I have an problem when it come to install the app..
I config the path to the app on the cd like: %cdrom%\install\myapp\my.exe
When it com to the part of the installation i got an path like d:\\install\myapp\my.exe
and it fail, "d:\\" dont look right..
/Tjabocom
Page 1 of 1
Install app problem, "\\" in the path ?
#2
Posted 09 January 2006 - 05:21 PM
Change
%cdrom%\install\myapp\my.exe
to
%cdrom%\\install\\myapp\\my.exe
%cdrom%\install\myapp\my.exe
to
%cdrom%\\install\\myapp\\my.exe
#3
Posted 10 January 2006 - 04:03 PM
thanks Glent that you shows interests in my problem...
I still have the problem even that I have tried several ways...
My config.js looks like this..
prog[pn]=['Microsoft Office 2003']
uid[pn]=['msoff2003']
picw[pn]=['128']
pich[pn]=['128']
desc[pn]=['Microsoft Office 2003']
textl[pn]=['Bottom']
texti[pn]=['1']
ordr[pn]=[5]
cmd1[pn]=['%CDROM%\\Install\\Office2003mui\\mui\\pro11.msi']
dflt[pn]=['yes']
configs[pn]=['Office']
cat[pn]=['Office']
pn++
during the installaton the %CDROM% = d:
but it look like this d:\\install\myapp\my.exe I cant understand what the extra \ come from????
Any with an ide..
/Tjabocom
I still have the problem even that I have tried several ways...
My config.js looks like this..
prog[pn]=['Microsoft Office 2003']
uid[pn]=['msoff2003']
picw[pn]=['128']
pich[pn]=['128']
desc[pn]=['Microsoft Office 2003']
textl[pn]=['Bottom']
texti[pn]=['1']
ordr[pn]=[5]
cmd1[pn]=['%CDROM%\\Install\\Office2003mui\\mui\\pro11.msi']
dflt[pn]=['yes']
configs[pn]=['Office']
cat[pn]=['Office']
pn++
during the installaton the %CDROM% = d:
but it look like this d:\\install\myapp\my.exe I cant understand what the extra \ come from????
Any with an ide..
/Tjabocom
#4
Posted 10 January 2006 - 06:05 PM
Let me see your wpi.cmd please I have a theory.
This post has been edited by kelsenellenelvian: 10 January 2006 - 06:05 PM
#5
Posted 12 January 2006 - 05:41 AM
Hi,
my wpi.cmd
@ECHO OFF
REM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\wpi.ico set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%
REM Determine the WPI startup path.
REM if wpi should run off the cd the replace %~dp0 with %cdrom%.
set wpipath=%~dp0
REM Hide this command window.
%wpipath%\Tools\cmdow.exe @ /hid
REM Force resolution to needed size for wpi interface.
start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -q
REM Font installation - the smooth and customizable way.
REM start /wait %wpipath%\Tools\fonts\fontinstaller.exe
REM Special registry tweak needed.
regedit /s "%wpipath%\common\wpi.reg
REM Make WPI directory the current directory.
for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:
cd "%wpipath%"
REM Start WPI and wait for its end
start /wait %windir%\system32\mshta.exe "%CD%\wpi.hta"
REM Cleaning up the desktop.
REM del /s/q "%userprofile%\desktop\*.lnk"
REM Rebooting the sytem to finalize the installation process.
REM shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."
exit
:end
I use the Windows Unattended CD Creator todo my bootcd....
/Tjabocom
my wpi.cmd
@ECHO OFF
REM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.
for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\wpi.ico set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%
REM Determine the WPI startup path.
REM if wpi should run off the cd the replace %~dp0 with %cdrom%.
set wpipath=%~dp0
REM Hide this command window.
%wpipath%\Tools\cmdow.exe @ /hid
REM Force resolution to needed size for wpi interface.
start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -q
REM Font installation - the smooth and customizable way.
REM start /wait %wpipath%\Tools\fonts\fontinstaller.exe
REM Special registry tweak needed.
regedit /s "%wpipath%\common\wpi.reg
REM Make WPI directory the current directory.
for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:
cd "%wpipath%"
REM Start WPI and wait for its end
start /wait %windir%\system32\mshta.exe "%CD%\wpi.hta"
REM Cleaning up the desktop.
REM del /s/q "%userprofile%\desktop\*.lnk"
REM Rebooting the sytem to finalize the installation process.
REM shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."
exit
:end
I use the Windows Unattended CD Creator todo my bootcd....
/Tjabocom
#8
Posted 12 January 2006 - 02:31 PM
Try this.
cmd1[pn]=['%CDROM%Install\\Office2003mui\\mui\\pro11.msi']
cmd1[pn]=['%CDROM%Install\\Office2003mui\\mui\\pro11.msi']
#9
Posted 13 January 2006 - 03:19 PM
It work now, I found that I should have the WPI.ico in the root of the cd...
Thanks for yours interest for my problem....
/Tjabocom
Thanks for yours interest for my problem....
/Tjabocom
Share this topic:
Page 1 of 1



Help
Back to top









