MSFN Forum: Replace RunonceEx to WPI , HELP - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Replace RunonceEx to WPI , HELP Rate Topic: -----

#1 User is offline   Oliii 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 12-November 05

  Posted 16 November 2005 - 04:06 PM

Hello , could you please help me replacing runonceex to WPI??

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 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 16 November 2005 - 07:20 PM

View PostOliii, on Nov 16 2005, 11:06 PM, said:

Hello , could you please help me replacing runonceex to WPI??

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

#3 User is offline   Oliii 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 12-November 05

Posted 17 November 2005 - 11:46 AM

Thank YOU very much.
Its much easier now.
THANKS

#4 User is offline   Oliii 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 12-November 05

Posted 17 November 2005 - 03:00 PM

One more question , what is Configurations line under the Config menu...
Somewhere It is set to "Yes" but not at every apps.

#5 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 17 November 2005 - 07:17 PM

View PostOliii, on Nov 17 2005, 10:00 PM, said:

One more question , what is Configurations line under the Config menu...
Somewhere It is set to "Yes" but not at every apps.

I dont understand you...

#6 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,653
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 November 2005 - 07:58 PM

That is just a side effect of the multi configs opition.

#7 User is offline   Oliii 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 12-November 05

Posted 18 November 2005 - 01:14 AM

View Postkelsenellenelvian, on Nov 18 2005, 02:58 AM, said:

That is just a side effect of the multi configs opition.

So no need for it ,right?
But by default at some programs it set to yes.


View PostSolidasRock, on Nov 18 2005, 02:17 AM, said:

View PostOliii, on Nov 17 2005, 10:00 PM, said:

One more question , what is Configurations line under the Config menu...
Somewhere It is set to "Yes" but not at every apps.

I dont understand you...

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 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 18 November 2005 - 01:44 AM

View PostOliii, on Nov 18 2005, 08:14 AM, said:

View PostSolidasRock, on Nov 18 2005, 02:17 AM, said:

View PostOliii, on Nov 17 2005, 10:00 PM, said:

One more question , what is Configurations line under the Config menu...
Somewhere It is set to "Yes" but not at every apps.

I dont understand you...

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

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 User is offline   Oliii 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 12-November 05

Posted 18 November 2005 - 06:31 AM

What is Configurations line (array/row/string I dont know more word for it) for?
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 User is offline   Oliii 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 12-November 05

Posted 18 November 2005 - 08:43 AM

Another thing, why the WPI after installing programs doesnt delete the icons and doesnt reboot the machine?
But its set in the WPI.cmd

#11 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 18 November 2005 - 08:49 AM

View PostOliii, on Nov 18 2005, 01:31 PM, said:

What is Configurations line (array/row/string I dont know more word for it) for?
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.

View PostOliii, on Nov 18 2005, 03:43 PM, said:

Another thing, why the WPI after installing programs doesnt delete the icons and doesnt reboot the machine?
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 User is offline   Oliii 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 12-November 05

Posted 18 November 2005 - 09:43 AM

Ive found a solution that might work.
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 User is offline   Oliii 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 12-November 05

Posted 18 November 2005 - 10:30 AM

I know now why it doesnt do anything.
Just remove the REM thing which is before the command.

#14 User is offline   EdGaR 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 26-March 05

Posted 20 November 2005 - 10:22 PM

bak to Oliii first post do u really need oem folders?im trying to do this without them and just have winnt.sif call the wpi.cmd at the very end but it is not working.says it couldnt find it.any suggestions plz help.what files should i post so that u guys could help.heres my winnt.sif

Quote

;SetupMgrTag
[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 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 20 November 2005 - 10:41 PM

OOPS.... removed the wrong information :blushing:

This post has been edited by SolidasRock: 20 November 2005 - 11:08 PM


#16 User is offline   EdGaR 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 26-March 05

Posted 20 November 2005 - 10:54 PM

i said NO OEM folders. your guide clearly states using OEM folders.if you need me to type this more simpler then ask because i can see that your english isn't your first language.thanks for trying to help at least.i have been seeing you in a lot of forums helping alot of people and we all thank you for that.


edit:this is my wpi.cmd and im calling it from the winnt.sif

Quote

@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\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 User is offline   Solid as a rock 

  • So solid as a rock is
  • PipPipPipPipPip
  • Group: Members
  • Posts: 718
  • Joined: 30-May 04

Posted 20 November 2005 - 11:01 PM

View PostEdGaR, on Nov 21 2005, 05:54 AM, said:

i said NO OEM folders. your guide clearly states using OEM folders.


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

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 User is offline   EdGaR 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 26-March 05

Posted 21 November 2005 - 12:10 AM

will try ill edit when im done testing it.

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 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,653
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 November 2005 - 02:00 AM

This is a problem most of us have fixed by putting the wpi.cmd in our system 32 folder by the means of $oem$ folders because in has been known that winnt.sif has a hard time calling programs on a cd.

This post has been edited by kelsenellenelvian: 21 November 2005 - 02:00 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy