MCT Posted November 10, 2008 Posted November 10, 2008 (edited) k, so I'm fairly new to WPI, but i get it to run by adding it to Setupcomplete.cmd but it seems half my programs are failing to install properly under thisbut if i run WPI AFTER im logged in it works fine, any way to get around this?how do i add programs to runonce in vista? is it in the WAIK?EDIT: this is in vista, testing on vmware Edited November 10, 2008 by MCT
Kelsenellenelvian Posted November 10, 2008 Posted November 10, 2008 I will whip something up with a inf file in a little bit. Check back tonight.Remember though UAC will kick your butt! Hmmmmmmmmmmm maybe I can do something about that too.
mritter Posted November 11, 2008 Posted November 11, 2008 If there is a way to turn UAC off with a reg key, make it the first command WPI runs. Change reg keys, reboot, continue with installation.
Kelsenellenelvian Posted November 11, 2008 Posted November 11, 2008 I was actually going to try to turn it off during setupcomplete.cmd and see if it would count it.Not near my big PC though yet.
MCT Posted November 17, 2008 Author Posted November 17, 2008 bump if u can give me an idea of what your talking about Kelsenellenelvian i can probly do it, but im not too familiar with vista yet, still toying with it.My XP CD is way customized, its hard trying to get everything redone for an OS, ive been fairly busy myself, so take yourtime
Kelsenellenelvian Posted November 19, 2008 Posted November 19, 2008 [Version]Signature="$CHICAGO$"[DefaultInstall]AddReg=Run.AddReg[Run.AddReg]HKLM,"%RUN%","%WPI%",,"RunDll32 advpack.dll,LaunchINFSection ""%01%\%INF%"",Execute"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System","EnableLUA",0x10001,00,00,00,00HKCU,"Software\Microsoft\Internet Explorer\Main","Disable Script Debugger",0x0,"no"HKCU,"Software\Microsoft\Internet Explorer\Main","DisableScriptDebuggerIE",0x0,"no"[Execute]RunPreSetupCommands=Launch.WPI:1DelReg =Run.DelReg[Launch.WPI]CMD /Q /C CD /D """%01%\..\WPI""" & START /WAIT /B WPI.hta[Run.DelReg]HKLM,"%RUN%","%WPI%"[Strings]RUN="SOFTWARE\Microsoft\Windows\CurrentVersion\RUN"WPI="Windows Post Install"INF="RunWPI.inf"I am trying to get this inf to be called via setupcomplete.cmdSo far no such luck. It does run fine and the inf code is right. I just can't get the .cmd file to cal it right. (YET)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now