a06lp Posted December 9, 2004 Posted December 9, 2004 whats the difference betwen what i posted and what you posted?(and how do i test this file??)edit: this is what i'm using now: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\WIN51 set CDROM=%%iSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Windows Post-Install Wizard" /fREG ADD %KEY%\001 /VE /D "Preparing Windows Post-Install Wizard..." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\WPI\WPI.hta" /fEXIT
BritishBulldog Posted December 9, 2004 Posted December 9, 2004 Hiyours has this in it mine does not, see red REG ADD %KEY%\001 /V 1 /D "%CDROM%\WPI\WPI.hta" /fI dont know if it works like that but i can check. have just checked and yours does also work so there is no difference. I check the registry at HKey_Local_Machine\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001and just see what the contents are, see below, if the syntax looks ok then it more than often is good to go. but dont forget to delete this entry otherwise with a new start it will start installing
BritishBulldog Posted December 9, 2004 Posted December 9, 2004 that mean no need of adding [GuiRunOnce]to winnt.sif and install.cmd which calls wpi.htaonly just seen your post, no in the winnt.sif you dont need a callup to wpi.hta any more
a06lp Posted December 9, 2004 Posted December 9, 2004 just checked and yours does also work so there is no difference.ok, thanks a lot!!
bmn Posted December 10, 2004 Posted December 10, 2004 what we have to change in config.js if we want to make a particular item hidden in the list and which is selected by default.imean that item shld not be in the display window and it will install silently.
BritishBulldog Posted December 10, 2004 Posted December 10, 2004 not sure if you can have the item hidden but this will install it wether it is checked or notvar forc=['yes'] // Force installation of application even if not Checked
bmn Posted December 12, 2004 Posted December 12, 2004 ref:-http://www.msfn.org/board/index.php?showtopic=28188this thread is abt installing open office which is in compressed format unattendly.but there r 2 steps in this process.one is software other is response.txt.i want to use it with wpi.how to combine them. imean how to use exe file and response.txt in wpi.there they r using RunonceEX.cmd method.i want wpi methodhelp pls
batman75 Posted December 12, 2004 Posted December 12, 2004 This is great utility that I have been playing with since its creation.Thx to all for keeping it around.
aciu Posted December 13, 2004 Posted December 13, 2004 if i'm using wpi with the %systemdrive% variable, instalation goes perfectly.but if i want to use it later, from cd only, it won't work... i tried :cmdow @ /HID@echo offFOR %%d IN (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 %%d\CD.TXT SET CDROM=%%dSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\install\wpi\WPI.hta" /fif the cdrom it s not the first cddrive in my pc, wont' workcould anyone explain the cmdline to use with diskpath='root' ???tried:cmd1[pn]=['\\Install\\install\\winrar\\setup.exe -s']cmd1[pn]=['root','\\Install\\install\\winrar\\setup.exe -s']cmd1[pn]=['%root%\\Install\\install\\winrar\\setup.exe -s']cmd1[pn]=['','\\Install\\install\\winrar\\setup.exe -s']not working10x
a06lp Posted December 13, 2004 Posted December 13, 2004 Ok, I just finished my Real-World test of the WPI loading scheme we were discussing above. It works great, with one major problem:Once I select the programs I want to install from WPI, and then click Install, the RunOnceEx window pops up, and on the list, along with the programs I selected, is "Preparing Windows Post-Install Wizard...".I don't know why it is on that list, as it should have been finished already (after all, WPI loaded!)How do I remove it from the list? (And no, I don't call WPI from anywhere else besides the files listed below)Here's my files:[COMMANDS]"REGEDIT /S ..\Tweaks\RegTweaks.reg""..\WPI\WPI.cmd"cmdow @ /HID@ECHO OFFfor %%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\WIN51 set CDROM=%%iSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Windows Post-Install Wizard" /fREG ADD %KEY%\001 /VE /D "Preparing Windows Post-Install Wizard..." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\WPI\WPI.hta" /fEXIT
bonedaddy Posted December 13, 2004 Posted December 13, 2004 Not a big deal just rem it out............. cmdow @ /HID@echo offFOR %%d IN (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 %%d\CD.TXT SET CDROM=%%dSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREM REG ADD %KEY%\001 /VE /D "just rem me out..." /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\software\wpi\WPI.hta" /fEXIT
bmn Posted December 14, 2004 Posted December 14, 2004 help:-http://www.msfn.org/board/index.php?showtopic=28125&view=findpost&p=233501and if i want to task kill an application after installation(like adaware,yahoo messenger).where and what to add config.js
Astalavista Posted December 14, 2004 Posted December 14, 2004 can someone pls post their work here so i can view it thanks
bonedaddy Posted December 14, 2004 Posted December 14, 2004 @ Astahey dude it's very simple, worked first time for me, and I don'tno siht...............
Recommended Posts