Guest blokeinkent Posted February 11, 2006 Posted February 11, 2006 Hi all,Javascript isn't my strong point I'm afraid I have several things pre and post WPI, going on in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx so when WPI does it's bit in generate.js, the list looks out of order.Is there any way of controlling the numbering (highlighted below) during the generate.js script so that the scripts output makes things neat and tidy with the other entries instead of overwriting and the lowest numbering? Say, over 005 so the items WPI is installing fall into placeCut down excerpt:REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx /V TITLE /D "Unattended XP SP2 Install" /fREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001 /VE /D "Windows Updates..." /fREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001 /V 1 /D "%CDROM%\WPI\Install\Updates\dotnet11sp1.exe" /fREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\005 /VE /D "Post-Install Wizard" /fREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\005 /V 5 /D "%CDROM%\WPI\WPI.CMD" /fREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\099 /VE /D "Cleanup..." /fREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\099 /V 5 /D "%CDROM%\WPI\Install\BTS_DPs_finish.cmd" /fREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\099 /V 10 /D "%CDROM%\WPI\Install\cleanup.cmd" /fI hope that makes sense to those in the know Cheers
lawrenca Posted February 12, 2006 Posted February 12, 2006 blokeinkent,Take a look at WPI 4.4rc1, downloadable at this link:http://www.msfn.org/board/index.php?s=&sho...ndpost&p=461922Does not use RunOnceEx for install...writes .ini file then calls kTool.exe for install, maybe will fix problem?
Guest blokeinkent Posted February 12, 2006 Posted February 12, 2006 Thanks mate, I'll give it a look. In the meantime, if anyone has any info on how to do it using the latest stable release it would be much appreciatedCheers
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