Replace RunonceEx to WPI , HELP
#1
Posted 16 November 2005 - 04:06 PM
So, according to this guide : http://unattended.ms...methods/wpi.htm , I have to put all the WPI files under X:\WPI, if I want to install apps from CD/DVD , right?
Till now I had a runonce cmd file with cmdlines.txt included in %OEM% distribution folder.
Now what should I do if I want to replace the normal runonceex with the Windows Post Installer?
And again I want to install the applications from Cd/Dvd.
Do I need the %OEM% distribution folders?
Do I have to add something to winnt.sif???
Thanks Indeed
Regards,
#2
Posted 16 November 2005 - 07:20 PM
Oliii, on Nov 16 2005, 11:06 PM, said:
So, according to this guide : http://unattended.ms...methods/wpi.htm , I have to put all the WPI files under X:\WPI, if I want to install apps from CD/DVD , right?
Till now I had a runonce cmd file with cmdlines.txt included in %OEM% distribution folder.
Now what should I do if I want to replace the normal runonceex with the Windows Post Installer?
And again I want to install the applications from Cd/Dvd.
Do I need the %OEM% distribution folders?
Do I have to add something to winnt.sif???
Thanks Indeed
Regards,
i have write a howto in WPI forum today, read it.
#4
Posted 17 November 2005 - 03:00 PM
Somewhere It is set to "Yes" but not at every apps.
#5
Posted 17 November 2005 - 07:17 PM
#6
Posted 17 November 2005 - 07:58 PM
#7
Posted 18 November 2005 - 01:14 AM
kelsenellenelvian, on Nov 18 2005, 02:58 AM, said:
So no need for it ,right?
But by default at some programs it set to yes.
SolidasRock, on Nov 18 2005, 02:17 AM, said:
Im speaking about the configurations line in the Config menu where I set up which program will be installed and how...
This line is under the Category dropdown box.
Clear??
#8
Posted 18 November 2005 - 01:44 AM
Oliii, on Nov 18 2005, 08:14 AM, said:
i understand now where you talking about, but i am very unsure what your question is? you want to know why a checkbox (of a aplication) stay checked (called forced install)? or why some checkboxes are checked and other dont?
for both questions: RTFM which is included to your WPI.
i think you could better ask to kelsenellenelvian, i think he understand you better then i do...
This post has been edited by SolidasRock: 18 November 2005 - 01:48 AM
#9
Posted 18 November 2005 - 06:31 AM
It is placed under the Category dropdown box.
What can I do with it.??
In the example file at some applications its set to Yes.
#10
Posted 18 November 2005 - 08:43 AM
But its set in the WPI.cmd
#11
Posted 18 November 2005 - 08:49 AM
Oliii, on Nov 18 2005, 01:31 PM, said:
It is placed under the Category dropdown box.
What can I do with it.??
In the example file at some applications its set to Yes.
why dont you read the manual which is included with WPI? listen... you can set multiconfigs, for example, you have 3 sorts pc (PC1=school PC2=home PC3=office). on PC1 you need to install program 1 , 2 , 4 , 7. on PC2 you need to install 1 , 2 , 3 , 4 , 6, 7 on PC3 you need to install 6 and 7. this is not really needed, it is a feature of WPI, to choose 3 (of more) configs.
i have disable the multiconfig by removing all lines with "home, office, school". maybe i will use it in the future. i am kindly new to WPI (i use now 2 weeks)
is it clear for you? please dont ask so much, read the manual which is included in your WPI.
Oliii, on Nov 18 2005, 03:43 PM, said:
But its set in the WPI.cmd
very good question, i noticed the same as you.
This post has been edited by SolidasRock: 18 November 2005 - 08:57 AM
#12
Posted 18 November 2005 - 09:43 AM
Just create a cleanup.cmd as it is written on the unattended mfsn page.
And then just insert into the application list and give it 999 for the position.
And at the end of the setup it will be executed and viola the Pc restarts and delets the icons.
#13
Posted 18 November 2005 - 10:30 AM
Just remove the REM thing which is before the command.
#14
Posted 20 November 2005 - 10:22 PM
Quote
[Data]AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=No
TargetPath=\WINDOWS
[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=4
OemSkipWelcome=1
[UserData]
ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
Fullname="awesome"
Orgname="" ComputerName=*[Display] Xresolution=1024 YResolution=768[TapiLocation] CountryCode=123 Dialing=Tone AreaCode=714[Shell] CustomDefaultThemeFile="%CDROM%\I386\THEME\Plex Style M4.THEME"
[RegionalSettings]
LanguageGroup=1
SystemLocale=00000409
UserLocale=00000409
InputLocale=0409:00000409
[GuiRunOnce]
%CDROM%\WPI\WPI.cmd
[Identification]
JoinWorkgroup=WORKGROUP
[Networking]
InstallDefaultComponents=Yes
[Components]
msmsgs=off
msnexplr=off
zonegames=off
[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall
[WindowsFirewall.TurnOffFirewall]
Mode = 0
my wpi path is %cdrom%\WPI so there r no oem folders.thx if u can help!
#15
Posted 20 November 2005 - 10:41 PM
This post has been edited by SolidasRock: 20 November 2005 - 11:08 PM
#16
Posted 20 November 2005 - 10:54 PM
edit:this is my wpi.cmd and im calling it from the winnt.sif
Quote
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\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=%cdrom%\WPI
REM Hide this command window.
%wpipath%\Tools\cmdow.exe @ /hid
REM Force resolution to needed size for wpi interface.
start %wpipath%\Tools\VideoChanger.exe 1024x768x32@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 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
This post has been edited by EdGaR: 20 November 2005 - 11:01 PM
#17
Posted 20 November 2005 - 11:01 PM
EdGaR, on Nov 21 2005, 05:54 AM, said:
OOPS... i thought you read the wrong howto, i have written another howto to get skinned windows work, and then you really need the $OEM$ folder. i was forgotten runonceex exist too in OEM. so you need them again. my bad...
and it is here 6.00 in the morning, forgive me i sleep a bit...
EDIT:
do if exist %%i:WPI\wpi.ico set CDROM=%%i
must be:
do if exist %%i:\WPI\wpi.ico set CDROM=%%i
that is your mistake i believe...
This post has been edited by SolidasRock: 20 November 2005 - 11:10 PM
#18
Posted 21 November 2005 - 12:10 AM
edit:nope still not recognizing wpi.cmd says
windows cannot find '%CDROM%\WPI\WPI.cmd'. Make sure you typed the name correctly, and then try again. To serch for a file, click the Start button, and then click Search.
edit2:its also not applying my visual style.and yes the uxtheme.dll is patched.
This post has been edited by EdGaR: 21 November 2005 - 01:16 AM
#19
Posted 21 November 2005 - 02:00 AM
This post has been edited by kelsenellenelvian: 21 November 2005 - 02:00 AM



Help
Back to top









